RMPCDMD
Functions/Subroutines | Variables
hilbert Module Reference

Compute compact Hilbert indices. More...

Functions/Subroutines

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

Variables

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

Detailed Description

Compute compact Hilbert indices.

Ref. [1]

Function/Subroutine Documentation

◆ bin_str()

pure character(len=dim) function hilbert::bin_str ( integer, intent(in)  x)
private

Definition at line 45 of file hilbert.f90.

◆ compact_h_to_p()

pure integer function, dimension(dim), public hilbert::compact_h_to_p ( integer, intent(in)  h,
integer, dimension(dim), intent(in)  m 
)

Definition at line 274 of file hilbert.f90.

◆ compact_p_to_h()

pure integer function, public hilbert::compact_p_to_h ( integer, dimension(dim), intent(in)  p,
integer, dimension(dim), intent(in)  m 
)

Definition at line 242 of file hilbert.f90.

◆ entry_point()

pure integer function hilbert::entry_point ( integer, intent(in)  i)
private

Definition at line 72 of file hilbert.f90.

◆ exit_point()

pure integer function hilbert::exit_point ( integer, intent(in)  i)
private

Definition at line 84 of file hilbert.f90.

◆ extract_mask()

pure integer function hilbert::extract_mask ( integer, intent(in)  i,
integer, dimension(dim), intent(in)  m 
)
private

Definition at line 226 of file hilbert.f90.

◆ gc()

pure integer function hilbert::gc ( integer, intent(in)  i)
private

Definition at line 64 of file hilbert.f90.

◆ gcr()

pure integer function hilbert::gcr ( integer, intent(in)  i,
integer, intent(in)  mu 
)
private

Definition at line 189 of file hilbert.f90.

◆ h_to_p()

pure integer function, dimension(dim), public hilbert::h_to_p ( integer, intent(in)  h,
integer, intent(in)  m 
)

Definition at line 164 of file hilbert.f90.

◆ intercube_g()

pure integer function hilbert::intercube_g ( integer, intent(in)  i)
private

Definition at line 106 of file hilbert.f90.

◆ intracube_d()

pure integer function hilbert::intracube_d ( integer, intent(in)  i)
private

Definition at line 114 of file hilbert.f90.

◆ inverse_gc()

pure integer function hilbert::inverse_gc ( integer, intent(in)  g)
private

Definition at line 92 of file hilbert.f90.

◆ inverse_gcr()

pure integer function hilbert::inverse_gcr ( integer, intent(in)  r,
integer, intent(in)  mu,
integer, intent(in)  pi 
)
private

Definition at line 203 of file hilbert.f90.

◆ inverse_transform()

pure integer function hilbert::inverse_transform ( integer, intent(in)  e,
integer, intent(in)  d,
integer, intent(in)  b 
)
private

Definition at line 134 of file hilbert.f90.

◆ p_to_h()

pure integer function, public hilbert::p_to_h ( integer, dimension(dim), intent(in)  p,
integer, intent(in)  m 
)

Definition at line 142 of file hilbert.f90.

◆ rotate_left()

pure integer function hilbert::rotate_left ( integer, intent(in)  x,
integer, intent(in)  d 
)
private

Definition at line 33 of file hilbert.f90.

◆ rotate_right()

pure integer function hilbert::rotate_right ( integer, intent(in)  x,
integer, intent(in)  d 
)
private

Definition at line 21 of file hilbert.f90.

◆ transform()

pure integer function hilbert::transform ( integer, intent(in)  e,
integer, intent(in)  d,
integer, intent(in)  b 
)
private

Definition at line 127 of file hilbert.f90.

Variable Documentation

◆ dim

integer, parameter hilbert::dim = 3
private

Definition at line 15 of file hilbert.f90.

◆ mask

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

Definition at line 16 of file hilbert.f90.