HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Base class for a simulation. More...
#include <simulation.h>
Public Member Functions | |
Simulation () | |
virtual | ~Simulation () |
virtual int | define (int, int)=0 |
virtual int | ReadInputs ()=0 |
virtual int | Initialize ()=0 |
virtual int | InitialSolution ()=0 |
virtual int | InitializeBoundaries ()=0 |
virtual int | InitializeImmersedBoundaries ()=0 |
virtual int | InitializePhysics ()=0 |
virtual int | InitializePhysicsData ()=0 |
virtual int | InitializeSolvers ()=0 |
virtual int | InitializationWrapup () |
virtual int | Solve ()=0 |
virtual void | WriteErrors (double, double)=0 |
virtual bool | isDefined () const =0 |
virtual int | mpiCommDup ()=0 |
virtual void | usePetscTS (PetscBool)=0 |
virtual int | SolvePETSc ()=0 |
Base class for a simulation.
Base class for a simulation This is a purely virtual base class describing a simulation.
This is a purely virtual base class describing a simulation.
Definition at line 46 of file simulation.h.
|
inline |
|
inlinevirtual |
|
pure virtual |
Define function
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Read solver inputs
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Initialize the simulations
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Read initial solution for each simulation
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Initialize the boundary conditions of the simulations
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Initialize the immersed boundary conditions of the simulations
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Initialize the physics of the simulations
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Initialize the physics data of the simulations
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Initialize the numerical solvers of the simulations
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
inlinevirtual |
Wrap up initializations
Reimplemented in SparseGridsSimulation.
Definition at line 83 of file simulation.h.
|
pure virtual |
Run the simulation using native time integrators
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Write simulation errors and wall times to file
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Function to indicate if object is defined
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Duplicate MPI communicators
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Set flag whether to use PETSc time integration
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.
|
pure virtual |
Run the simulation using PETSc time integrators
Implemented in SparseGridsSimulation, EnsembleSimulation, and SingleSimulation.