(git:374b731)
Loading...
Searching...
No Matches
cube_utils.F File Reference

Go to the source code of this file.

Data Types

type  cube_utils::cube_info_type
 

Modules

module  cube_utils
 for a given dr()/dh(r) this will provide the bounds to be used if one wants to go over a sphere-subregion of given radius
 

Functions/Subroutines

subroutine, public cube_utils::compute_cube_center (cube_center, rs_desc, zeta, zetb, ra, rab)
 unifies the computation of the cube center, so that differences in implementation, and thus roundoff and numerics can not lead to off-by-one errors (which can lead to out-of-bounds access with distributed grids). in principle, something similar would be needed for the computation of the cube bounds
 
subroutine, public cube_utils::return_cube_nonortho (info, radius, lb, ub, rp)
 ...
 
subroutine, public cube_utils::return_cube (info, radius, lb_cube, ub_cube, sphere_bounds)
 ...
 
integer function, public cube_utils::return_cube_max_iradius (info)
 ...
 
subroutine, public cube_utils::destroy_cube_info (info)
 ...
 
subroutine, public cube_utils::init_cube_info (info, dr, dh, dh_inv, ortho, max_radius)
 ...