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.

Index

Constructors

Accessors

Methods

Constructors

cee.usg.PartScalars.constructor()
PartScalars(resultMapping: ResultMapping, valueArray: ArrayLike): PartScalars

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.

Parameters

resultMapping: ResultMapping

valueArray: ArrayLike

Returns: PartScalars

Accessors

cee.usg.PartScalars.resultMapping()
get resultMapping(): ResultMapping

The result mapping of this object

Returns: ResultMapping

cee.usg.PartScalars.valueArray()
get valueArray(): ArrayLike

A readonly array with the scalar results

Returns: ArrayLike

Methods

cee.usg.PartScalars.getValueRange()
getValueRange(): Range

The range (min/max) if the valueArray

Returns: Range