Chi-Tech
|
Modules | |
chi_mesh.BooleanLogicalVolume | |
chi_mesh.RCCLogicalVolume | |
chi_mesh.RPPLogicalVolume | |
chi_mesh.SphereLogicalVolume | |
chi_mesh.SurfaceMeshLogicalVolume | |
Functions | |
Handle | chi_lua::chiLogicalVolumeCreate (int TypeIndex, varying Values) |
Sense | chi_lua::chiLogicalVolumePointSense (int LVHandle, double Point_x, double Point_y, double Point_z) |
Handle chi_lua::chiLogicalVolumeCreate | ( | int | TypeIndex, |
varying | Values | ||
) |
Creates a logical volume.
TypeIndex | int Volume type. |
Values | varying Parameters. |
SPHERE_ORIGIN = Sphere at the origin. [Requires: R]
SPHERE = Sphere at user supplied location. [Requires: x,y,z,R]
RPP= Rectangular ParalleliPiped. [Requires: xmin,xmax,ymin,ymax,zmin,zmax]
RCC= Right Circular Cylinder. [Requires: x0,y0,z0, vx,vy,vz and R]
SURFACE= Logical volume determined from a surface mesh. [Requires: a handle to a surface mesh]
BOOLEAN= Boolean combination of other volumes. [Requires pairs of values: bool,volumeHandle]
Example usage:
Definition at line 1582 of file lua_functions.c.
Sense chi_lua::chiLogicalVolumePointSense | ( | int | LVHandle, |
double | Point_x, | ||
double | Point_y, | ||
double | Point_z | ||
) |
Evaluates whether a point is within the logical volume.
LVHandle | int Handle to the logical volume. |
Point_x | double X-coordinate of the point. |
Point_y | double Y-coordinate of the point. |
Point_z | double Z-coordinate of the point. |
test/framework/chi_mesh/LogicalVolume/lv_sphere_test1.lua
test/framework/chi_mesh/LogicalVolume/lv_rpp_test1.lua
Definition at line 1595 of file lua_functions.c.