Nektar++
|
Stagnation conditions inflow boundary conditions for compressible flow problems where the energy and density are prescribed. More...
#include <StagnationInflowBC.h>
Static Public Member Functions | |
static CFSBndCondSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const Array< OneD, Array< OneD, NekDouble > > &pTraceNormals, const Array< OneD, Array< OneD, NekDouble > > &pGridVelocity, const int pSpaceDim, const int bcRegion, const int cnt) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of the class. More... | |
Protected Member Functions | |
void | v_Apply (Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time) override |
![]() | |
CFSBndCond (const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const Array< OneD, Array< OneD, NekDouble > > &pTraceNormals, const Array< OneD, Array< OneD, NekDouble > > &pGridVelocity, const int pSpaceDim, const int bcRegion, const int cnt) | |
Constructor. More... | |
virtual | ~CFSBndCond ()=default |
virtual void | v_Apply (Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time)=0 |
virtual void | v_ApplyBwdWeight () |
Private Member Functions | |
StagnationInflowBC (const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const Array< OneD, Array< OneD, NekDouble > > &pTraceNormals, const Array< OneD, Array< OneD, NekDouble > > &pGridVelocity, const int pSpaceDim, const int bcRegion, const int cnt) | |
~StagnationInflowBC (void) override=default | |
Private Attributes | |
Array< OneD, Array< OneD, NekDouble > > | m_fieldStorage |
Friends | |
class | MemoryManager< StagnationInflowBC > |
Stagnation conditions inflow boundary conditions for compressible flow problems where the energy and density are prescribed.
Definition at line 47 of file StagnationInflowBC.h.
|
private |
Definition at line 45 of file StagnationInflowBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, Nektar::CFSBndCond::m_fields, m_fieldStorage, Nektar::CFSBndCond::m_traceNormals, tinysimd::sqrt(), and Vmath::Vcopy().
|
overrideprivatedefault |
|
inlinestatic |
Creates an instance of this class.
Definition at line 53 of file StagnationInflowBC.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
overrideprotectedvirtual |
Implements Nektar::CFSBndCond.
Definition at line 103 of file StagnationInflowBC.cpp.
References ASSERTL0, Nektar::CFSBndCond::m_bcRegion, Nektar::CFSBndCond::m_fields, m_fieldStorage, Nektar::CFSBndCond::m_gamma, Nektar::CFSBndCond::m_offset, Nektar::CFSBndCond::m_spacedim, and Nektar::CFSBndCond::m_varConv.
|
friend |
Definition at line 1 of file StagnationInflowBC.h.
|
static |
Name of the class.
Definition at line 68 of file StagnationInflowBC.h.
Definition at line 86 of file StagnationInflowBC.h.
Referenced by StagnationInflowBC(), and v_Apply().