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