17 int main(
int argc,
char **argv)
void readInputs(int argc, char **argv, parameterDB &DB, domain &D)
Reads data inputs from the command-line and the simulation files.
bool finished()
Evaluates the condition required to stop the simulation.
Definition of custom types required by the code.
Declaration of the function that creates the Navier-Stokes solver.
void stepTime()
Calculates the variables at the next time step.
Declaration of the functions of the namespace io.
std::map< std::string, componentParameter > parameterDB
Map from a string to a componentParameter.
virtual void shutDown()
Prints timing information and closes the different files.
Stores information about the computational grid.
int main(int argc, char **argv)
Main function.
virtual void writeData()
Writes data into files.
void printSimulationInfo(parameterDB &DB, domain &D)
Prints the parameters of the simulation.
void printDeviceMemoryUsage(std::string label)
Prints device memory usage.
Definition of the class domain.
Declaration of the discrete delta function.
Solves the Navier-Stokes equations in a rectangular domain.
virtual void initialise()
Initializes parameters, arrays and matrices required for the simulation.