gemseo_umdo /
use_cases /
heat_equationHide inherited members
configuration module
A configuration for the heat equation model.
[HeatEquationConfiguration][gemseo_umdo.use_cases.heat_equation.configuration.HeatEquationConfiguration]
is used by
[HeatEquationModel][gemseo_umdo.use_cases.heat_equation.model.HeatEquationModel];
read its docstring for more details.
-
class gemseo_umdo.use_cases.heat_equation.configuration.HeatEquationConfiguration(mesh_size=100, n_modes=21, final_time=0.5, nu_bounds=(0.001, 0.009), rod_length=1.0)[source]
Bases: object
A configuration for the heat equation model.
- Parameters:
mesh_size (int) –
By default it is set to 100.
n_modes (int) –
By default it is set to 21.
final_time (float) –
By default it is set to 0.5.
nu_bounds (tuple[float, float]) –
By default it is set to (0.001, 0.009).
rod_length (float) –
By default it is set to 1.0.
-
cost: int
The evaluation cost of the
[HeatEquationModel][gemseo_umdo.use_cases.heat_equation.model.HeatEquationModel].
-
expectation: float
The theoretical expectation of the integral of the temperature along the rod.
-
final_time: float = 0.5
The time of interest, denoted $t_f$.
-
mesh: ndarray[Any, dtype[float]]
The mesh for the
[HeatEquationModel][gemseo_umdo.use_cases.heat_equation.model.HeatEquationModel].
-
mesh_size: int = 100
The number of equispaced spatial nodes.
-
n_modes: int = 21
The number of modes of the truncated Fourier expansion.
-
nu_bounds: tuple[float, float] = (0.001, 0.009)
The bounds of the thermal diffusivity.
-
rod_length: float = 1.0
The length of the rod.