Checks if the derived type is valid.
Note
Verification by ieee_is_finite is not required by the gmsh documentation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh1_node_type), | intent(in) | :: | node |
elemental function validate_gmsh_msh1_node(node) result(is_valid) type(gmsh_msh1_node_type), intent(in) :: node logical :: is_valid is_valid = validate(node%node_number) if ( .not. is_valid ) return is_valid = ieee_is_finite(node%x_coord) &! & .and. ieee_is_finite(node%y_coord) &! & .and. ieee_is_finite(node%z_coord) end function validate_gmsh_msh1_node