Nektar++
|
Base class for the development of solvers. More...
#include <DriverStandard.h>
Static Public Member Functions | |
static DriverSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of the class. More... | |
Protected Member Functions | |
SOLVER_UTILS_EXPORT | DriverStandard (const LibUtilities::SessionReaderSharedPtr pSession, const SpatialDomains::MeshGraphSharedPtr pGraph) |
Constructor. More... | |
SOLVER_UTILS_EXPORT | ~DriverStandard () override=default |
Destructor. More... | |
SOLVER_UTILS_EXPORT void | v_InitObject (std::ostream &out=std::cout) override |
Virtual function for initialisation implementation. More... | |
SOLVER_UTILS_EXPORT void | v_Execute (std::ostream &out=std::cout) override |
Virtual function for solve implementation. More... | |
Protected Member Functions inherited from Nektar::SolverUtils::Driver | |
Driver (const LibUtilities::SessionReaderSharedPtr pSession, const SpatialDomains::MeshGraphSharedPtr pGraph) | |
Initialises EquationSystem class members. More... | |
virtual SOLVER_UTILS_EXPORT void | v_InitObject (std::ostream &out=std::cout) |
Virtual function for initialisation implementation. More... | |
virtual SOLVER_UTILS_EXPORT void | v_Execute (std::ostream &out=std::cout)=0 |
Virtual function for solve implementation. More... | |
Static Protected Attributes | |
static std::string | driverLookupId |
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 ()=default |
Destructor. More... | |
SOLVER_UTILS_EXPORT void | InitObject (std::ostream &out=std::cout) |
Initialise Object. More... | |
SOLVER_UTILS_EXPORT void | Execute (std::ostream &out=std::cout) |
Execute driver. More... | |
SOLVER_UTILS_EXPORT Array< OneD, EquationSystemSharedPtr > | GetEqu () |
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 |
Coupling between SFD and arnoldi. More... | |
SpatialDomains::MeshGraphSharedPtr | m_graph |
MeshGraph object. 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 43 of file DriverStandard.h.
|
protected |
Constructor.
Definition at line 52 of file DriverStandard.cpp.
|
overrideprotecteddefault |
Destructor.
|
inlinestatic |
Creates an instance of this class.
Definition at line 49 of file DriverStandard.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
overrideprotectedvirtual |
Virtual function for solve implementation.
Implements Nektar::SolverUtils::Driver.
Definition at line 70 of file DriverStandard.cpp.
References Nektar::LibUtilities::Timer::Elapsed(), Nektar::SolverUtils::Driver::m_comm, Nektar::SolverUtils::Driver::m_equ, Nektar::LibUtilities::Timer::Start(), and Nektar::LibUtilities::Timer::Stop().
|
overrideprotectedvirtual |
Virtual function for initialisation implementation.
Reimplemented from Nektar::SolverUtils::Driver.
Definition at line 62 of file DriverStandard.cpp.
References Nektar::SolverUtils::Driver::v_InitObject().
|
friend |
Definition at line 1 of file DriverStandard.h.
|
static |
Name of the class.
Definition at line 60 of file DriverStandard.h.
|
staticprotected |
Definition at line 78 of file DriverStandard.h.