45 "Extrapolation of order 0 boundary condition.");
51 const int pSpaceDim,
const int bcRegion,
const int cnt)
52 :
CFSBndCond(pSession, pFields, pTraceNormals, pSpaceDim, bcRegion, cnt)
62 int id1, id2, nBCEdgePts;
63 int nVariables = physarray.size();
73 for (e = 0; e < eMax; ++e)
85 for (i = 0; i < nBCEdgePts; i++)
90 for (j = 0; j <= nDimensions; ++j)
94 ->UpdatePhys())[id1 + i] = Fwd[j][pnt];
100 ->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.