Function Mechatronix::check¶
Defined in File Mechatronix.cc
Function Documentation¶
-
void
Mechatronix
::
check
(real_type const *pv, char const *v_name, integer DIM)¶
-
check if the vector
pv
os sizeDIM
contains only regular floats. If not an error is issuedcheck for Inf or NaN
- Parameters
-
pv – [in] pointer to the vector to be checked
v_name – [in] name printed in the message when Inf or NaN is found
DIM – [in] number of elements of the vector