#include <Array3D.h>


Public Member Functions | |
| Array3DBordersField3DAdapter () | |
| Array3DBordersField3DAdapter (Dim3D &_dim, T &_initVal) | |
| virtual | ~Array3DBordersField3DAdapter () |
| virtual void | setDim (const Dim3D theDim) |
| virtual Dim3D | getDim () const |
| virtual bool | isValid (const Point3D &pt) const |
| virtual void | set (const Point3D &pt, const T value) |
| virtual T | get (const Point3D &pt) const |
| virtual T | getByIndex (long _offset) const |
| virtual void | setByIndex (long _offset, const T _value) |
Definition at line 204 of file Array3D.h.
| CompuCell3D::Array3DBordersField3DAdapter< T >::Array3DBordersField3DAdapter | ( | ) | [inline] |
| CompuCell3D::Array3DBordersField3DAdapter< T >::Array3DBordersField3DAdapter | ( | Dim3D & | _dim, | |
| T & | _initVal | |||
| ) | [inline] |
Definition at line 207 of file Array3D.h.
References CompuCell3D::Array3DBorders< T >::allocateMemory().

| virtual CompuCell3D::Array3DBordersField3DAdapter< T >::~Array3DBordersField3DAdapter | ( | ) | [inline, virtual] |
| virtual void CompuCell3D::Array3DBordersField3DAdapter< T >::setDim | ( | const Dim3D | theDim | ) | [inline, virtual] |
Change the dimensions of the field dynamically
| theDim | New dimensions. |
Reimplemented from CompuCell3D::Field3DImpl< T >.
Definition at line 219 of file Array3D.h.
References CompuCell3D::Array3DBorders< T >::allocateMemory().
Referenced by CompuCell3D::DiffusionSolverFE::readXML().

| virtual Dim3D CompuCell3D::Array3DBordersField3DAdapter< T >::getDim | ( | ) | const [inline, virtual] |
| virtual bool CompuCell3D::Array3DBordersField3DAdapter< T >::isValid | ( | const Point3D & | pt | ) | const [inline, virtual] |
| pt | A coordinate in 3D space. |
Reimplemented from CompuCell3D::Field3DImpl< T >.
Definition at line 249 of file Array3D.h.
References CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
| virtual void CompuCell3D::Array3DBordersField3DAdapter< T >::set | ( | const Point3D & | pt, | |
| const T | value | |||
| ) | [inline, virtual] |
Set a field element. If the value was already set it will be overwritten. If pt is out of range then a BasicException will be thrown.
| pt | The coordinate of the element. | |
| value | The new value. |
Reimplemented from CompuCell3D::Field3DImpl< T >.
Definition at line 254 of file Array3D.h.
Referenced by CompuCell3D::FlexibleDiffusionSolverFE::readConcentrationField(), and CompuCell3D::AdvectionDiffusionSolverFE::readConcentrationField().
| virtual T CompuCell3D::Array3DBordersField3DAdapter< T >::get | ( | const Point3D & | pt | ) | const [inline, virtual] |
If pt is out of range a BasicException will be thrown.
| pt | The coordinates of the field element. |
Reimplemented from CompuCell3D::Field3DImpl< T >.
Definition at line 263 of file Array3D.h.
Referenced by CompuCell3D::ReactionDiffusionSolverFE_SavHog::outputField(), and CompuCell3D::FlexibleDiffusionSolverFE::outputField().
| virtual T CompuCell3D::Array3DBordersField3DAdapter< T >::getByIndex | ( | long | _offset | ) | const [inline, virtual] |
If _offset is out of range either a BasicException will be thrown or a function will return default value for the field element
| _offset | offset of the field element in the internal field array. |
Reimplemented from CompuCell3D::Field3DImpl< T >.
| virtual void CompuCell3D::Array3DBordersField3DAdapter< T >::setByIndex | ( | long | _offset, | |
| const T | value | |||
| ) | [inline, virtual] |
If _offset is out of range either nothing is done
| _offset | offset of the field element in the internal field array. |
Reimplemented from CompuCell3D::Field3DImpl< T >.
1.5.3