43 std::string TimeDependentInflow::className =
45 "TimeDependent", TimeDependentInflow::create,
46 "TimeDependent inflow boundary condition");
48 TimeDependentInflow::TimeDependentInflow(
65 const NekDouble time,
int omega,
int offset,
int n)
76 for (
int i = 0; i < 2; ++i)
78 vessel[i]->EvaluateBoundaryConditions(time);
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
Array< OneD, MultiRegions::ExpListSharedPtr > m_vessels
virtual ~TimeDependentInflow()
virtual void v_DoBoundary(const Array< OneD, const Array< OneD, NekDouble >> &inarray, Array< OneD, Array< OneD, NekDouble >> &A_0, Array< OneD, Array< OneD, NekDouble >> &beta, Array< OneD, Array< OneD, NekDouble > > &alpha, const NekDouble time, int omega, int offset, int n)
std::shared_ptr< SessionReader > SessionReaderSharedPtr
The above copyright notice and this permission notice shall be included.
std::shared_ptr< PulseWavePressureArea > PulseWavePressureAreaSharedPtr
BoundaryFactory & GetBoundaryFactory()