Itasca C++ Interface
Loading...
Searching...
No Matches
icellspace.h
Go to the documentation of this file.
1#pragma once
2// icontainercell.h
3
10#include "dim.h"
11
12namespace itascaxd {
13
15
24 class ICellSpace {
25 public:
27 virtual const ICellSpace * isRefined(int) const=0;
29 virtual bool isNonEmpty(int) const=0;
31 virtual IVect getNumCells() const=0;
33 virtual double getCellLen() const=0;
35 virtual DExtent getCellExtent() const=0;
37 virtual uint32 getTopologyChangedNotice() const=0;
38 };
39}
40// EoF
Interface to a "refining" cell space.
Definition icellspace.h:24
virtual double getCellLen() const =0
Returns the length of cell side (the cell is square)
virtual IVect getNumCells() const =0
Returns a vector that contains the numbers of cells in each coordinate direction.
virtual bool isNonEmpty(int) const =0
Returns true if there is a corresponding cell space corresponding to a given an index.
virtual DExtent getCellExtent() const =0
Returns the cell extent.
virtual const ICellSpace * isRefined(int) const =0
Returns the cell space corresponding to a given an index.
virtual uint32 getTopologyChangedNotice() const =0
Returns the NoticeManager ID for changes in the topology of the cell space.
DIM - Provides code portability between 2D and 3D codes.
DExtent3 DExtent
A DExtent2 in 2D, a DExtent3 in 3D.
Definition dim.h:160
IVect3 IVect
Vector of ints, either 2D or 3D.
Definition dim.h:156
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4