Function Mechatronix::check_in_node

Function Documentation

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

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_node[in] number of node printed in the error message