|
Gromacs
2026.0
|
Functions | |
| template<typename T > | |
| void | assertIsFinite (T arg) |
| Asserts if the argument is finite. More... | |
| template<> | |
| void | assertIsFinite (Float3 gmx_unused arg) |
| template<typename T > | |
| void | assertIsFinite (T gmx_unused arg) |
|
inline |
Asserts if the argument is finite.
The function works for any data type, that can be casted to float. Note that there is also a specialized implementation for float3 data type.
| [in] | arg | Argument to check. |
1.8.5