35 #include <boost/core/ignore_unused.hpp>
44 std::string TimeDependentBC::className =
46 "TimeDependent", TimeDependentBC::create,
47 "Time dependent boundary condition.");
49 TimeDependentBC::TimeDependentBC(
53 const int pSpaceDim,
const int bcRegion,
const int cnt)
54 :
CFSBndCond(pSession, pFields, pTraceNormals, pSpaceDim, bcRegion, cnt)
62 boost::ignore_unused(Fwd);
64 int nvariables = physarray.size();
66 for (
int i = 0; i < nvariables; ++i)
69 m_fields[i]->EvaluateBoundaryConditions(time, varName);
Encapsulates the user-defined boundary conditions for compressible flow solver.
LibUtilities::SessionReaderSharedPtr m_session
Session reader.
Array< OneD, MultiRegions::ExpListSharedPtr > m_fields
Array of fields.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
virtual void v_Apply(Array< OneD, Array< OneD, NekDouble >> &Fwd, Array< OneD, Array< OneD, NekDouble >> &physarray, const NekDouble &time) override
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.