Nektar++
|
Base class for the development of solvers. More...
#include <DriverStandard.h>
Static Public Member Functions | |
static DriverSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession) |
Creates an instance of this class. |
Static Public Attributes | |
static std::string | className = GetDriverFactory().RegisterCreatorFunction("Standard", DriverStandard::create) |
Name of the class. |
Protected Member Functions | |
SOLVER_UTILS_EXPORT | DriverStandard (const LibUtilities::SessionReaderSharedPtr pSession) |
Constructor. | |
virtual SOLVER_UTILS_EXPORT | ~DriverStandard () |
Destructor. | |
virtual SOLVER_UTILS_EXPORT void | v_InitObject (ostream &out=cout) |
Second-stage initialisation. | |
virtual SOLVER_UTILS_EXPORT void | v_Execute (ostream &out=cout) |
Virtual function for solve implementation. | |
Protected Member Functions inherited from Nektar::SolverUtils::Driver | |
Driver (const LibUtilities::SessionReaderSharedPtr pSession) | |
Initialises EquationSystem class members. | |
virtual SOLVER_UTILS_EXPORT Array< OneD, NekDouble > | v_GetRealEvl (void) |
virtual SOLVER_UTILS_EXPORT Array< OneD, NekDouble > | v_GetImagEvl (void) |
Static Protected Attributes | |
static std::string | driverLookupId = LibUtilities::SessionReader::RegisterEnumValue("Driver","Standard",0) |
Static Protected Attributes inherited from Nektar::SolverUtils::Driver | |
static std::string | evolutionOperatorLookupIds [] |
static std::string | evolutionOperatorDef = LibUtilities::SessionReader::RegisterDefaultSolverInfo("EvolutionOperator","Nonlinear") |
static std::string | driverDefault = LibUtilities::SessionReader::RegisterDefaultSolverInfo("Driver","Standard") |
Friends | |
class | MemoryManager< DriverStandard > |
Additional Inherited Members | |
Public Member Functions inherited from Nektar::SolverUtils::Driver | |
virtual | ~Driver () |
Destructor. | |
SOLVER_UTILS_EXPORT void | InitObject (ostream &out=cout) |
Initialise Object. | |
SOLVER_UTILS_EXPORT void | Execute (ostream &out=cout) |
Execute driver. | |
SOLVER_UTILS_EXPORT Array < OneD, EquationSystemSharedPtr > | GetEqu () |
SOLVER_UTILS_EXPORT Array < OneD, NekDouble > | GetRealEvl (void) |
SOLVER_UTILS_EXPORT Array < OneD, NekDouble > | GetImagEvl (void) |
Protected Attributes inherited from Nektar::SolverUtils::Driver | |
LibUtilities::CommSharedPtr | m_comm |
Communication object. | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session reader object. | |
Array< OneD, EquationSystemSharedPtr > | m_equ |
Equation system to solve. | |
int | m_nequ |
number of equations | |
enum EvolutionOperatorType | m_EvolutionOperator |
Evolution Operator. |
Base class for the development of solvers.
Definition at line 46 of file DriverStandard.h.
|
protected |
|
protectedvirtual |
|
inlinestatic |
Creates an instance of this class.
Definition at line 52 of file DriverStandard.h.
|
protectedvirtual |
Virtual function for solve implementation.
Implements Nektar::SolverUtils::Driver.
Definition at line 73 of file DriverStandard.cpp.
References Nektar::SolverUtils::Driver::m_comm, and Nektar::SolverUtils::Driver::m_equ.
|
protectedvirtual |
Second-stage initialisation.
Reimplemented from Nektar::SolverUtils::Driver.
Definition at line 67 of file DriverStandard.cpp.
|
friend |
Definition at line 49 of file DriverStandard.h.
|
static |
Name of the class.
Definition at line 59 of file DriverStandard.h.
|
staticprotected |
Definition at line 74 of file DriverStandard.h.