36 #include <boost/core/ignore_unused.hpp>
46 RegisterCreatorFunction(
"PressureMachTemperature",
47 PressureMachTemperatureBC::create,
48 "BC prescribed in terms of p, Ma and T.");
50 PressureMachTemperatureBC::PressureMachTemperatureBC(
57 :
CFSBndCond(pSession, pFields, pTraceNormals, pSpaceDim, bcRegion, cnt)
61 GetBndCondExpansions()[
m_bcRegion]->GetNpoints();
65 for (
int i = 0; i < nvariables; ++i)
121 for (
int i = 0; i < nvariables; ++i)
135 boost::ignore_unused(Fwd, physarray, time);
139 GetBndCondExpansions()[
m_bcRegion]->GetNpoints();
141 for (
int i = 0; i < nvariables; ++i)
Encapsulates the user-defined boundary conditions for compressible flow solver.
int m_spacedim
Space dimension.
int m_bcRegion
Id of the boundary region.
VariableConverterSharedPtr m_varConv
Auxiliary object to convert variables.
Array< OneD, MultiRegions::ExpListSharedPtr > m_fields
Array of fields.
Array< OneD, Array< OneD, NekDouble > > m_bcStorage
virtual void v_Apply(Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time)
std::shared_ptr< SessionReader > SessionReaderSharedPtr
The above copyright notice and this permission notice shall be included.
CFSBndCondFactory & GetCFSBndCondFactory()
Declaration of the boundary condition factory singleton.
void Vmul(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Multiply vector z = x*y.
void Vadd(int n, const T *x, const int incx, const T *y, const int incy, T *z, const int incz)
Add vector z = x+y.
void Smul(int n, const T alpha, const T *x, const int incx, T *y, const int incy)
Scalar multiply y = alpha*x.
void Vcopy(int n, const T *x, const int incx, T *y, const int incy)