Chi-Tech
test/framework/chi_mesh/LogicalVolume/lv_rpp_test1.lua
lv1 =
chi_mesh
.
RPPLogicalVolume
.Create({xmin = -12.0, xmax = 12.0})
print(
"lv1 test 1:"
,
chiLogicalVolumePointSense
(lv1, -13.0, 0.1, 0.1))
print(
"lv1 test 2:"
,
chiLogicalVolumePointSense
(lv1, -11.0, 0.1, 0.1))
print("lv1 test 3:",
chiLogicalVolumePointSense
(lv1, -11.0, -1.0, -1.0))
lv2 =
chi_mesh
.RPPLogicalVolume.Create({xmin = -12.0, xmax = 12.0,
infy =
true
, infz =
true
})
print()
print("lv2 test 1:",
chiLogicalVolumePointSense
(lv2, -13.0, 0.1, 0.1))
print("lv2 test 2:",
chiLogicalVolumePointSense
(lv2, -11.0, 0.1, 0.1))
print("lv2 test 3:",
chiLogicalVolumePointSense
(lv2, -11.0, -1.0, -1.0))
chi_mesh::RPPLogicalVolume
Definition:
RPPLogicalVolume.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