tempminmaxfield#

ens_calculator.tempminmaxfield(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, variable: ENS_VAR | str | int, t1: int, t2: int, flag: int, output_varname: str | None = None) ENS_VAR#

Computes a variable defined as the minimum or maximum (user choice) of the specified variable at the nodes/elements given a range of timesteps

Args:
source_parts:

Any model part(s) or a model part number.

variable:

A scalar or vector variable.

t1:

A beginning time step.

t2:

An ending time step.

flag:

Enter 0 for minium or 1 for maximum

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See TempMinMaxField() for function details.