22 #ifndef FLUIDPOINT_HPP
23 #define FLUIDPOINT_HPP
26 #include <LbmLib/include/nodes/EulerianPoint.hpp>
27 #include <LbmLib/include/Direction.hpp>
28 #include <LbmLib/include/solver/FluidSolver/FluidSolver.hpp>
37 class CDEAbstractSolver;
100 virtual std::string
getType()
const;
106 void dumpNode(std::ostream* oStream)
const;
181 void reinitialiseCDESolvers();
190 std::vector<solver::CDEAbstractSolver*> cdeSolvers_;
195 std::array<PhysicalNode*, 9> neighbourNodes_;
200 std::array<BoundaryNode*, 5> boundaryNodes_;
205 unsigned int domainIdentifier_;
210 unsigned int cellType_;
215 #endif // FLUIDPOINT_HPP
The abstract base class for all CDESolvers.
solver::CDEAbstractSolver & getCDESolverSlow(const std::string &name) const
getCDESolverSlow Getter method for the cde Solver
void dumpNode(std::ostream *oStream) const
dumpNode dumps the node for dot
void setCellType(unsigned int celltype)
setCellType setter for the celltype
PhysicalNode * getPhysicalNeighbour(const Direction &d) const
getPhysicalNeighbour Getter method to access the Physical Neighbour
The EulerianPoint class The base class for all points with an integer position and no speed...
class representing a physical node
void setDomainIdentifier(unsigned int domainIdentifier)
setDomainIdentifier setter for the domain identifier
the Fluid Solver which solves the D2Q9 LBGK
void setBoundaryNeighbour(BoundaryNode *const boundaryNode, const Direction &d)
setBoundaryNeighbour Setter for the neighbour boundary point
PhysicalNode(int x, int y)
PhysicalNode constructs a physical node.
unsigned int getDomainIdentifier() const
getter for the Domain Identifier of this node
~PhysicalNode()
~PhysicalNode Destructor
unsigned int getCellType() const
getter for the cell type of this node
void updateDomainIdentifier()
updateDomainIdentifier updates the domain Identifier of this node. If the domain changes it returns t...
const solver::FluidSolver & getFluidSolver() const
getFluidSolver Const getter method for the fluid Solver
virtual std::string getType() const
getType The type of a node class
BoundaryNode * getBoundaryNeighbour(const Direction &d) const
getBoundaryNeighbour Getter method to access the Boundary Neighbour
void addCDESolver(const std::string &cdeSolverName)
addCDESolver Adds a CDESolver to this node
class representing a boundary node
solver::CDEAbstractSolver & getCDESolver(size_t id) const
getCDESolver Getter method for the cde Solver
std::vector< solver::CDEAbstractSolver * > & getCDESolvers()
getCDESolvers Getter method for all CDE Solvers
void resetBoundaryNodes()
resetBoundaryNodes Resets the boundary nodes to nullptr
void setPhysicalNeighbour(PhysicalNode *const node, const Direction &d)
setPhysicalNeighbour Setter for the neighbour fluid point