Octopus
cube_function.F90 File Reference

Go to the source code of this file.

Modules

module  cube_function_oct_m
 

Data Types

type  cube_function_oct_m::cube_function_t
 

Functions/Subroutines

pure logical function cube_function_oct_m::cube_map_is_trivial (cube)
 True when the cube_map describes a trivial mesh->cube identity: the mesh is X-fastest with one full-X-row segment per (iy, iz) pair, and the cube has the same dimensions as the mesh. The mapping then degenerates to a flat memcopy. Holds for 3D periodic systems with MeshOrder = order_cube and no domain decomposition. More...
 
subroutine, public cube_function_oct_m::dcube_function_alloc_rs (cube, cf, in_device, force_alloc)
 Allocates locally the real space grid, if PFFT library is not used. Otherwise, it assigns the PFFT real space grid to the cube real space grid, via pointer. More...
 
subroutine, public cube_function_oct_m::dcube_function_free_rs (cube, cf)
 Deallocates the real space grid. More...
 
subroutine, public cube_function_oct_m::dcube_function_allgather (cube, cf, cf_local, order, gatherfs)
 
subroutine, public cube_function_oct_m::dmesh_to_cube (mesh, mf, cube, cf)
 Convert a function from the mesh to the cube. More...
 
subroutine, public cube_function_oct_m::dcube_to_mesh (cube, cf, mesh, mf)
 Convert a function from the cube to the mesh. More...
 
subroutine, public cube_function_oct_m::dmesh_to_cube_parallel (mesh, mf, cube, cf, map)
 The next two subroutines convert a function between the normal mesh and the cube in parallel. More...
 
subroutine, public cube_function_oct_m::dcube_to_mesh_parallel (cube, cf, mesh, mf, map)
 
real(real64) function, public cube_function_oct_m::dcube_function_surface_average (cube, cf)
 This function calculates the surface average of any function. More...
 
subroutine, public cube_function_oct_m::dsubmesh_to_cube (sm, mf, cube, cf)
 The next two subroutines convert a function between a submesh and the cube. More...
 
subroutine, public cube_function_oct_m::dcube_to_submesh (cube, cf, sm, mf)
 
subroutine, public cube_function_oct_m::zcube_function_alloc_rs (cube, cf, in_device, force_alloc)
 Allocates locally the real space grid, if PFFT library is not used. Otherwise, it assigns the PFFT real space grid to the cube real space grid, via pointer. More...
 
subroutine, public cube_function_oct_m::zcube_function_free_rs (cube, cf)
 Deallocates the real space grid. More...
 
subroutine, public cube_function_oct_m::zcube_function_allgather (cube, cf, cf_local, order, gatherfs)
 
subroutine, public cube_function_oct_m::zmesh_to_cube (mesh, mf, cube, cf)
 Convert a function from the mesh to the cube. More...
 
subroutine, public cube_function_oct_m::zcube_to_mesh (cube, cf, mesh, mf)
 Convert a function from the cube to the mesh. More...
 
subroutine, public cube_function_oct_m::zmesh_to_cube_parallel (mesh, mf, cube, cf, map)
 The next two subroutines convert a function between the normal mesh and the cube in parallel. More...
 
subroutine, public cube_function_oct_m::zcube_to_mesh_parallel (cube, cf, mesh, mf, map)
 
complex(real64) function, public cube_function_oct_m::zcube_function_surface_average (cube, cf)
 This function calculates the surface average of any function. More...
 
subroutine, public cube_function_oct_m::zsubmesh_to_cube (sm, mf, cube, cf)
 The next two subroutines convert a function between a submesh and the cube. More...
 
subroutine, public cube_function_oct_m::zcube_to_submesh (cube, cf, sm, mf)