Octopus
index.F90 File Reference

Go to the source code of this file.

Modules

module  index_oct_m
 This module implements the index, used for the mesh points.
 

Data Types

type  index_oct_m::index_t
 
interface  index_oct_m::hilbert_index_to_point
 
interface  index_oct_m::hilbert_point_to_index
 
interface  index_oct_m::hilbert_index_to_point_int
 
interface  index_oct_m::hilbert_point_to_index_int
 

Functions/Subroutines

subroutine, public index_oct_m::index_init (idx, dim)
 This subroutine allocates memory and initializes some components. More...
 
subroutine, public index_oct_m::index_end (idx)
 This subroutine deallocates all memory. More...
 
integer(int64) function, public index_oct_m::index_from_coords (idx, ix)
 This function takes care of the boundary conditions for a given vector of integer coordinates it returns the true global index of the point. More...
 
subroutine, public index_oct_m::index_from_coords_vec (idx, npoints, ix, index)
 
subroutine, public index_oct_m::index_to_coords (idx, ip, ix)
 Given a global point index, this function returns the set of integer coordinates of the point. More...
 
subroutine, public index_oct_m::index_dump (idx, np, dir, mpi_grp, namespace, ierr)
 
subroutine, public index_oct_m::index_load (idx, np, dir, mpi_grp, namespace, ierr)
 Load the index arrays from a file. More...
 
subroutine, public index_oct_m::index_spatial_to_point (idx, dim, ispatial, point)
 
subroutine, public index_oct_m::index_point_to_spatial (idx, dim, ispatial, point)
 
pure subroutine index_oct_m::index_cubic_to_point (idx, dim, icubic, point)
 
pure subroutine index_oct_m::index_point_to_cubic (idx, dim, icubic, point)
 
subroutine index_oct_m::index_hilbert_to_point (idx, dim, ihilbert, point)
 
subroutine index_oct_m::index_point_to_hilbert (idx, dim, ihilbert, point)
 
integer(int64) function, public index_oct_m::get_blocked_index (dim, point, bsize, number_of_blocks, increase_with_dimensions)
 

Variables

integer, parameter, public index_oct_m::idx_cubic = 1
 
integer, parameter, public index_oct_m::idx_hilbert = 2