Define a specific type for exclusion grid. More...
Data Types | |
type | type_grid_excl |
Specific type for exclusion grid. More... | |
Functions/Subroutines | |
subroutine | allocate_excl_grid (this, typeofgrid, xmax, ymax, zmax) |
Allocate memory for exclusion grid. More... | |
subroutine | delete_excl_grid (this) |
Delete the exclusion grid. More... | |
subroutine | print_exclusion_origin (this) |
subroutine | print_excl_grid_log (this, ioutput) |
Print info about the grid to a log file. More... | |
Define a specific type for exclusion grid.
subroutine mod_exclusion_grid::allocate_excl_grid | ( | type ( type_grid_excl ) | this, |
integer, intent(in) | typeofgrid, | ||
integer, intent(in) | xmax, | ||
integer, intent(in) | ymax, | ||
integer, intent(in) | zmax | ||
) |
Allocate memory for exclusion grid.
Called from make_exclusion grid
this | : instance of type_grid_excl |
xmax,ymax,zmax | : size of the grid ( cell number ) |
subroutine mod_exclusion_grid::delete_excl_grid | ( | type ( type_grid_excl ) | this | ) |
Delete the exclusion grid.
Deallocate only pgrid, the pointer to the grid.
The grid itself must be deleted after
this | : instance of type_grid_excl |
subroutine mod_exclusion_grid::print_excl_grid_log | ( | type ( type_grid_excl ) | this, |
integer | ioutput | ||
) |
Print info about the grid to a log file.
Print a section of the grid to iopoti ( fort.77 ) Maybe more if flex, it is a log can just append, maybe test before and delete if existing
this | : instance of type_grid_excl |
ioutput | : file descriptor of the log file. By default append the data. If 0 do not write informations |
subroutine mod_exclusion_grid::print_exclusion_origin | ( | type ( type_grid_excl ) | this | ) |