Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • function read_eirene_grid 
    Read information about a triangular grid from EIRENE-format files and generate a list of grid edges;
  • subroutine write_eirene_grid 
    Write information about a triangular grid into EIRENE-format files;
  • subroutine provide_grid_object_lists 
    Provide lists of objects (nodes, edges and cells); nodes are characterized by their coordinates; edges and cells, by indices of nodes they consist of;
  • subroutine arrange_neighbors 
    Build information about neighboring cells necessary the EIRENE file format; 
  • integer, allocatable, dimensionsubroutine build_edges
    Fill the edge(:) child of the grid structure using the triangle child content;
  • function give_edges_with_mat_property 
    Return the list of indices of edges with a given MP;
  • function all_material_properties
    Provide list of all MP values available in the grid;
  • subroutine deallocate_grid 
    Deallocate the structure child arrays.

...

  • subroutine read_vertices 
    Read the coordinates of grid vertices from an EIRENE-format file;
  • subroutine read_triangles 
    Reads indices of the vertices that form each grid triangle from an EIRENE-format file;
  • subroutine read_neighbors 
  • subroutine write_vertices 
  • subroutine write_triangles 
  • subroutine write_neighbors 
  • subroutine find_neighboring_triangles 
  • integer function find_side 
  • subroutine write_edges 
  • subroutine check_edges 
  • subroutine check_vertices 
  • subroutine grid_statistics 
  • integer function neighboring_triangle_index 
  • integer function edge_index 

...

Given a grid stucture, the subroutine provides three arrays:

  • coordinates   , real 2D array containing  the coordinates for all grid nodes;
  • edge_connect   , integer 2D array containing indices of vertices for all edges;
  • cell_connect   , integer 2D array containing indices of vertices for all cells (triangles).

...

Argument

Type

Intent

Description

gridtype(triangular_grid)inGrid structure


For the description of the service routines (some of them are no longer used), see comments in the module file.

...

Structure of EIRENE input files


 Module eirene_data_io.f90 ???

Main files  save_input_main.f90   and  provide_input_main.f90 

...