Nektar++
|
#include <StandardExtrapolate.h>
Static Public Member Functions | |
static ExtrapolateSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, MultiRegions::ExpListSharedPtr &pPressure, const Array< OneD, int > &pVel, const SolverUtils::AdvectionSharedPtr &advObject) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of class. More... | |
Static Protected Attributes | |
static NekDouble | DuDt_Coeffs [3][4] |
![]() | |
static NekDouble | StifflyStable_Betaq_Coeffs [3][3] |
static NekDouble | StifflyStable_Alpha_Coeffs [3][3] |
static NekDouble | StifflyStable_Gamma0_Coeffs [3] = {1.0, 1.5, 11.0 / 6.0} |
Friends | |
class | MemoryManager< StandardExtrapolate > |
Definition at line 57 of file StandardExtrapolate.h.
|
protected |
Definition at line 52 of file StandardExtrapolate.cpp.
|
overrideprotecteddefault |
|
inlinestatic |
Creates an instance of this class.
Definition at line 63 of file StandardExtrapolate.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
overrideprotectedvirtual |
At the start, the newest value is stored in array[nlevels-1] and the previous values in the first positions At the end, the acceleration from BDF is stored in array[nlevels-1] and the storage has been updated to included the new value
Reimplemented from Nektar::Extrapolate.
Definition at line 152 of file StandardExtrapolate.cpp.
References DuDt_Coeffs, Nektar::Extrapolate::m_intSteps, Nektar::Extrapolate::m_pressureCalls, Nektar::Extrapolate::RollOver(), Vmath::Smul(), and Vmath::Svtvp().
|
overrideprotectedvirtual |
Function to extrapolate the new pressure boundary condition. Based on the velocity field and on the advection term. Acceleration term is also computed. This routine is a general one for 2d and 3D application and it can be called directly from velocity correction scheme. Specialisation on dimensionality is redirected to the CalcNeumannPressureBCs method.
Implements Nektar::Extrapolate.
Reimplemented in Nektar::WeakPressureExtrapolate.
Definition at line 69 of file StandardExtrapolate.cpp.
References Nektar::Extrapolate::AddDuDt(), Nektar::Extrapolate::CalcNeumannPressureBCs(), Nektar::Extrapolate::CalcOutflowBCs(), Nektar::Extrapolate::CopyPressureHBCsToPbndExp(), Nektar::Extrapolate::ExtrapolateArray(), Nektar::Extrapolate::m_HBCnumber, Nektar::Extrapolate::m_pressureCalls, and Nektar::Extrapolate::m_pressureHBCs.
|
overrideprotectedvirtual |
Implements Nektar::Extrapolate.
Reimplemented in Nektar::WeakPressureExtrapolate.
Definition at line 139 of file StandardExtrapolate.cpp.
References Vmath::Svtvp().
|
overrideprotectedvirtual |
Implements Nektar::Extrapolate.
Definition at line 96 of file StandardExtrapolate.cpp.
References Nektar::ErrorUtil::efatal, Nektar::Extrapolate::m_intSteps, and NEKERROR.
|
overrideprotectedvirtual |
|
friend |
Definition at line 55 of file StandardExtrapolate.h.
|
static |
Name of class.
Registers the class with the Factory.
Definition at line 76 of file StandardExtrapolate.h.
|
staticprotected |
Definition at line 109 of file StandardExtrapolate.h.
Referenced by v_AccelerationBDF().