LifeV
|
#include <NavierStokesSolver.hpp>
Public Types | |
typedef std::shared_ptr< NavierStokesProblem< Mesh > > | NSProblemPtr_Type |
typedef MatrixEpetra< Real > | matrix_Type |
typedef std::shared_ptr< matrix_Type > | matrixPtr_Type |
typedef VectorEpetra | vector_Type |
typedef std::shared_ptr< VectorEpetra > | vectorPtr_Type |
typedef MapEpetra | map_Type |
typedef std::shared_ptr< map_Type > | mapPtr_Type |
typedef std::shared_ptr< Mesh > | meshPtr_Type |
typedef FESpace< Mesh, map_Type > | fespace_Type |
typedef std::shared_ptr< fespace_Type > | fespacePtr_Type |
typedef BCHandler | bcContainer_Type |
typedef std::shared_ptr< bcContainer_Type > | bcContainerPtr_Type |
typedef Epetra_Comm | comm_Type |
typedef std::shared_ptr< comm_Type > | commPtr_Type |
typedef OseenAssembler< Mesh, matrix_Type, vector_Type > | assembler_Type |
typedef std::shared_ptr< assembler_Type > | assemblerPtr_Type |
typedef TimeAdvanceBDF< vector_Type > | bdf_Type |
typedef std::shared_ptr< bdf_Type > | bdfPtr_Type |
Private Member Functions | |
Displayer | displayer () |
meshPtr_Type | mesh () const |
commPtr_Type | comm () |
bdfPtr_Type | bdf () const |
Constructors, destructor | |
NavierStokesSolver (commPtr_Type comm=commPtr_Type(new Epetra_MpiComm(MPI_COMM_WORLD))) | |
~NavierStokesSolver () | |
Methods | |
void | printErrors () |
Prints the error of the finite element solution vector. More... | |
void | setup (Teuchos::ParameterList &list) |
Setup all the parameters. More... | |
void | init () |
Computes an initial solutions, or several solutions, if needed. More... | |
void | solve () |
Solves the Navier-Stokes equations. More... | |
Set Methods | |
void | setProblem (NSProblemPtr_Type nsProblem) |
Setup the problem to be solved. More... | |
Get Methods | |
NSProblemPtr_Type | problem () const |
Returns the type of problem (e.g. Navier-Stokes) More... | |
bcContainerPtr_Type | bcHandler () const |
fespacePtr_Type | uFESpace () const |
Returns the FE space for the velocity. More... | |
fespacePtr_Type | pFESpace () const |
Returns the FE space for the pressure. More... | |
Real | initialTime () const |
Returns the initial time. More... | |
Real | endTime () const |
Returns the end time. More... | |
Real | timestep () const |
Returns the timestep. More... | |
Real | currentTime () const |
Returns the current time. More... | |
Definition at line 76 of file NavierStokesSolver.hpp.
typedef std::shared_ptr< NavierStokesProblem<Mesh> > NSProblemPtr_Type |
Definition at line 81 of file NavierStokesSolver.hpp.
typedef MatrixEpetra<Real> matrix_Type |
Definition at line 82 of file NavierStokesSolver.hpp.
typedef std::shared_ptr<matrix_Type> matrixPtr_Type |
Definition at line 83 of file NavierStokesSolver.hpp.
typedef VectorEpetra vector_Type |
Definition at line 84 of file NavierStokesSolver.hpp.
typedef std::shared_ptr<VectorEpetra> vectorPtr_Type |
Definition at line 85 of file NavierStokesSolver.hpp.
Definition at line 86 of file NavierStokesSolver.hpp.
typedef std::shared_ptr<map_Type> mapPtr_Type |
Definition at line 87 of file NavierStokesSolver.hpp.
typedef std::shared_ptr<Mesh> meshPtr_Type |
Definition at line 88 of file NavierStokesSolver.hpp.
typedef FESpace< Mesh, map_Type > fespace_Type |
Definition at line 89 of file NavierStokesSolver.hpp.
typedef std::shared_ptr< fespace_Type > fespacePtr_Type |
Definition at line 90 of file NavierStokesSolver.hpp.
typedef BCHandler bcContainer_Type |
Definition at line 91 of file NavierStokesSolver.hpp.
typedef std::shared_ptr<bcContainer_Type> bcContainerPtr_Type |
Definition at line 92 of file NavierStokesSolver.hpp.
typedef Epetra_Comm comm_Type |
Definition at line 95 of file NavierStokesSolver.hpp.
typedef std::shared_ptr<comm_Type> commPtr_Type |
Definition at line 96 of file NavierStokesSolver.hpp.
typedef OseenAssembler< Mesh, matrix_Type, vector_Type > assembler_Type |
Definition at line 97 of file NavierStokesSolver.hpp.
typedef std::shared_ptr< assembler_Type > assemblerPtr_Type |
Definition at line 98 of file NavierStokesSolver.hpp.
typedef TimeAdvanceBDF<vector_Type> bdf_Type |
Definition at line 99 of file NavierStokesSolver.hpp.
typedef std::shared_ptr< bdf_Type > bdfPtr_Type |
Definition at line 100 of file NavierStokesSolver.hpp.
NavierStokesSolver | ( | commPtr_Type | comm = commPtr_Type ( new Epetra_MpiComm ( MPI_COMM_WORLD ) ) | ) |
Definition at line 218 of file NavierStokesSolver.hpp.
~NavierStokesSolver | ( | ) |
Definition at line 225 of file NavierStokesSolver.hpp.
void printErrors | ( | ) |
Prints the error of the finite element solution vector.
Definition at line 232 of file NavierStokesSolver.hpp.
void setup | ( | Teuchos::ParameterList & | list | ) |
Setup all the parameters.
Definition at line 261 of file NavierStokesSolver.hpp.
void init | ( | ) |
Computes an initial solutions, or several solutions, if needed.
Definition at line 360 of file NavierStokesSolver.hpp.
void solve | ( | ) |
Solves the Navier-Stokes equations.
Definition at line 379 of file NavierStokesSolver.hpp.
void setProblem | ( | NSProblemPtr_Type | nsProblem | ) |
Setup the problem to be solved.
Definition at line 254 of file NavierStokesSolver.hpp.
NavierStokesSolver< Mesh, InitPolicy, TimeIterationPolicy, ExporterPolicy >::NSProblemPtr_Type problem | ( | ) | const |
Returns the type of problem (e.g. Navier-Stokes)
Definition at line 434 of file NavierStokesSolver.hpp.
NavierStokesSolver< Mesh, InitPolicy, TimeIterationPolicy, ExporterPolicy >::bcContainerPtr_Type bcHandler | ( | ) | const |
Definition at line 441 of file NavierStokesSolver.hpp.
NavierStokesSolver< Mesh, InitPolicy, TimeIterationPolicy, ExporterPolicy >::fespacePtr_Type uFESpace | ( | ) | const |
Returns the FE space for the velocity.
Definition at line 448 of file NavierStokesSolver.hpp.
NavierStokesSolver< Mesh, InitPolicy, TimeIterationPolicy, ExporterPolicy >::fespacePtr_Type pFESpace | ( | ) | const |
Returns the FE space for the pressure.
Definition at line 455 of file NavierStokesSolver.hpp.
Real initialTime | ( | ) | const |
Returns the initial time.
Definition at line 462 of file NavierStokesSolver.hpp.
Real endTime | ( | ) | const |
Returns the end time.
Definition at line 469 of file NavierStokesSolver.hpp.
Real timestep | ( | ) | const |
Returns the timestep.
Definition at line 476 of file NavierStokesSolver.hpp.
Real currentTime | ( | ) | const |
Returns the current time.
Definition at line 483 of file NavierStokesSolver.hpp.
|
inlineprivate |
Definition at line 198 of file NavierStokesSolver.hpp.
|
inlineprivate |
Definition at line 202 of file NavierStokesSolver.hpp.
|
inlineprivate |
Definition at line 206 of file NavierStokesSolver.hpp.
|
inlineprivate |
Definition at line 210 of file NavierStokesSolver.hpp.
|
private |
Definition at line 171 of file NavierStokesSolver.hpp.
|
private |
Definition at line 172 of file NavierStokesSolver.hpp.
|
private |
Definition at line 175 of file NavierStokesSolver.hpp.
|
private |
Definition at line 176 of file NavierStokesSolver.hpp.
|
private |
Definition at line 177 of file NavierStokesSolver.hpp.
|
private |
Definition at line 180 of file NavierStokesSolver.hpp.
|
private |
Definition at line 181 of file NavierStokesSolver.hpp.
|
private |
Definition at line 184 of file NavierStokesSolver.hpp.
|
private |
Definition at line 185 of file NavierStokesSolver.hpp.
|
private |
Definition at line 188 of file NavierStokesSolver.hpp.
|
private |
Definition at line 189 of file NavierStokesSolver.hpp.
|
private |
Definition at line 190 of file NavierStokesSolver.hpp.
|
private |
Definition at line 191 of file NavierStokesSolver.hpp.
|
private |
Definition at line 192 of file NavierStokesSolver.hpp.
|
private |
Definition at line 195 of file NavierStokesSolver.hpp.