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. More... | |
Static Public Attributes | |
static std::string | className = GetDriverFactory().RegisterCreatorFunction("Standard", DriverStandard::create) |
Name of the class. More... | |
Protected Member Functions | |
SOLVER_UTILS_EXPORT | DriverStandard (const LibUtilities::SessionReaderSharedPtr pSession) |
Constructor. More... | |
virtual SOLVER_UTILS_EXPORT | ~DriverStandard () |
Destructor. More... | |
virtual SOLVER_UTILS_EXPORT void | v_InitObject (ostream &out=cout) |
Second-stage initialisation. More... | |
virtual SOLVER_UTILS_EXPORT void | v_Execute (ostream &out=cout) |
Virtual function for solve implementation. More... | |
Protected Member Functions inherited from Nektar::SolverUtils::Driver | |
Driver (const LibUtilities::SessionReaderSharedPtr pSession) | |
Initialises EquationSystem class members. More... | |
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 |
static std::string | driverDefault |
Friends | |
class | MemoryManager< DriverStandard > |
Additional Inherited Members | |
Public Member Functions inherited from Nektar::SolverUtils::Driver | |
virtual | ~Driver () |
Destructor. More... | |
SOLVER_UTILS_EXPORT void | InitObject (ostream &out=cout) |
Initialise Object. More... | |
SOLVER_UTILS_EXPORT void | Execute (ostream &out=cout) |
Execute driver. More... | |
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. More... | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session reader object. More... | |
LibUtilities::SessionReaderSharedPtr | session_LinNS |
I the Coupling between SFD and arnoldi. More... | |
Array< OneD, EquationSystemSharedPtr > | m_equ |
Equation system to solve. More... | |
int | m_nequ |
number of equations More... | |
enum EvolutionOperatorType | m_EvolutionOperator |
Evolution Operator. More... | |
Base class for the development of solvers.
Definition at line 46 of file DriverStandard.h.
|
protected |
Constructor.
Definition at line 50 of file DriverStandard.cpp.
|
protectedvirtual |
|
inlinestatic |
Creates an instance of this class.
Definition at line 52 of file DriverStandard.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
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.
References Nektar::SolverUtils::Driver::v_InitObject().
|
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.