45 "Extrapolation of order 0 boundary condition.");
52 const int pSpaceDim,
const int bcRegion,
const int cnt)
53 :
CFSBndCond(pSession, pFields, pTraceNormals, pGridVelocity, pSpaceDim,
64 int id1, id2, nBCEdgePts;
65 int nVariables = physarray.size();
75 for (e = 0; e < eMax; ++e)
87 for (i = 0; i < nBCEdgePts; i++)
92 for (j = 0; j <= nDimensions; ++j)
96 ->UpdatePhys())[id1 + i] = Fwd[j][pnt];
102 ->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
CFSBndCondFactory & GetCFSBndCondFactory()
Declaration of the boundary condition factory singleton.