22 #ifndef MASSABSTRACTSOLVER_HPP
23 #define MASSABSTRACTSOLVER_HPP
24 #include <LbmLib/include/solver/MassSolver/MassSolverFactory.hpp>
50 const std::vector<std::vector<nodes::PhysicalNode*> >& fluidGrid) =
57 virtual std::string
getName() = 0;
130 #endif // MASSABSTRACTSOLVER_HPP
static MassAbstractSolver * create()
create Static constructor. A pointer to this function along with the name of the algorithm is registe...
virtual std::string getName()=0
Get the name of the solver.
The Base class for all Mass Solvers implementations This classes uses the recursive template idiom to...
static bool init()
init Registers the class in the Solver Factory
static bool reg
reg True if registration was successful
std::string getName()
getName
virtual void calculateMass(const std::vector< std::vector< nodes::PhysicalNode * > > &fluidGrid)=0
the virtual method which calculates the masses on the Geometry Nodes
virtual ~BaseMassSolver()
~BaseMassSolver virtual Destructor
The MassAbstractSolver class The abstract base class for all Mass Solvers.
MassAbstractSolver()
protected Constructor only use create method for instantiation
BaseMassSolver()
BaseMassSolver The Constructor which enforces that the specialisation is done.
virtual ~MassAbstractSolver()
~MassAbstractSolver virtual Destructor