35 #include <boost/core/ignore_unused.hpp> 45 RegisterCreatorFunction(
"ExtrapOrder0",
46 ExtrapOrder0BC::create,
47 "Extrapolation of order 0 boundary condition.");
55 :
CFSBndCond(pSession, pFields, pTraceNormals, pSpaceDim, bcRegion, cnt)
64 boost::ignore_unused(time);
68 int id1, id2, nBCEdgePts;
69 int nVariables = physarray.num_elements();
80 for (e = 0; e < eMax; ++e)
83 GetExp(e)->GetTotPoints();
89 for (i = 0; i < nBCEdgePts; i++)
94 for (j = 0; j <=nDimensions; ++j)
97 UpdatePhys())[id1+i] = Fwd[j][pnt];
102 UpdatePhys())[id1+i] = Fwd[nVariables-1][pnt];
int m_spacedim
Space dimension.
Array< OneD, MultiRegions::ExpListSharedPtr > m_fields
Array of fields.
CFSBndCondFactory & GetCFSBndCondFactory()
Declaration of the boundary condition factory singleton.
Encapsulates the user-defined boundary conditions for compressible flow solver.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
int m_bcRegion
Id of the boundary region.