![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Class for computation of the unit Voronoi cell associated with a 3D non-rectangular periodic domain. More...
#include <unitcell.hh>
Public Member Functions | |
| unitcell (double bx_, double bxy_, double by_, double bxz_, double byz_, double bz_) | |
| bool | intersects_image (double dx, double dy, double dz, double &vol) |
| void | images (std::vector< int > &vi, std::vector< double > &vd) |
Public Attributes | |
| const double | bx |
| const double | bxy |
| const double | by |
| const double | bxz |
| const double | byz |
| const double | bz |
| voronoicell | unit_voro |
Protected Attributes | |
| double | max_uv_y |
| double | max_uv_z |
Class for computation of the unit Voronoi cell associated with a 3D non-rectangular periodic domain.
| voro::unitcell::unitcell | ( | double | bx_, |
| double | bxy_, | ||
| double | by_, | ||
| double | bxz_, | ||
| double | byz_, | ||
| double | bz_ | ||
| ) |
Initializes the unit cell class for a particular non-orthogonal periodic geometry, corresponding to a parallelepiped with sides given by three vectors. The class constructs the unit Voronoi cell corresponding to this geometry.
| [in] | (bx_) | The x coordinate of the first unit vector. |
| [in] | (bxy_,by_) | The x and y coordinates of the second unit vector. |
| [in] | (bxz_,byz_,bz_) | The x, y, and z coordinates of the third unit vector. |
Computes a list of periodic domain images that intersect the unit Voronoi cell.
| [out] | vi | a vector containing triplets (i,j,k) corresponding to domain images that intersect the unit Voronoi cell, when it is centered in the middle of the primary domain. |
| [out] | vd | a vector containing the fraction of the Voronoi cell volume within each corresponding image listed in vi. |
Calculates whether the unit Voronoi cell intersects a given periodic image of the domain.
| [in] | (dx,dy,dz) | the displacement of the periodic image. |
| [out] | vol | the proportion of the unit cell volume within this image, only computed in the case that the two intersect. |
| const double voro::unitcell::bx |
The x coordinate of the first vector defining the periodic domain.
| const double voro::unitcell::bxy |
The x coordinate of the second vector defining the periodic domain.
| const double voro::unitcell::bxz |
The x coordinate of the third vector defining the periodic domain.
| const double voro::unitcell::by |
The y coordinate of the second vector defining the periodic domain.
| const double voro::unitcell::byz |
The y coordinate of the third vector defining the periodic domain.
| const double voro::unitcell::bz |
The z coordinate of the third vector defining the periodic domain.
|
protected |
The maximum y-coordinate that could possibly cut the computed unit Voronoi cell.
|
protected |
The maximum z-coordinate that could possibly cut the computed unit Voronoi cell.
| voronoicell voro::unitcell::unit_voro |
The computed unit Voronoi cell corresponding the given 3D non-rectangular periodic domain geometry.