Gromacs
2025-dev-20240913-b871546
|
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. |