PartScalars

class cee.usg.PartScalars()

Scalar results for one part in one state.

The results can be mapped to the mesh as per node, per elements or per element node results.

The PartScalars class is immutable.

Constructors

Accessors

  • resultMapping

  • valueArray

Methods


Constructors

PartScalars.constructor(resultMapping, valueArrray)
Arguments:
  • resultMapping (ResultMapping) – None

  • valueArrray (ArrayLike) – None

Create a scalar result for a part/mesh with the given mapping and values.

Note: There is some performance penalty for visualizing per element or per element node results, as the vertices needs to be duplicated in order to produce the WebGL based visualization. This will result in higher GPU and CPU memory usage.

Return type:

PartScalars

Accessors

cee.usg.resultMapping()

The result mapping of this object

Return type:

ResultMapping

cee.usg.valueArray()

A readonly array with the scalar results

Return type:

ArrayLike <number>

Methods

getValueRange

PartScalars.getValueRange()

The range (min/max) if the valueArray

Return type:

Range