Chi-Tech
chi_mesh__SphereLogicalVolume.h
Go to the documentation of this file.
1/** \defgroup chi_mesh__SphereLogicalVolume chi_mesh.SphereLogicalVolume
2
3
4\ingroup LuaLogicVolumes
5
6
7
8## Example usage:
9Create this object:
10\code
11params =
12{
13 param_name1 = value1,
14 param_name2 = value2,
15 --etc.
16}
17chi_mesh.SphereLogicalVolume.Create(params)
18\endcode
19## Optional Input parameters
20\htmlonly
21
22<div style="display: block;">
23<button type="button" class="droppy2" style=
24"
25background-color: #edf0f5;
26color: #9373A5;
27cursor: pointer;
28border: none;
29text-align: left;
30outline: none;
31font-size: 15px;
32margin: 2px 2px;
33border: 2px solid #687372;
34display: block;
35width: 100%;
36vertical-align: middle;
37padding-top: 4px;
38padding-bottom: 0px;
39"
40><span class="arrow" style="padding-left: 0px;">►</span><TT><B>r</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspRadius of the sphere</span></button>
41<div class="content" style="display: none;">
42 <p><I>type=</I><span style="color: blue;"><TT>FLOAT</TT></span>. Radius of the sphere.
43</p>
44 <p>Default value: <TT style="color:grey">1(double)</TT></p>
45 <p>Allowable values: <TT>> 0(double)</TT></p>
46</div>
47
48<button type="button" class="droppy2" style=
49"
50background-color: #edf0f5;
51color: #9373A5;
52cursor: pointer;
53border: none;
54text-align: left;
55outline: none;
56font-size: 15px;
57margin: 2px 2px;
58border: 2px solid #687372;
59display: block;
60width: 100%;
61vertical-align: middle;
62padding-top: 4px;
63padding-bottom: 0px;
64"
65><span class="arrow" style="padding-left: 0px;">►</span><TT><B>x</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspX-location of the volume</span></button>
66<div class="content" style="display: none;">
67 <p><I>type=</I><span style="color: blue;"><TT>FLOAT</TT></span>. X-location of the volume.
68</p>
69 <p>Default value: <TT style="color:grey">0(double)</TT></p>
70</div>
71
72<button type="button" class="droppy2" style=
73"
74background-color: #edf0f5;
75color: #9373A5;
76cursor: pointer;
77border: none;
78text-align: left;
79outline: none;
80font-size: 15px;
81margin: 2px 2px;
82border: 2px solid #687372;
83display: block;
84width: 100%;
85vertical-align: middle;
86padding-top: 4px;
87padding-bottom: 0px;
88"
89><span class="arrow" style="padding-left: 0px;">►</span><TT><B>y</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspY-location of the volume</span></button>
90<div class="content" style="display: none;">
91 <p><I>type=</I><span style="color: blue;"><TT>FLOAT</TT></span>. Y-location of the volume.
92</p>
93 <p>Default value: <TT style="color:grey">0(double)</TT></p>
94</div>
95
96<button type="button" class="droppy2" style=
97"
98background-color: #edf0f5;
99color: #9373A5;
100cursor: pointer;
101border: none;
102text-align: left;
103outline: none;
104font-size: 15px;
105margin: 2px 2px;
106border: 2px solid #687372;
107display: block;
108width: 100%;
109vertical-align: middle;
110padding-top: 4px;
111padding-bottom: 0px;
112"
113><span class="arrow" style="padding-left: 0px;">►</span><TT><B>z</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspZ-location of the volume</span></button>
114<div class="content" style="display: none;">
115 <p><I>type=</I><span style="color: blue;"><TT>FLOAT</TT></span>. Z-location of the volume.
116</p>
117 <p>Default value: <TT style="color:grey">0(double)</TT></p>
118</div>
119
120</div>
121\endhtmlonly
122
123\htmlonly
124
125<script>
126
127{
128 var coll = document.getElementsByClassName("droppy2");
129 var i;
130
131 for (i = 0; i < coll.length; i++) {
132 coll[i].addEventListener("click", function() {
133 this.classList.toggle("active");
134 var content = this.nextElementSibling;
135 if (content.style.display === "block") {
136 content.style.display = "none";
137 this.childNodes[0].innerText = "►"
138 } else {
139 content.style.display = "block";
140 this.children[0].innerText = "▼"
141 }
142 });
143 }
144}</script>
145
146\endhtmlonly
147
148### Usage Examples:
149\ref test_framework_chi_mesh_LogicalVolume_lv_sphere_test1_lua
150\ref test_framework_chi_mesh_LogicalVolume_lv_boolean_test1_lua
151*/