22 #ifndef TUTORIAL_01_CDESOLVERD2Q5_SIGNAL_HPP
23 #define TUTORIAL_01_CDESOLVERD2Q5_SIGNAL_HPP
24 #include <LbmLib/include/solver/CDESolver/CDEAbstractSolver.hpp>
86 virtual double getC()
const;
97 virtual void loadSolver(std::stringstream*
const stream);
103 virtual void writeSolver(std::ostream*
const stream);
124 std::array<double, 5> distributions_;
134 static const std::string name;
139 #endif // TUTORIAL_01_CDESOLVERD2Q5_SIGNAL_HPP
virtual void loadSolver(std::stringstream *const stream)
loads the solver from the stream
virtual ~tutorial_01_CDESolverD2Q5_SIGNAL()
~CDESolverD2Q5 virtual Destructor
virtual void initSolver()
initSolver Use this to initalise the solver
The Base class for all CDESolver implementations This classes uses the recursive template idiom to au...
virtual void advect()
advect The advect step of the LBM
virtual double & accessDistribution(const Direction &dir)
accessDistribution Access to the distribution
The CDEDirectionsIteratorD2Q5 class Provides methods to handle the Directions. Use the Function Direc...
virtual void rescaleDistributions(const double factor)
Rescales all distributions by a factor.
const double reaction(void) const
reaction The reaction term of the tutorial_01_CDESolverD2Q5_SIGNAL solver is implemented here...
virtual void collide()
collide The collision step of the LBM
virtual void reinitialise()
reinitialise this solver as the corresponding physical node has switched domain
virtual double getC() const
getC Calculates the concentration on this node
The tutorial_01_CDESolverD2Q5_SIGNAL class.
virtual double calculateEquilibrium(const Direction &dir)
calculateEquilibrium calculates the equilibirum for direction dir
virtual void writeSolver(std::ostream *const stream)
writes the solver to the stream