LBIBCell
 All Classes Functions Variables Friends Pages
LbmLib::nodes::EulerianPoint Class Referenceabstract

The EulerianPoint class The base class for all points with an integer position and no speed. More...

#include <EulerianPoint.hpp>

Inheritance diagram for LbmLib::nodes::EulerianPoint:
LbmLib::nodes::PhysicalNode

Public Member Functions

 EulerianPoint (int x, int y)
 EulerianPoint Constructs a new EulerianPoint. More...
 
virtual ~EulerianPoint ()
 ~Point vitual Destructor
 
int getXPos () const
 getXPos Getter for the X position More...
 
int getYPos () const
 getYPos Getter for the Y position More...
 
Field< int > getPos () const
 getPos Getter for the pos More...
 
virtual std::string getType () const =0
 getType The type of a node class More...
 

Detailed Description

The EulerianPoint class The base class for all points with an integer position and no speed.

Definition at line 34 of file EulerianPoint.hpp.

Constructor & Destructor Documentation

LbmLib::nodes::EulerianPoint::EulerianPoint ( int  x,
int  y 
)
explicit

EulerianPoint Constructs a new EulerianPoint.

Parameters
xThe x position
yThe y position

Definition at line 28 of file EulerianPoint.cpp.

Member Function Documentation

Field< int > LbmLib::nodes::EulerianPoint::getPos ( ) const

getPos Getter for the pos

Returns
The position

Definition at line 41 of file EulerianPoint.cpp.

virtual std::string LbmLib::nodes::EulerianPoint::getType ( ) const
pure virtual

getType The type of a node class

Returns
Returns the class Name of the point

Implemented in LbmLib::nodes::PhysicalNode.

int LbmLib::nodes::EulerianPoint::getXPos ( ) const

getXPos Getter for the X position

Returns
the x pos

Definition at line 33 of file EulerianPoint.cpp.

int LbmLib::nodes::EulerianPoint::getYPos ( ) const

getYPos Getter for the Y position

Returns
the y pos

Definition at line 37 of file EulerianPoint.cpp.


The documentation for this class was generated from the following files: