44 RegisterCreatorFunction(
"ExtrapOrder0",
45 ExtrapOrder0BC::create,
46 "Extrapolation of order 0 boundary condition.");
54 :
CFSBndCond(pSession, pFields, pTraceNormals, pSpaceDim, bcRegion, cnt)
65 int id1, id2, nBCEdgePts;
66 int nVariables = physarray.num_elements();
77 for (e = 0; e < eMax; ++e)
80 GetExp(e)->GetTotPoints();
86 for (i = 0; i < nBCEdgePts; i++)
91 for (j = 0; j <=nDimensions; ++j)
94 UpdatePhys())[id1+i] = Fwd[j][pnt];
99 UpdatePhys())[id1+i] = Fwd[nVariables-1][pnt];
int m_spacedim
Space dimension.
Array< OneD, MultiRegions::ExpListSharedPtr > m_fields
Array of fields.
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
CFSBndCondFactory & GetCFSBndCondFactory()
Declaration of the boundary condition factory singleton.
Encapsulates the user-defined boundary conditions for compressible flow solver.
int m_bcRegion
Id of the boundary region.