Measure

class itasca.measure.Measure
Objects of this type should not be created (instantiated) directly in Python. Use the module functions that return instances of this type.
coordination() → float.

Get the measure coordination.

delete() → None.

Delete this measurement object.

id() → int.

Get the measure id.

porosity() → float.

Get the measure porosity.

pos() → vec.

Get the measure location (vector).

pos_x() → float.

Get the x-component of the measure location.

pos_y() → float.

Get the y-component of the measure location.

pos_z() → float.

Get the z-component of the measure location.

radius() → float.

Get the measure radius.

set_pos(value: vec) → None.

Set the measure location (vector).

set_pos_x(value: float) → None.

Set the x-component of the measure location.

set_pos_y(value: float) → None.

Set the y-component of the measure location.

set_pos_z(value: float) → None.

Set the z-component of the measure location.

set_radius(value: float) → None.

Set the measure radius.

size() → array float{nbin,2}.

Get a numpy array of the cumulative size distribution falling withinthis measure object where nbin is the number of bins for the size distribution calculation (see the MEASURE CREATE or MEASURE MODIFY commands.

strainrate() → tensor.

Get the strain rate tensor calculated for this measurement object.

strainrate_full() → tensor.

Get the full strain rate tensor calculated for this measurement object.

stress() → tensor.

Get the stress tensor calculated for this measurement object.

stress_full() → tensor.

Get the full stress tensor calculated for this measurement object.

valid() → bool.

Returns True if this measure is live.