38 #ifndef OneDFSISource_H 39 #define OneDFSISource_H 41 #include <lifev/one_d_fsi/solver/OneDFSIPhysics.hpp> 132 const ID& row,
const container2D_Type& bcNodes,
const Real& cfl )
const = 0;
physicsPtr_Type physics() const
Get the physics of the problem.
OneDFSISource(const OneDFSISource &source)
OneDFSIPhysics - Base class providing physical operations for the 1D model data.
virtual Real interpolatedNonConservativeSource(const Real &A, const Real &Q, const ID &row, const container2D_Type &bcNodes, const Real &cfl) const =0
Evaluate the non-conservative form of the source term at the foot of the outgoing characteristic...
OneDFSIData - Class which read and holds all the data for the One Dimensional Model Solver...
OneDFSISource - Base class for the source term of the 1D hyperbolic problem.
OneDFSISource(const physicsPtr_Type physicsPtr)
Constructor.
void updateInverseJacobian(const UInt &iQuadPt)
virtual Real source(const Real &A, const Real &Q, const ID &row, const UInt &iNode) const =0
Evaluate the source term.
OneDFSIPhysics physics_Type
FactorySingleton< Factory< OneDFSISource, OneDFSI::sourceTerm_Type > > factorySource_Type
virtual ~OneDFSISource()
Do nothing destructor.
OneDFSISource()
Empty constructor.
double Real
Generic real data.
std::array< Real, 2 > container2D_Type
void setPhysics(const physicsPtr_Type &physicsPtr)
Set the physics of the problem.
OneDFSISource & operator=(const OneDFSISource &source)
uint32_type UInt
generic unsigned integer (used mainly for addressing)
physicsPtr_Type M_physicsPtr
std::shared_ptr< physics_Type > physicsPtr_Type
virtual Real dSdU(const Real &A, const Real &Q, const ID &row, const ID &column, const UInt &iNode) const =0
Evaluate the derivative of the source term.