You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
## Upcoming
8
8
### Changed
9
9
- slight optimisation of the cfl estimation for parabolic terms (makes a difference when several explicit parabolic terms are used simultaneously)
10
+
- use input::Get<T> and input::GetOrSet<T> instead of the old input:GetInt, input:GetReal... the new functions have a better error handling, and also allows explicit default values.
11
+
- ensure that error messages are sent to std::cerr using a dedicated stream
10
12
11
13
### Added
12
14
- isotropic thermal diffusion (anisotropic diffusion in MHD will come later)
Copy file name to clipboardExpand all lines: doc/source/reference/idefix.ini.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ allows for comments, which should start with ``#``.
9
9
10
10
.. tip::
11
11
Note that you can add arbitray sections and entries in the input file freely. *Idefix* will automatically read and store them on startup. They are then accessible in the code using the
12
-
``Input::GetReal(..)``, ``Input::GetInt(...)`` and ``Input::GetString(..)`` methods defined in the ``Input`` class (see :ref:`inputClass`)
12
+
``Input::Get<T>(..)``and ``Input::GetOrSet<T>`` methods defined in the ``Input`` class (see :ref:`inputClass`).
13
13
14
14
``Grid`` section
15
15
--------------------
@@ -116,7 +116,7 @@ This section is used by the hydrodynamics class of *Idefix*. It defines the hydr
116
116
|||| to be enrolled with ``EnrollIsoSoundSpeed(IsoSoundSpeedFunc)`` |
117
117
|||| (see :ref:`functionEnrollment`). In this case, the second parameter is not used. |
0 commit comments