tensormake#

ens_calculator.tensormake(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, scalar: ENS_VAR | str | int, output_varname: str | None = None) ENS_VAR#

Computes a symmetric tensor variable from six scalars. [The 6 tensor components order is TC11, TC22, TC33, TC12, TC13, TC23]

Args:
source_parts:

Any part(s) or a part number.

scalar:

A scalar variable for component T23.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See TensorMake() for function details.