(git:b279b6b)
cube_utils.F File Reference

Go to the source code of this file.

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 More...
 
subroutine, public cube_utils::return_cube_nonortho (info, radius, lb, ub, rp)
 ... More...
 
subroutine, public cube_utils::return_cube (info, radius, lb_cube, ub_cube, sphere_bounds)
 ... More...
 
integer function, public cube_utils::return_cube_max_iradius (info)
 ... More...
 
subroutine, public cube_utils::destroy_cube_info (info)
 ... More...
 
subroutine, public cube_utils::init_cube_info (info, dr, dh, dh_inv, ortho, max_radius)
 ... More...