RMPCDMD
Modules | Functions/Subroutines | Variables
hilbert.f90 File Reference

Go to the source code of this file.

Modules

module  hilbert
 Compute compact Hilbert indices.
 

Functions/Subroutines

pure integer function hilbert::rotate_right (x, d)
 
pure integer function hilbert::rotate_left (x, d)
 
pure character(len=dim) function hilbert::bin_str (x)
 
pure integer function hilbert::gc (i)
 
pure integer function hilbert::entry_point (i)
 
pure integer function hilbert::exit_point (i)
 
pure integer function hilbert::inverse_gc (g)
 
pure integer function hilbert::intercube_g (i)
 
pure integer function hilbert::intracube_d (i)
 
pure integer function hilbert::transform (e, d, b)
 
pure integer function hilbert::inverse_transform (e, d, b)
 
pure integer function, public hilbert::p_to_h (p, m)
 
pure integer function, dimension(dim), public hilbert::h_to_p (h, m)
 
pure integer function hilbert::gcr (i, mu)
 
pure integer function hilbert::inverse_gcr (r, mu, pi)
 
pure integer function hilbert::extract_mask (i, m)
 
pure integer function, public hilbert::compact_p_to_h (p, m)
 
pure integer function, dimension(dim), public hilbert::compact_h_to_p (h, m)
 

Variables

integer, parameter hilbert::dim = 3
 
integer, parameter hilbert::mask =2**dim-1