1D Heat Equation Solver 1.0
Computational Methods Assignment 2025
Loading...
Searching...
No Matches
NumParams Struct Reference

Numerical parameters controlling the discretization and output. More...

#include <types.hpp>

Collaboration diagram for NumParams:
Collaboration graph

Public Attributes

double dx = 0.05
 Spatial step [cm].
double dt = 0.01
 Time step [h].
double tEnd = 0.5
 Final time [h].
double outEvery = 0.1
 Output interval [h].

Detailed Description

Numerical parameters controlling the discretization and output.

Definition at line 20 of file types.hpp.

Member Data Documentation

◆ dt

double NumParams::dt = 0.01

Time step [h].

Definition at line 22 of file types.hpp.

◆ dx

double NumParams::dx = 0.05

Spatial step [cm].

Definition at line 21 of file types.hpp.

◆ outEvery

double NumParams::outEvery = 0.1

Output interval [h].

Definition at line 24 of file types.hpp.

◆ tEnd

double NumParams::tEnd = 0.5

Final time [h].

Definition at line 23 of file types.hpp.


The documentation for this struct was generated from the following file: