Voro++
|
Class containing all of the routines that are specific to computing the regular Voronoi tessellation. More...
#include <rad_option.hh>
Protected Member Functions | |
void | r_init (int ijk, int s) |
void | r_prime (double rv) |
bool | r_ctest (double crs, double mrs) |
double | r_cutoff (double lrs) |
double | r_max_add (double rs) |
double | r_current_sub (double rs, int ijk, int q) |
double | r_scale (double rs, int ijk, int q) |
bool | r_scale_check (double &rs, double mrs, int ijk, int q) |
The container and container_periodic classes are derived from this class, and during the Voronoi cell computation, these routines are used to create the regular Voronoi tessellation.
Definition at line 22 of file rad_option.hh.
bool voro::radius_mono::r_ctest | ( | double | crs, |
double | mrs | ||
) | [inline, protected] |
Carries out a radius bounds check.
[in] | crs | the radius squared to be tested. |
[in] | mrs | the current maximum distance to a Voronoi vertex multiplied by two. |
Definition at line 38 of file rad_option.hh.
double voro::radius_mono::r_current_sub | ( | double | rs, |
int | ijk, | ||
int | q | ||
) | [inline, protected] |
Subtracts the radius squared of a particle from a given value.
[in] | rs | the value to consider. |
[in] | ijk | the block that the particle is within. |
[in] | q | the index of the particle within the block. |
Definition at line 53 of file rad_option.hh.
double voro::radius_mono::r_cutoff | ( | double | lrs | ) | [inline, protected] |
Scales a plane displacement during a plane bounds check.
[in] | lrs | the plane displacement. |
Definition at line 42 of file rad_option.hh.
void voro::radius_mono::r_init | ( | int | ijk, |
int | s | ||
) | [inline, protected] |
This is called prior to computing a Voronoi cell for a given particle to initialize any required constants.
[in] | ijk | the block that the particle is within. |
[in] | s | the index of the particle within the block. |
Definition at line 28 of file rad_option.hh.
double voro::radius_mono::r_max_add | ( | double | rs | ) | [inline, protected] |
Adds the maximum radius squared to a given value.
[in] | rs | the value to consider. |
Definition at line 46 of file rad_option.hh.
void voro::radius_mono::r_prime | ( | double | rv | ) | [inline, protected] |
Sets a required constant to be used when carrying out a plane bounds check.
Definition at line 31 of file rad_option.hh.
double voro::radius_mono::r_scale | ( | double | rs, |
int | ijk, | ||
int | q | ||
) | [inline, protected] |
Scales a plane displacement prior to use in the plane cutting algorithm.
[in] | rs | the initial plane displacement. |
[in] | ijk | the block that the particle is within. |
[in] | q | the index of the particle within the block. |
Definition at line 60 of file rad_option.hh.
bool voro::radius_mono::r_scale_check | ( | double & | rs, |
double | mrs, | ||
int | ijk, | ||
int | q | ||
) | [inline, protected] |
Scales a plane displacement prior to use in the plane cutting algorithm, and also checks if it could possibly cut the cell.
[in,out] | rs | the plane displacement to be scaled. |
[in] | mrs | the current maximum distance to a Voronoi vertex multiplied by two. |
[in] | ijk | the block that the particle is within. |
[in] | q | the index of the particle within the block. |
Definition at line 71 of file rad_option.hh.