Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
icellspace.h
Go to the documentation of this file.
1
#pragma once
2
// icontainercell.h
3
8
9
10
#include "
dim.h
"
11
12
namespace
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
itascaxd::ICellSpace
Interface to a "refining" cell space.
Definition
icellspace.h:24
itascaxd::ICellSpace::getCellLen
virtual double getCellLen() const =0
Returns the length of cell side (the cell is square).
itascaxd::ICellSpace::getNumCells
virtual IVect getNumCells() const =0
Returns a vector that contains the numbers of cells in each coordinate direction.
itascaxd::ICellSpace::isNonEmpty
virtual bool isNonEmpty(int) const =0
Returns true if there is a corresponding cell space corresponding to a given an index.
itascaxd::ICellSpace::getCellExtent
virtual DExtent getCellExtent() const =0
Returns the cell extent.
itascaxd::ICellSpace::isRefined
virtual const ICellSpace * isRefined(int) const =0
Returns the cell space corresponding to a given an index.
itascaxd::ICellSpace::getTopologyChangedNotice
virtual uint32 getTopologyChangedNotice() const =0
Returns the NoticeManager ID for changes in the topology of the cell space.
dim.h
DIM - Provides code portability between 2D and 3D codes.
DExtent
DExtent3 DExtent
A DExtent2 in 2D, a DExtent3 in 3D.
Definition
dim.h:162
IVect
IVect3 IVect
Vector of ints, either 2D or 3D.
Definition
dim.h:158
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:6
common
module
interface
icellspace.h
Generated by
1.18.0