Chi-Tech
test/framework/chi_mesh/LogicalVolume/lv_sphere_test1.lua
lv1 =
chi_mesh
.
SphereLogicalVolume
.Create({r = 1.3, x=1.0, y=-1.0, z=2.0})
print(
"lv1 test 1:"
,
chiLogicalVolumePointSense
(lv1, 1.0,-1.0,2.0))
print(
"lv1 test 2:"
,
chiLogicalVolumePointSense
(lv1, 1.0+1.3,-1.0,2.0))
print("lv1 test 3:",
chiLogicalVolumePointSense
(lv1, 1.0+1.301,-1.0,2.0))
chi_mesh::SphereLogicalVolume
Definition:
SphereLogicalVolume.h:12
chi_lua::chiLogicalVolumePointSense
Sense chiLogicalVolumePointSense(int LVHandle, double Point_x, double Point_y, double Point_z)
Definition:
lua_functions.c:1595
chi_mesh
Definition:
chi_runtime.h:13
Chi-Tech
User Tutorials
Lua Input Examples
Generated by
1.9.3