pw:: ExtrusionSolver

The extrusion solver mode type

Derives From

pw::Object pw::Mode pw::Solver

Summary
The extrusion solver mode type
This attribute is the flag for whether the failing step of extrusion should be kept.
This action gets the result of the last extrusion solver run.
This action gets the stop criteria data of the last run at the given index.
This action gets the initial (requested) residual of the last step run.
This action gets the maximum residual of the last step run.
This action gets the minimum Jacobian of the last step run.
This action gets the maximum aspect ratio of the last step run.
This action gets the minimum skew angle of the last step run.
This action gets the height of the last step run.

Instance Attributes

KeepFailingStep

$entity get/setKeepFailingStep keep

This attribute is the flag for whether the failing step of extrusion should be kept.

Type

boolean

Default

false

Instance Actions

getRunResult

$solver getRunResult

This action gets the result of the last extrusion solver run.

Parameters

This action has no parameters.

Returns

This action returns a list of solver status and the number of cells failing the stop crieteria.  Solver status is one of the following strings:

Completednormal termination
Errorunknown problem
InvalidCellsextrusion would produce unsupported cells
StopCriteriaa grid cell failed the stop criteria
SolverFailureinternal solver error

getStopConditionData

$solver getStopConditionData index

This action gets the stop criteria data of the last run at the given index.

Parameters

indexThis parameter is the cell number; [1, number of cells failing).

Returns

This action returns a list of results containing the name of entity containing criteria failure, the IJK index or prism cell number of criteria failure, the type of failure, the cell criteria value, and a list of cell vertex coordinates.  The failure type is one of the following strings:

HeightThe StopAtHeight value was met or exceeded.
AspectRatioThe StopAtAspectRatio value was exceeded.
SkewAngleThe StopAtSkewAngle value was met or exceeded.
PositiveSkewJacobianA positive skewed Jacobian was computed.
ZeroJacobianA zero Jacobian was computed.
NegativeSkewJacobianA negative skewed Jacobian was computed.
NegativeJacobianA negative Jacobian was computed.

getInitialResidual

$solver getInitialResidual

This action gets the initial (requested) residual of the last step run.

Parameters

This action has no parameters.

Returns

This action returns the float initial residual at the current step.

getMaximumResidual

$solver getMaximumResidual

This action gets the maximum residual of the last step run.

Parameters

This action has no parameters.

Returns

This action returns the float maximum residual at the current step.

getMinimumJacobian

$solver getMinimumJacobian

This action gets the minimum Jacobian of the last step run.

Parameters

This action has no parameters.

Returns

This action returns the float minimum Jacobian at the current step.

getMaximumAspectRatio

$solver getMaximumAspectRatio

This action gets the maximum aspect ratio of the last step run.

Parameters

This action has no parameters.

Returns

This action returns the float maximum aspect ratio at the current step.

getMinimumSkewAngle

$solver getMinimumSkewAngle

This action gets the minimum skew angle of the last step run.

Parameters

This action has no parameters.

Returns

This action returns the float minimum skew angle at the current step.

getStepHeight

$solver getStepHeight

This action gets the height of the last step run.

Parameters

This action has no parameters.

Returns

This action returns the float height at the current step.

$entity get/setKeepFailingStep keep
This attribute is the flag for whether the failing step of extrusion should be kept.
$solver getRunResult
This action gets the result of the last extrusion solver run.
$solver getStopConditionData index
This action gets the stop criteria data of the last run at the given index.
$solver getInitialResidual
This action gets the initial (requested) residual of the last step run.
$solver getMaximumResidual
This action gets the maximum residual of the last step run.
$solver getMinimumJacobian
This action gets the minimum Jacobian of the last step run.
$solver getMaximumAspectRatio
This action gets the maximum aspect ratio of the last step run.
$solver getMinimumSkewAngle
This action gets the minimum skew angle of the last step run.
$solver getStepHeight
This action gets the height of the last step run.
Base type for all glyph types
The mode base type
The solver mode type
A boolean is represented as a 0 or 1, with 0 being false and 1 being true.
A float is a fractional number.