35#include <boost/core/ignore_unused.hpp>
47 "Extrapolation of order 0 boundary condition.");
53 const int pSpaceDim,
const int bcRegion,
const int cnt)
54 :
CFSBndCond(pSession, pFields, pTraceNormals, pSpaceDim, bcRegion, cnt)
62 boost::ignore_unused(time);
66 int id1, id2, nBCEdgePts;
67 int nVariables = physarray.size();
77 for (e = 0; e < eMax; ++e)
89 for (i = 0; i < nBCEdgePts; i++)
94 for (j = 0; j <= nDimensions; ++j)
98 ->UpdatePhys())[id1 + i] = Fwd[j][pnt];
104 ->UpdatePhys())[id1 + i] = Fwd[nVariables - 1][pnt];
Encapsulates the user-defined boundary conditions for compressible flow solver.
int m_spacedim
Space dimension.
int m_bcRegion
Id of the boundary region.
Array< OneD, MultiRegions::ExpListSharedPtr > m_fields
Array of fields.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
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.