Checks if the derived type is valid.
Warning
The expression must be a positive (non-zero) integer.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh1_reg_elem_type), | intent(in) | :: | reg_elem |
elemental function validate_gmsh_msh1_reg_elem(reg_elem) result(is_valid) type(gmsh_msh1_reg_elem_type), intent(in) :: reg_elem logical :: is_valid is_valid = reg_elem%expression .gt. 0 end function validate_gmsh_msh1_reg_elem