22 #ifndef SCHNAKENBERGD2Q4U_HPP
23 #define SCHNAKENBERGD2Q4U_HPP
24 #include <LbmLib/include/solver/CDESolver/CDEAbstractSolver.hpp>
79 virtual double getC()
const;
90 virtual void loadSolver(std::stringstream*
const stream);
96 virtual void writeSolver(std::ostream*
const stream);
113 std::array<double, 5> distributions_;
122 static const std::string name;
127 #endif // SCHNAKENBERGD2Q4U_HPP
virtual void reinitialise()
reinitialise this solver as the corresponding physical node has switched domain
The Base class for all CDESolver implementations This classes uses the recursive template idiom to au...
virtual void collide()
collide The collision step of the LBM
the cde solver for the schnakenberg turing pattern
virtual void initSolver()
initSolver Use this to initalise the solver
virtual void loadSolver(std::stringstream *const stream)
loads the solver from the stream
virtual void writeSolver(std::ostream *const stream)
writes the solver to the stream
virtual double calculateEquilibrium(const Direction &dir)
calculateEquilibrium calculates the equilibirum for direction dir
virtual void advect()
advect The advect step of the LBM
virtual void rescaleDistributions(const double factor)
Rescales all distributions by a factor.
virtual double getC() const
getC Calculates the concentration on this node
virtual double & accessDistribution(const Direction &dir)
accessDistribution Access to the distribution
virtual ~SchnakenbergD2Q4u()
~CDESolverD2Q4 virtual Destructor
The CDEDirectionsIteratorD2Q4 class Provides methods to handle the Directions. Use the Function Direc...