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 (std::ostream &out=std::cout) |
Second-stage initialisation. More... | |
virtual SOLVER_UTILS_EXPORT void | v_Execute (std::ostream &out=std::cout) |
Virtual function for solve implementation. More... | |
SOLVER_UTILS_EXPORT void | ReplaceExpansion (Array< OneD, MultiRegions::ExpListSharedPtr > &fields, std::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 > |
Base class for the adaptive polynomial order driver.
Definition at line 48 of file DriverAdaptive.h.
|
protected |
Constructor.
Definition at line 58 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 380 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 79 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 74 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.