Chemical Data Processing Library Python API - Version 1.2.0
Public Member Functions | Properties | List of all members
CDPL.Grid.DRegularGrid Class Reference

RegularGrid. More...

+ Inheritance diagram for CDPL.Grid.DRegularGrid:

Public Member Functions

None __init__ (DRegularGrid grid)
 Initializes a copy of the DRegularGrid instance grid. More...
 
None __init__ (Math.DGrid data, float xs, float ys, float zs)
 Initializes the DRegularGrid instance. More...
 
None __init__ (Math.DGrid data, float s)
 Initializes the DRegularGrid instance. More...
 
None __init__ (float xs, float ys, float zs)
 Initializes the DRegularGrid instance. More...
 
None __init__ (float s)
 Initializes the DRegularGrid instance. More...
 
None getCoordinates (int i, int j, int k, object coords)
 
None getCoordinates (int i, object coords)
 
Math.DRegularSpatialGrid assign (Math.ConstFGridExpression e)
 Replaces the current state of self with a copy of the state of the ConstFGridExpression instance e. More...
 
Math.DRegularSpatialGrid assign (Math.ConstDGridExpression e)
 Replaces the current state of self with a copy of the state of the ConstDGridExpression instance e. More...
 
Math.DRegularSpatialGrid assign (object e)
 Replaces the current state of self with a copy of the state of the object instance e. More...
 
Math.DRegularSpatialGrid assign (Math.DRegularSpatialGrid g)
 Replaces the current state of self with a copy of the state of the DRegularSpatialGrid instance g. More...
 
int getSize1 ()
 
int getSize2 ()
 
int getSize3 ()
 
bool isEmpty ()
 
float getElement (int i, int j, int k)
 
float getElement (int i)
 
object toArray ()
 
int getSize ()
 
None swap (Math.DRegularSpatialGrid g)
 
None setElement (int i, int j, int k, float v)
 
None setElement (int i, float v)
 
Base.Any __getitem__ (Base.LookupKey key)
 
float __getitem__ (tuple ijk)
 
float __getitem__ (int i)
 
bool __contains__ (Base.LookupKey key)
 Returns the result of the membership test operation key in self. More...
 
None __setitem__ (Base.LookupKey key, Base.Any value)
 
None __setitem__ (tuple ijk, float v)
 
None __setitem__ (int i, float v)
 
bool __delitem__ (Base.LookupKey key)
 
int __len__ ()
 
float __call__ (int i, int j, int k)
 
float __call__ (int i)
 
bool __eq__ (Math.DRegularSpatialGrid g)
 Returns the result of the comparison operation self == g. More...
 
bool __eq__ (Math.ConstDGridExpression e)
 Returns the result of the comparison operation self == e. More...
 
bool __ne__ (Math.DRegularSpatialGrid g)
 Returns the result of the comparison operation self != g. More...
 
bool __ne__ (Math.ConstDGridExpression e)
 Returns the result of the comparison operation self != e. More...
 
str __str__ ()
 Returns a string representation of the DRegularGrid instance. More...
 
Math.DRegularSpatialGrid __pos__ ()
 
Math.ConstDGridExpression __neg__ ()
 
Math.ConstDGridExpression __add__ (Math.ConstDGridExpression e)
 Returns the result of the addition operation self + e. More...
 
Math.ConstDGridExpression __sub__ (Math.ConstDGridExpression e)
 Returns the result of the subtraction operation self - e. More...
 
Math.ConstDGridExpression __mul__ (float t)
 Returns the result of the multiplication operation self * t. More...
 
Math.ConstDGridExpression __div__ (float t)
 Returns the result of the division operation self / t. More...
 
Math.ConstDGridExpression __truediv__ (float t)
 
Math.ConstDGridExpression __rmul__ (float t)
 
Math.DRegularSpatialGrid __iadd__ (Math.DRegularSpatialGrid g)
 Performs the in-place addition operation self += g. More...
 
Math.DRegularSpatialGrid __iadd__ (Math.ConstDGridExpression e)
 Performs the in-place addition operation self += e. More...
 
Math.DRegularSpatialGrid __isub__ (Math.DRegularSpatialGrid g)
 Performs the in-place subtraction operation self -= g. More...
 
Math.DRegularSpatialGrid __isub__ (Math.ConstDGridExpression e)
 Performs the in-place subtraction operation self -= e. More...
 
Math.DRegularSpatialGrid __imul__ (float t)
 Performs the in-place multiplication operation self *= t. More...
 
Math.DRegularSpatialGrid __idiv__ (float t)
 Performs the in-place division operation self /= t. More...
 
Math.DRegularSpatialGrid __itruediv__ (float t)
 
tuple __getstate__ ()
 
- Public Member Functions inherited from CDPL.Grid.DSpatialGrid
None __init__ ()
 Initializes the DSpatialGrid instance.
 
int getNumElements ()
 
None getCoordinates (int i, Math.Vector3D coords)
 
- Public Member Functions inherited from CDPL.Base.PropertyContainer
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
int getNumProperties ()
 Returns the number of property entries. More...
 
Any getPropertyOrDefault (LookupKey key, Any def_value)
 
list getPropertyKeys ()
 
list getPropertyValues ()
 
list getProperties ()
 Returns a reference to itself. More...
 
None setProperty (LookupKey key, Any value)
 
bool removeProperty (LookupKey key)
 Clears the value of the property specified by key. More...
 
Any getProperty (LookupKey key, bool throw_=False)
 Returns the value of the property specified by key. More...
 
bool isPropertySet (LookupKey key)
 Tells whether or not a value has been assigned to the property specified by key. More...
 
None clearProperties ()
 Clears all property values.
 
None addProperties (PropertyContainer cntnr)
 Adds the property value entries in the PropertyContainer instance cntnr. More...
 
None copyProperties (PropertyContainer cntnr)
 Replaces the current set of properties by a copy of the entries in cntnr. More...
 
None swap (PropertyContainer cntnr)
 Exchanges the properties of this container with the properties of the container cntnr. More...
 
Any __getitem__ (LookupKey key)
 
bool __contains__ (LookupKey key)
 Returns the result of the membership test operation key in self. More...
 
None __setitem__ (LookupKey key, Any value)
 
bool __delitem__ (LookupKey key)
 
- Public Member Functions inherited from CDPL.Math.DRegularSpatialGrid
None __init__ (DRegularSpatialGrid grid)
 Initializes a copy of the DRegularSpatialGrid instance grid. More...
 
None __init__ (DGrid data, float xs, float ys, float zs)
 Initializes the DRegularSpatialGrid instance. More...
 
None __init__ (DGrid data, float s)
 Initializes the DRegularSpatialGrid instance. More...
 
None resize (int m, int n, int o, bool preserve=True, float v=0.0)
 
None clear (float v=0.0)
 
DataMode getDataMode ()
 
None setDataMode (DataMode mode)
 
float getXExtent ()
 
float getYExtent ()
 
float getZExtent ()
 
float getXStepSize ()
 
float getYStepSize ()
 
float getZStepSize ()
 
None setXStepSize (float xs)
 
None setYStepSize (float ys)
 
None setZStepSize (float zs)
 
DGrid getData ()
 
None setCoordinatesTransform (Matrix4D xform)
 
Matrix4D getCoordinatesTransform ()
 
None getLocalCoordinates (int i, int j, int k, object coords)
 
None getLocalCoordinates (Vector3D world_coords, object local_coords)
 
bool containsPoint (Vector3F pos)
 
bool containsPoint (ConstFVectorExpression pos)
 
bool containsPoint (Vector3D pos)
 
bool containsPoint (ConstDVectorExpression pos)
 
bool containsPoint (Vector3L pos)
 
bool containsPoint (ConstLVectorExpression pos)
 
bool containsPoint (Vector3UL pos)
 
bool containsPoint (ConstULVectorExpression pos)
 
bool containsLocalPoint (Vector3F pos)
 
bool containsLocalPoint (ConstFVectorExpression pos)
 
bool containsLocalPoint (Vector3D pos)
 
bool containsLocalPoint (ConstDVectorExpression pos)
 
bool containsLocalPoint (Vector3L pos)
 
bool containsLocalPoint (ConstLVectorExpression pos)
 
bool containsLocalPoint (Vector3UL pos)
 
bool containsLocalPoint (ConstULVectorExpression pos)
 
None getContainingCell (Vector3F pos, object indices)
 
None getContainingCell (ConstFVectorExpression pos, object indices)
 
None getContainingCell (Vector3D pos, object indices)
 
None getContainingCell (ConstDVectorExpression pos, object indices)
 
None getContainingCell (Vector3L pos, object indices)
 
None getContainingCell (ConstLVectorExpression pos, object indices)
 
None getContainingCell (Vector3UL pos, object indices)
 
None getContainingCell (ConstULVectorExpression pos, object indices)
 
None getLocalContainingCell (Vector3F pos, object indices)
 
None getLocalContainingCell (ConstFVectorExpression pos, object indices)
 
None getLocalContainingCell (Vector3D pos, object indices)
 
None getLocalContainingCell (ConstDVectorExpression pos, object indices)
 
None getLocalContainingCell (Vector3L pos, object indices)
 
None getLocalContainingCell (ConstLVectorExpression pos, object indices)
 
None getLocalContainingCell (Vector3UL pos, object indices)
 
None getLocalContainingCell (ConstULVectorExpression pos, object indices)
 
int getObjectID ()
 Returns the numeric identifier (ID) of the wrapped C++ class instance. More...
 
DRegularSpatialGrid assign (ConstFGridExpression e)
 Replaces the current state of self with a copy of the state of the ConstFGridExpression instance e. More...
 
DRegularSpatialGrid assign (ConstDGridExpression e)
 Replaces the current state of self with a copy of the state of the ConstDGridExpression instance e. More...
 
DRegularSpatialGrid assign (DRegularSpatialGrid g)
 Replaces the current state of self with a copy of the state of the DRegularSpatialGrid instance g. More...
 
None swap (DRegularSpatialGrid g)
 
bool __eq__ (DRegularSpatialGrid g)
 Returns the result of the comparison operation self == g. More...
 
bool __eq__ (ConstDGridExpression e)
 Returns the result of the comparison operation self == e. More...
 
bool __ne__ (DRegularSpatialGrid g)
 Returns the result of the comparison operation self != g. More...
 
bool __ne__ (ConstDGridExpression e)
 Returns the result of the comparison operation self != e. More...
 
ConstDGridExpression __add__ (ConstDGridExpression e)
 Returns the result of the addition operation self + e. More...
 
ConstDGridExpression __sub__ (ConstDGridExpression e)
 Returns the result of the subtraction operation self - e. More...
 
DRegularSpatialGrid __iadd__ (DRegularSpatialGrid g)
 Performs the in-place addition operation self += g. More...
 
DRegularSpatialGrid __iadd__ (ConstDGridExpression e)
 Performs the in-place addition operation self += e. More...
 
DRegularSpatialGrid __isub__ (DRegularSpatialGrid g)
 Performs the in-place subtraction operation self -= g. More...
 
DRegularSpatialGrid __isub__ (ConstDGridExpression e)
 Performs the in-place subtraction operation self -= e. More...
 

Properties

 size1 = property(getSize1)
 
 size2 = property(getSize2)
 
 size3 = property(getSize3)
 
- Properties inherited from CDPL.Grid.AttributedGrid
 numElements = property(getNumElements)
 
- Properties inherited from CDPL.Base.PropertyContainer
 objectID = property(getObjectID)
 
 propertyKeys = property(getPropertyKeys)
 
 propertyValues = property(getPropertyValues)
 
 properties = property(getProperties)
 
 numProperties = property(getNumProperties)
 
- Properties inherited from CDPL.Math.DRegularSpatialGrid
 data = property(getData)
 
 coordsTransform = property(getCoordinatesTransform, setCoordinatesTransform)
 
 dataMode = property(getDataMode, setDataMode)
 
 xStepSize = property(getXStepSize, setXStepSize)
 
 yStepSize = property(getYStepSize, setYStepSize)
 
 zStepSize = property(getZStepSize, setZStepSize)
 
 xExtent = property(getXExtent)
 
 yExtent = property(getYExtent)
 
 zExtent = property(getZExtent)
 
 objectID = property(getObjectID)
 
 size1 = property(getSize1)
 
 size2 = property(getSize2)
 
 size3 = property(getSize3)
 

Detailed Description

RegularGrid.

Constructor & Destructor Documentation

◆ __init__() [1/5]

None CDPL.Grid.DRegularGrid.__init__ ( DRegularGrid  grid)

Initializes a copy of the DRegularGrid instance grid.

Parameters
gridThe DRegularGrid instance to copy.

◆ __init__() [2/5]

None CDPL.Grid.DRegularGrid.__init__ ( Math.DGrid  data,
float  xs,
float  ys,
float  zs 
)

Initializes the DRegularGrid instance.

Parameters
data
xs
ys
zs

◆ __init__() [3/5]

None CDPL.Grid.DRegularGrid.__init__ ( Math.DGrid  data,
float  s 
)

Initializes the DRegularGrid instance.

Parameters
data
s

◆ __init__() [4/5]

None CDPL.Grid.DRegularGrid.__init__ ( float  xs,
float  ys,
float  zs 
)

Initializes the DRegularGrid instance.

Parameters
xs
ys
zs

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __init__() [5/5]

None CDPL.Grid.DRegularGrid.__init__ ( float  s)

Initializes the DRegularGrid instance.

Parameters
s

Reimplemented from CDPL.Math.DRegularSpatialGrid.

Member Function Documentation

◆ getCoordinates() [1/2]

None CDPL.Grid.DRegularGrid.getCoordinates ( int  i,
int  j,
int  k,
object  coords 
)
Parameters
i
j
k
coords

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ getCoordinates() [2/2]

None CDPL.Grid.DRegularGrid.getCoordinates ( int  i,
object  coords 
)
Parameters
i
coords

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ assign() [1/4]

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.assign ( Math.ConstFGridExpression  e)

Replaces the current state of self with a copy of the state of the ConstFGridExpression instance e.

Parameters
eThe ConstFGridExpression instance to copy.
Returns
self

◆ assign() [2/4]

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.assign ( Math.ConstDGridExpression  e)

Replaces the current state of self with a copy of the state of the ConstDGridExpression instance e.

Parameters
eThe ConstDGridExpression instance to copy.
Returns
self

◆ assign() [3/4]

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.assign ( object  e)

Replaces the current state of self with a copy of the state of the object instance e.

Parameters
eThe object instance to copy.
Returns
self

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ assign() [4/4]

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.assign ( Math.DRegularSpatialGrid  g)

Replaces the current state of self with a copy of the state of the DRegularSpatialGrid instance g.

Parameters
gThe DRegularSpatialGrid instance to copy.
Returns
self

◆ getSize1()

int CDPL.Grid.DRegularGrid.getSize1 ( )
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ getSize2()

int CDPL.Grid.DRegularGrid.getSize2 ( )
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ getSize3()

int CDPL.Grid.DRegularGrid.getSize3 ( )
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ isEmpty()

bool CDPL.Grid.DRegularGrid.isEmpty ( )
Returns

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ getElement() [1/2]

float CDPL.Grid.DRegularGrid.getElement ( int  i,
int  j,
int  k 
)
Parameters
i
j
k
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ getElement() [2/2]

float CDPL.Grid.DRegularGrid.getElement ( int  i)
Parameters
i
Returns

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ toArray()

object CDPL.Grid.DRegularGrid.toArray ( )
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ getSize()

int CDPL.Grid.DRegularGrid.getSize ( )
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ swap()

None CDPL.Grid.DRegularGrid.swap ( Math.DRegularSpatialGrid  g)
Parameters
g

◆ setElement() [1/2]

None CDPL.Grid.DRegularGrid.setElement ( int  i,
int  j,
int  k,
float  v 
)
Parameters
i
j
k
v

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ setElement() [2/2]

None CDPL.Grid.DRegularGrid.setElement ( int  i,
float  v 
)
Parameters
i
v

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ __getitem__() [1/3]

Base.Any CDPL.Grid.DRegularGrid.__getitem__ ( Base.LookupKey  key)
Parameters
key
Returns

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ __getitem__() [2/3]

float CDPL.Grid.DRegularGrid.__getitem__ ( tuple  ijk)
Parameters
ijk
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __getitem__() [3/3]

float CDPL.Grid.DRegularGrid.__getitem__ ( int  i)
Parameters
i
Returns

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ __contains__()

bool CDPL.Grid.DRegularGrid.__contains__ ( Base.LookupKey  key)

Returns the result of the membership test operation key in self.

Parameters
keyThe value to test for membership.
Returns
The result of the membership test operation.

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ __setitem__() [1/3]

None CDPL.Grid.DRegularGrid.__setitem__ ( Base.LookupKey  key,
Base.Any  value 
)
Parameters
key
value

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ __setitem__() [2/3]

None CDPL.Grid.DRegularGrid.__setitem__ ( tuple  ijk,
float  v 
)
Parameters
ijk
v

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __setitem__() [3/3]

None CDPL.Grid.DRegularGrid.__setitem__ ( int  i,
float  v 
)
Parameters
i
v

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ __delitem__()

bool CDPL.Grid.DRegularGrid.__delitem__ ( Base.LookupKey  key)
Parameters
key
Returns

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ __len__()

int CDPL.Grid.DRegularGrid.__len__ ( )
Returns

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ __call__() [1/2]

float CDPL.Grid.DRegularGrid.__call__ ( int  i,
int  j,
int  k 
)
Parameters
i
j
k
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __call__() [2/2]

float CDPL.Grid.DRegularGrid.__call__ ( int  i)
Parameters
i
Returns

Reimplemented from CDPL.Grid.DSpatialGrid.

◆ __eq__() [1/2]

bool CDPL.Grid.DRegularGrid.__eq__ ( Math.DRegularSpatialGrid  g)

Returns the result of the comparison operation self == g.

Parameters
gThe DRegularSpatialGrid instance to be compared with.
Returns
The result of the comparison operation.

◆ __eq__() [2/2]

bool CDPL.Grid.DRegularGrid.__eq__ ( Math.ConstDGridExpression  e)

Returns the result of the comparison operation self == e.

Parameters
eThe ConstDGridExpression instance to be compared with.
Returns
The result of the comparison operation.

◆ __ne__() [1/2]

bool CDPL.Grid.DRegularGrid.__ne__ ( Math.DRegularSpatialGrid  g)

Returns the result of the comparison operation self != g.

Parameters
gThe DRegularSpatialGrid instance to be compared with.
Returns
The result of the comparison operation.

◆ __ne__() [2/2]

bool CDPL.Grid.DRegularGrid.__ne__ ( Math.ConstDGridExpression  e)

Returns the result of the comparison operation self != e.

Parameters
eThe ConstDGridExpression instance to be compared with.
Returns
The result of the comparison operation.

◆ __str__()

str CDPL.Grid.DRegularGrid.__str__ ( )

Returns a string representation of the DRegularGrid instance.

Returns
The generated string representation.

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __pos__()

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.__pos__ ( )
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __neg__()

Math.ConstDGridExpression CDPL.Grid.DRegularGrid.__neg__ ( )
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __add__()

Math.ConstDGridExpression CDPL.Grid.DRegularGrid.__add__ ( Math.ConstDGridExpression  e)

Returns the result of the addition operation self + e.

Parameters
eSpecifies the second addend.
Returns
A Math.ConstDGridExpression instance holding the result of the addition.

◆ __sub__()

Math.ConstDGridExpression CDPL.Grid.DRegularGrid.__sub__ ( Math.ConstDGridExpression  e)

Returns the result of the subtraction operation self - e.

Parameters
eSpecifies the subtrahend.
Returns
A DRegularGrid instance holding the result of the subtraction.

◆ __mul__()

Math.ConstDGridExpression CDPL.Grid.DRegularGrid.__mul__ ( float  t)

Returns the result of the multiplication operation self * t.

Parameters
tSpecifies the multiplier.
Returns
A Math.ConstDGridExpression instance holding the result of the multiplication.

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __div__()

Math.ConstDGridExpression CDPL.Grid.DRegularGrid.__div__ ( float  t)

Returns the result of the division operation self / t.

Parameters
tSpecifies the divisor.
Returns
A Math.ConstDGridExpression instance holding the result of the division.

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __truediv__()

Math.ConstDGridExpression CDPL.Grid.DRegularGrid.__truediv__ ( float  t)
Parameters
t
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __rmul__()

Math.ConstDGridExpression CDPL.Grid.DRegularGrid.__rmul__ ( float  t)
Parameters
t
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __iadd__() [1/2]

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.__iadd__ ( Math.DRegularSpatialGrid  g)

Performs the in-place addition operation self += g.

Parameters
gSpecifies the second addend.
Returns
The updated Math.DRegularSpatialGrid instance self.

◆ __iadd__() [2/2]

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.__iadd__ ( Math.ConstDGridExpression  e)

Performs the in-place addition operation self += e.

Parameters
eSpecifies the second addend.
Returns
The updated Math.DRegularSpatialGrid instance self.

◆ __isub__() [1/2]

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.__isub__ ( Math.DRegularSpatialGrid  g)

Performs the in-place subtraction operation self -= g.

Parameters
gSpecifies the subtrahend.
Returns
The updated Math.DRegularSpatialGrid instance self.

◆ __isub__() [2/2]

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.__isub__ ( Math.ConstDGridExpression  e)

Performs the in-place subtraction operation self -= e.

Parameters
eSpecifies the subtrahend.
Returns
The updated Math.DRegularSpatialGrid instance self.

◆ __imul__()

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.__imul__ ( float  t)

Performs the in-place multiplication operation self *= t.

Parameters
tSpecifies the multiplier.
Returns
The updated Math.DRegularSpatialGrid instance self.

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __idiv__()

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.__idiv__ ( float  t)

Performs the in-place division operation self /= t.

Parameters
tSpecifies the divisor.
Returns
The updated Math.DRegularSpatialGrid instance self.

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __itruediv__()

Math.DRegularSpatialGrid CDPL.Grid.DRegularGrid.__itruediv__ ( float  t)
Parameters
t
Returns

Reimplemented from CDPL.Math.DRegularSpatialGrid.

◆ __getstate__()

tuple CDPL.Grid.DRegularGrid.__getstate__ ( )
Parameters
arg1
Returns