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:
objectA configuration for the heat equation model.
- Parameters:
- 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.
- rod_length: float = 1.0
The length of the rod.