AQUAgpusph 5.0.4
Loading...
Searching...
No Matches
main.cpp File Reference

The AQUAgpusph starting point, also known as the host. (See main(int argc, char *argv[]) for details) More...

#include "sphPrerequisites.hpp"
#include <iostream>
#include <sstream>
#include <Python.h>
#include "InputOutput/Logger.hpp"
#include "ArgumentsManager.hpp"
#include "FileManager.hpp"
#include "ProblemSetup.hpp"
#include "CalcServer/CalcServer.hpp"
#include "TimeManager.hpp"
Include dependency graph for main.cpp:

Namespaces

namespace  Aqua
 Main AQUAgpusph namespace.

Functions

int main (int argc, char *argv[])

Detailed Description

The AQUAgpusph starting point, also known as the host. (See main(int argc, char *argv[]) for details)

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Aquagpusph starting point.

This method is associated with the host, i.e. The CPU process that controls the simulation:

  1. Parsing the runtime input options and the input files (see Aqua::InputOutput::ArgumentsManager and Aqua::InputOutput::FileManager).
  2. Setting up the simulation (see Aqua::InputOutput::ProblemSetup).
  3. Controlling the simulation time events (see Aqua::InputOutput::TimeManager).

The host is also responsible to create the calculation server (see Aqua::CalcServer::CalcServer).

Parameters
argcNumber of arguments parsed by terminal.
argvArray of arguments parsed by terminal.
Here is the call graph for this function: