3.5.17. horton/grid/uniform.h
– Uniform 3D grids¶
Functions
-
long
index_wrap
(long i, long high)¶
-
class
UniformGrid
¶ Public Functions
-
UniformGrid
(double *_origin, double *_grid_rvecs, long *_shape, long *_pbc)¶
-
void
set_ranges_rcut
(double *center, double rcut, long *ranges_begin, long *ranges_end)¶
-
double
dist_grid_point
(double *center, long *i)¶
-
void
delta_grid_point
(double *center, long *i)¶
-
double *
get_pointer
(double *array, long *i)¶
-
-
class
UniformGridWindow
¶ Public Functions
-
UniformGridWindow
(UniformGrid *ugrid, long *_begin, long *_end)¶
-
double *
get_pointer
(double *array, long *j)¶
-
void
extend
(double *cell, double *local)¶
-
void
wrap
(double *local, double *cell)¶
Private Members
-
UniformGrid *
ugrid
¶
-
-
class
Range3Iterator
¶
-
class
Block3Iterator
¶ Public Functions
-
Block3Iterator
(const long *begin, const long *end, const long *shape)¶
-
long
get_nblock
() const¶
-
void
copy_block_begin
(long *output)¶
-
void
copy_block_end
(long *output)¶
-
void
set_block
(long iblock, long *b)¶
-
void
set_cube_ranges
(long *b, long *cube_begin, long *cube_end)¶
-
void
translate
(long *b, long *jwrap, long *j)¶
-