Nektar++
|
Base class for the adaptive polynomial order driver. More...
#include <DriverAdaptive.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 |
Name of the class. More... | |
Protected Member Functions | |
SOLVER_UTILS_EXPORT | DriverAdaptive (const LibUtilities::SessionReaderSharedPtr pSession) |
Constructor. More... | |
virtual SOLVER_UTILS_EXPORT | ~DriverAdaptive () |
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... | |
SOLVER_UTILS_EXPORT void | ReplaceExpansion (Array< OneD, MultiRegions::ExpListSharedPtr > &fields, map< int, int > deltaP) |
Update EXPANSIONS tag inside XML schema to reflect new polynomial order distribution. 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 |
Static Protected Attributes inherited from Nektar::SolverUtils::Driver | |
static std::string | evolutionOperatorLookupIds [] |
static std::string | evolutionOperatorDef |
static std::string | driverDefault |
Friends | |
class | MemoryManager< DriverAdaptive > |
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 adaptive polynomial order driver.
Definition at line 48 of file DriverAdaptive.h.
|
protected |
Constructor.
Definition at line 56 of file DriverAdaptive.cpp.
|
protectedvirtual |
|
inlinestatic |
Creates an instance of this class.
Definition at line 54 of file DriverAdaptive.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
protected |
Update EXPANSIONS tag inside XML schema to reflect new polynomial order distribution.
fields | Input fields. |
deltaP | Map of polynomial order expansions |
Definition at line 378 of file DriverAdaptive.cpp.
References Nektar::LibUtilities::BasisTypeMap, Nektar::ParseUtils::GenerateSeqString(), Nektar::SolverUtils::Driver::m_session, and Nektar::LibUtilities::ShapeTypeMap.
Referenced by v_Execute().
|
protectedvirtual |
Virtual function for solve implementation.
Implements Nektar::SolverUtils::Driver.
Definition at line 77 of file DriverAdaptive.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::LibUtilities::eOrtho_A, Nektar::LibUtilities::eOrtho_B, Nektar::LibUtilities::eQuadrilateral, Nektar::LibUtilities::eTriangle, Nektar::GlobalMapping::Mapping::Load(), Nektar::SolverUtils::Driver::m_comm, Nektar::SolverUtils::Driver::m_equ, Nektar::SolverUtils::Driver::m_session, Nektar::GlobalMapping::MappingSharedPtr, Nektar::LibUtilities::ReduceMax, ReplaceExpansion(), Nektar::SolverUtils::Driver::v_InitObject(), Vmath::Vmul(), Vmath::Vsub(), and Vmath::Vsum().
|
protectedvirtual |
Second-stage initialisation.
Reimplemented from Nektar::SolverUtils::Driver.
Definition at line 72 of file DriverAdaptive.cpp.
References Nektar::SolverUtils::Driver::v_InitObject().
|
friend |
Definition at line 51 of file DriverAdaptive.h.
|
static |
Name of the class.
Definition at line 64 of file DriverAdaptive.h.
|
staticprotected |
Definition at line 84 of file DriverAdaptive.h.