Nektar++
|
#include <GJPStabilisation.h>
Public Member Functions | |
GJPStabilisation (ExpListSharedPtr field) | |
~GJPStabilisation () | |
void | Apply (const Array< OneD, NekDouble > &inarray, Array< OneD, NekDouble > &outarray, const Array< OneD, NekDouble > &pUnorm=NullNekDouble1DArray, const NekDouble scale=1.0) const |
Array< OneD, Array< OneD, NekDouble > > & | GetTraceNormals (void) |
int | GetNumTracePts (void) const |
bool | IsSemiImplicit () const |
Private Member Functions | |
void | SetUpExpansionInfoMapForGJP (SpatialDomains::MeshGraphSharedPtr graph, std::string variable) |
void | MultiplyByStdDerivBaseOnTraceMat (int i, Array< OneD, NekDouble > &in, Array< OneD, NekDouble > &out) const |
Private Attributes | |
int | m_coordDim |
int | m_traceDim |
bool | m_useGJPSemiImplicit |
Array< OneD, Array< OneD, NekDouble > > | m_traceNormals |
MultiRegions::ExpListSharedPtr | m_dgfield |
DG expansion for projection evalaution along trace. More... | |
MultiRegions::LocTraceToTraceMapSharedPtr | m_locTraceToTraceMap |
LocaTraceToTraceMap. More... | |
MultiRegions::ExpListSharedPtr | m_locElmtTrace |
Local Elemental trace expansions. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_scalTrace |
Scale factor for phys values along trace involving the lcoal normals and tangent geometric factors n. More... | |
std::vector< std::pair< int, Array< OneD, DNekMatSharedPtr > > > | m_StdDBaseOnTraceMat |
Static Private Attributes | |
static std::string | GJPStabilisationLookupIds [] |
Definition at line 48 of file GJPStabilisation.h.
Nektar::MultiRegions::GJPStabilisation::GJPStabilisation | ( | ExpListSharedPtr | field | ) |
Definition at line 47 of file GJPStabilisation.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), ASSERTL0, Nektar::Collections::eNoImpType, m_coordDim, m_dgfield, m_locElmtTrace, m_locTraceToTraceMap, m_scalTrace, m_StdDBaseOnTraceMat, m_traceDim, m_traceNormals, m_useGJPSemiImplicit, CellMLToNektar.cellml_metadata::p, SetUpExpansionInfoMapForGJP(), sign, and Vmath::Smul().
|
inline |
Definition at line 53 of file GJPStabilisation.h.
void Nektar::MultiRegions::GJPStabilisation::Apply | ( | const Array< OneD, NekDouble > & | inarray, |
Array< OneD, NekDouble > & | outarray, | ||
const Array< OneD, NekDouble > & | pUnorm = NullNekDouble1DArray , |
||
const NekDouble | scale = 1.0 |
||
) | const |
Definition at line 202 of file GJPStabilisation.cpp.
References ASSERTL1, m_coordDim, m_dgfield, m_locElmtTrace, m_locTraceToTraceMap, m_scalTrace, m_traceDim, m_traceNormals, m_useGJPSemiImplicit, MultiplyByStdDerivBaseOnTraceMat(), Vmath::Neg(), Nektar::NullNekDouble1DArray, Vmath::Svtvp(), Vmath::Vadd(), Vmath::Vmul(), Vmath::Vsub(), Vmath::Vvtvp(), and Vmath::Zero().
|
inline |
Definition at line 65 of file GJPStabilisation.h.
References m_dgfield.
|
inline |
Definition at line 60 of file GJPStabilisation.h.
References m_traceNormals.
|
inline |
Definition at line 70 of file GJPStabilisation.h.
References m_useGJPSemiImplicit.
|
private |
Definition at line 382 of file GJPStabilisation.cpp.
References Blas::Dgemm(), and m_StdDBaseOnTraceMat.
Referenced by Apply().
|
private |
Definition at line 323 of file GJPStabilisation.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), Nektar::LibUtilities::eGaussRadauMLegendre, Nektar::LibUtilities::BasisKey::GetBasisType(), Nektar::LibUtilities::BasisKey::GetNumModes(), Nektar::LibUtilities::BasisKey::GetNumPoints(), and Nektar::LibUtilities::BasisKey::GetPointsType().
Referenced by GJPStabilisation().
|
staticprivate |
Definition at line 79 of file GJPStabilisation.h.
|
private |
Definition at line 76 of file GJPStabilisation.h.
Referenced by Apply(), and GJPStabilisation().
|
private |
DG expansion for projection evalaution along trace.
Definition at line 85 of file GJPStabilisation.h.
Referenced by Apply(), GetNumTracePts(), and GJPStabilisation().
|
private |
Local Elemental trace expansions.
Definition at line 89 of file GJPStabilisation.h.
Referenced by Apply(), and GJPStabilisation().
|
private |
LocaTraceToTraceMap.
Definition at line 87 of file GJPStabilisation.h.
Referenced by Apply(), and GJPStabilisation().
Scale factor for phys values along trace involving the lcoal normals and tangent geometric factors n.
Definition at line 93 of file GJPStabilisation.h.
Referenced by Apply(), and GJPStabilisation().
|
private |
Definition at line 96 of file GJPStabilisation.h.
Referenced by GJPStabilisation(), and MultiplyByStdDerivBaseOnTraceMat().
|
private |
Definition at line 77 of file GJPStabilisation.h.
Referenced by Apply(), and GJPStabilisation().
Definition at line 82 of file GJPStabilisation.h.
Referenced by Apply(), GetTraceNormals(), and GJPStabilisation().
|
private |
Definition at line 78 of file GJPStabilisation.h.
Referenced by Apply(), GJPStabilisation(), and IsSemiImplicit().