Octopus
mesh_init.F90 File Reference

Go to the source code of this file.

Modules

module  mesh_init_oct_m
 This module contains subroutines, related to the initialization of the mesh.
 

Functions/Subroutines

subroutine, public mesh_init_oct_m::mesh_init_stage_1 (mesh, namespace, space, box, coord_system, spacing, enlarge)
 First stage mesh initialization. More...
 
subroutine, public mesh_init_oct_m::mesh_init_stage_2 (mesh, namespace, space, box, stencil, regenerate)
 This subroutine creates the global array of spatial indices and the inverse mapping. More...
 
subroutine, public mesh_init_oct_m::mesh_init_stage_3 (mesh, namespace, space, stencil, mc, parent, regenerate)
 When running parallel in domains, stencil and np_stencil are needed to compute the ghost points. mpi_grp is the communicator group that will be used for this mesh. More...
 
subroutine do_partition ()
 
subroutine mesh_get_vol_pp ()
 calculate the volume of integration More...
 
subroutine mesh_init_oct_m::rebalance_array (data_input, data_output, output_sizes)
 re-distribute the points to improve load balancing More...
 
subroutine mesh_init_oct_m::reorder_points (namespace, space, idx, grid_to_spatial, grid_to_spatial_reordered)
 reorder the points in the grid according to the variables MeshOrder and MeshLocalOrder More...
 
subroutine mesh_init_oct_m::get_sizes_offsets (local_size, sizes, offsets, mpi_grp)
 return the sizes and offsets of a distributed array for all tasks of a mpi group. More...
 

Variables

integer, parameter mesh_init_oct_m::inner_point = 1
 
integer, parameter mesh_init_oct_m::enlargement_point = 2
 
integer, parameter mesh_init_oct_m::boundary = -1
 

Function/Subroutine Documentation

◆ do_partition()

subroutine mesh_init_stage_3::do_partition
private

Definition at line 592 of file mesh_init.F90.

◆ mesh_get_vol_pp()

subroutine mesh_init_stage_3::mesh_get_vol_pp
private

calculate the volume of integration

Definition at line 771 of file mesh_init.F90.