36 #ifndef NEKTAR_SOLVERS_ACOUSTICSOLVER_EQUATIONSYSTEMS_ACOUSTICSYSTEM_H 37 #define NEKTAR_SOLVERS_ACOUSTICSOLVER_EQUATIONSYSTEMS_ACOUSTICSYSTEM_H 40 #include <boost/version.hpp> 41 #if BOOST_VERSION >= 106900 && BOOST_VERSION < 107000 42 #define BOOST_ALLOW_DEPRECATED_HEADERS 45 #include <boost/core/ignore_unused.hpp> 46 #include <boost/random/mersenne_twister.hpp> 75 std::vector<SolverUtils::ForcingSharedPtr>
m_forcing;
86 virtual void v_InitObject();
96 virtual void v_GetFluxVector(
104 boost::ignore_unused(inarray, outarray);
107 virtual bool v_PreIntegrate(
int step);
109 virtual void v_Output();
113 virtual void v_ExtraFldOutput(
115 std::vector<std::string> &variables);
124 std::map<int, boost::mt19937>
m_rng;
133 virtual void v_WallBC(
int bcRegion,
int cnt,
137 virtual void v_RiemannInvariantBC(
142 virtual void v_WhiteNoiseBC(
int bcRegion,
int cnt,
150 void UpdateBasefieldFwdBwd();
Array< OneD, Array< OneD, NekDouble > > m_bf
SolverUtils::RiemannSolverSharedPtr m_riemannSolver
std::shared_ptr< MeshGraph > MeshGraphSharedPtr
std::vector< std::string > m_bfNames
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
std::shared_ptr< Advection > AdvectionSharedPtr
A shared pointer to an Advection object.
bool m_conservative
we are dealing with a conservative formualtion
std::shared_ptr< RiemannSolver > RiemannSolverSharedPtr
A shared pointer to an EquationSystem object.
std::vector< SolverUtils::ForcingSharedPtr > m_forcing
NekDouble m_whiteNoiseBC_p
SOLVER_UTILS_EXPORT typedef std::shared_ptr< Coupling > CouplingSharedPtr
Array< OneD, Array< OneD, NekDouble > > m_bfFwdBwd
SolverUtils::CouplingSharedPtr m_coupling
std::map< int, boost::mt19937 > m_rng
virtual void v_AddLinTerm(const Array< OneD, const Array< OneD, NekDouble >> &inarray, Array< OneD, Array< OneD, NekDouble >> &outarray)
NekDouble m_whiteNoiseBC_lastUpdate
A base class for PDEs which include an advection component.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
Array< OneD, Array< OneD, NekDouble > > m_vecLocs
SolverUtils::AdvectionSharedPtr m_advection