LBIBCell
|
the base class of the cde and fluid solvers More...
#include <AbstractSolver.hpp>
Public Member Functions | |
virtual | ~AbstractSolver () |
~AbstractSolver Destructor | |
virtual void | initSolver ()=0 |
initSolver Use this to initalise the solver | |
virtual void | collide ()=0 |
collide The collision step of the LBM | |
virtual void | advect ()=0 |
advect The advect step of the LBM | |
virtual void | loadSolver (std::stringstream *const stream)=0 |
loads the solver from the stream More... | |
virtual void | writeSolver (std::ostream *const stream)=0 |
writes the solver to the stream More... | |
virtual double & | accessDistribution (const Direction &dir)=0 |
accessDistribution Access to the distribution More... | |
virtual void | rescaleDistributions (const double factor)=0 |
Rescales all distributions by a factor. More... | |
void | setTau (double tau) |
setTau Setter method for the tau parameter of the solver More... | |
double | getTau () const |
getTau Getter method for the tau parameter More... | |
Protected Member Functions | |
AbstractSolver () | |
AbstractSolver Protected to disable direct instantiation. | |
the base class of the cde and fluid solvers
Definition at line 33 of file AbstractSolver.hpp.
|
pure virtual |
accessDistribution Access to the distribution
dir | the direction where the Distribution is wanted |
Implemented in LbmLib::solver::FluidSolver, LbmLib::solver::tutorial_01_CDESolverD2Q5_SIGNAL, LbmLib::solver::tutorial_02_CDESolverD2Q5_L, LbmLib::solver::tutorial_02_CDESolverD2Q5_R, LbmLib::solver::FluidSolver, LbmLib::solver::CDESolverD2Q5, LbmLib::solver::CDESolverD2Q4, LbmLib::solver::CDESolverD2Q5BMP, LbmLib::solver::CDESolverD2Q5HH, LbmLib::solver::DiracD2Q4, LbmLib::solver::DiracD2Q5, LbmLib::solver::SchnakenbergD2Q4u, LbmLib::solver::SchnakenbergD2Q4v, LbmLib::solver::SchnakenbergD2Q5u, and LbmLib::solver::SchnakenbergD2Q5v.
|
inline |
getTau Getter method for the tau parameter
Definition at line 93 of file AbstractSolver.hpp.
|
pure virtual |
loads the solver from the stream
stream | the stream where the solver is loaded from |
Implemented in LbmLib::solver::tutorial_01_CDESolverD2Q5_SIGNAL, LbmLib::solver::tutorial_02_CDESolverD2Q5_L, LbmLib::solver::tutorial_02_CDESolverD2Q5_R, LbmLib::solver::CDESolverD2Q5, LbmLib::solver::CDESolverD2Q4, LbmLib::solver::CDESolverD2Q5BMP, LbmLib::solver::CDESolverD2Q5HH, LbmLib::solver::DiracD2Q4, LbmLib::solver::DiracD2Q5, LbmLib::solver::SchnakenbergD2Q4u, LbmLib::solver::SchnakenbergD2Q4v, LbmLib::solver::SchnakenbergD2Q5u, LbmLib::solver::SchnakenbergD2Q5v, LbmLib::solver::FluidSolver, and LbmLib::solver::FluidSolver.
|
pure virtual |
Rescales all distributions by a factor.
factor | The rescaling ractor |
Implemented in LbmLib::solver::FluidSolver, LbmLib::solver::tutorial_01_CDESolverD2Q5_SIGNAL, LbmLib::solver::tutorial_02_CDESolverD2Q5_L, LbmLib::solver::tutorial_02_CDESolverD2Q5_R, LbmLib::solver::FluidSolver, LbmLib::solver::CDESolverD2Q5, LbmLib::solver::CDESolverD2Q4, LbmLib::solver::CDESolverD2Q5BMP, LbmLib::solver::CDESolverD2Q5HH, LbmLib::solver::DiracD2Q4, LbmLib::solver::DiracD2Q5, LbmLib::solver::SchnakenbergD2Q4u, LbmLib::solver::SchnakenbergD2Q4v, LbmLib::solver::SchnakenbergD2Q5u, and LbmLib::solver::SchnakenbergD2Q5v.
|
inline |
setTau Setter method for the tau parameter of the solver
tau | The new value of tau |
Definition at line 85 of file AbstractSolver.hpp.
|
pure virtual |
writes the solver to the stream
stream | the stream where the solver is written to |
Implemented in LbmLib::solver::tutorial_01_CDESolverD2Q5_SIGNAL, LbmLib::solver::tutorial_02_CDESolverD2Q5_L, LbmLib::solver::tutorial_02_CDESolverD2Q5_R, LbmLib::solver::CDESolverD2Q5, LbmLib::solver::CDESolverD2Q4, LbmLib::solver::CDESolverD2Q5BMP, LbmLib::solver::CDESolverD2Q5HH, LbmLib::solver::DiracD2Q4, LbmLib::solver::DiracD2Q5, LbmLib::solver::SchnakenbergD2Q4u, LbmLib::solver::SchnakenbergD2Q4v, LbmLib::solver::SchnakenbergD2Q5u, LbmLib::solver::SchnakenbergD2Q5v, LbmLib::solver::FluidSolver, and LbmLib::solver::FluidSolver.