sunpeek.core_methods.dcam_lite_collective.dcam.forward_simulation.DCAM2NState#
- class sunpeek.core_methods.dcam_lite_collective.dcam.forward_simulation.DCAM2NState(T_f: jnp.ndarray, T_s: jnp.ndarray)#
Bases:
NamedTupleFluid and solid temperature state on the D-CAM 2-N spatial grid.
This container is used by diffrax both for the current ODE state and for the corresponding time derivative returned by the RHS function.
Fields#
- T_f:
Fluid temperature field [K], shape (N,)
- T_s:
Solid temperature field [K], shape (N,)
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
-
T_f:
Array# Alias for field number 0
-
T_s:
Array# Alias for field number 1
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.