Function Mechatronix::check

Function Documentation

void Mechatronix::check(real_type const *pv, char const *v_name, integer DIM)

check if the vector pv os size DIM contains only regular floats. If not an error is issued

check 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