Look up a gmsh_msh1_node_type in the gmsh_msh1_data_type.
Warning
If no gmsh_msh1_node_type corresponding to the location argument exists, a gmsh_msh1_node_type initialized by initialize_gmsh_msh1_node will be returned.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gmsh_msh1_data_type), | intent(in) | :: | mesh_data | |||
integer, | intent(in) | :: | location |
location in node |
elemental function lookup_node_by_loc_gmsh_msh1_file(mesh_data, location) result(node) type(gmsh_msh1_data_type), intent(in) :: mesh_data !> location in [[gmsh_msh1_data_type:node]] integer, intent(in) :: location type(gmsh_msh1_node_type) :: node if (location .lt. 1) then call initialize_gmsh_msh1_node(node) else if ( output_number_of_nodes(mesh_data) .lt. location ) then call initialize_gmsh_msh1_node(node) else node = mesh_data%node(location) end if end function lookup_node_by_loc_gmsh_msh1_file