Function Mechatronix::check_in_segment

Function Documentation

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

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

  • i_segment[in] number of segment printed in the error message