Checks if the derived type is valid.
Warning
The expression must be a positive integer, or zero.
Note
If expression is equal to zero, the element is considered not to belong to any physical entity.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh1_reg_phys_type), | intent(in) | :: | reg_phys |
elemental function validate_gmsh_msh1_reg_phys(reg_phys) result(is_valid) type(gmsh_msh1_reg_phys_type), intent(in) :: reg_phys logical :: is_valid is_valid = reg_phys%expression .ge. 0 end function validate_gmsh_msh1_reg_phys