The IRegularGrid2D class.
More...
#include <hydrocouplespatial.h>
◆ ~IRegularGrid2D()
virtual HydroCouple::Spatial::IRegularGrid2D::~IRegularGrid2D |
( |
| ) |
|
|
pure virtual |
◆ gridType()
virtual RegularGridType HydroCouple::Spatial::IRegularGrid2D::gridType |
( |
| ) |
const |
|
pure virtual |
◆ isActive()
virtual bool HydroCouple::Spatial::IRegularGrid2D::isActive |
( |
int |
xCellIndex, |
|
|
int |
yCellIndex |
|
) |
| const |
|
pure virtual |
isActive is a bool indicating whether a cell is active.
- Parameters
-
xCellIndex | the x cell index for the cell. Must be less than numXNodes() - 1. |
yCellIndex | the y cell index for the cell. Must be less than numYNodes() - 1. |
- Returns
- a bool indicating whether a cell is active.
◆ numXNodes()
virtual int HydroCouple::Spatial::IRegularGrid2D::numXNodes |
( |
| ) |
const |
|
pure virtual |
numXNodes represents the number of nodes in the x direction.
- Returns
- number of nodes in the x direction.
◆ numYNodes()
virtual int HydroCouple::Spatial::IRegularGrid2D::numYNodes |
( |
| ) |
const |
|
pure virtual |
numYNodes represents the number of nodes in the y direction.
- Returns
- number of nodes in the y direction.
◆ xNodeLocation()
virtual double HydroCouple::Spatial::IRegularGrid2D::xNodeLocation |
( |
int |
xNodeIndex, |
|
|
int |
yNodeIndex |
|
) |
| const |
|
pure virtual |
xNodeLocation provides the x location coordinate for the x-node and y-node indexes.
- Parameters
-
xNodeIndex | the x-node index. |
yNodeIndex | the y-node index |
- Returns
- returns x location coordinate for the x-node and y-node provided
◆ yNodeLocation()
virtual double HydroCouple::Spatial::IRegularGrid2D::yNodeLocation |
( |
int |
xNodeIndex, |
|
|
int |
yNodeIndex |
|
) |
| const |
|
pure virtual |
yNodeLocation provides the x location coordinate for the x-node and y-node indexes.
- Parameters
-
xNodeIndex | the x-node index. |
yNodeIndex | the y-node index |
- Returns
- returns y location coordinate for the x-node and y-node provided
The documentation for this class was generated from the following file: