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:
9
Create this object:
10
\code
11
params =
12
{
13
param_name1 = value1,
14
param_name2 = value2,
15
--etc.
16
}
17
chi_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
"
25
background-color: #edf0f5;
26
color: #9373A5;
27
cursor: pointer;
28
border: none;
29
text-align: left;
30
outline: none;
31
font-size: 15px;
32
margin: 2px 2px;
33
border: 2px solid #687372;
34
display: block;
35
width: 100%;
36
vertical-align: middle;
37
padding-top: 4px;
38
padding-bottom: 0px;
39
"
40
><span class="arrow" style="padding-left: 0px;">►</span><TT><B>r</B></TT><span style="color: #c4c1c0;">       Radius 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
"
50
background-color: #edf0f5;
51
color: #9373A5;
52
cursor: pointer;
53
border: none;
54
text-align: left;
55
outline: none;
56
font-size: 15px;
57
margin: 2px 2px;
58
border: 2px solid #687372;
59
display: block;
60
width: 100%;
61
vertical-align: middle;
62
padding-top: 4px;
63
padding-bottom: 0px;
64
"
65
><span class="arrow" style="padding-left: 0px;">►</span><TT><B>x</B></TT><span style="color: #c4c1c0;">       X-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
"
74
background-color: #edf0f5;
75
color: #9373A5;
76
cursor: pointer;
77
border: none;
78
text-align: left;
79
outline: none;
80
font-size: 15px;
81
margin: 2px 2px;
82
border: 2px solid #687372;
83
display: block;
84
width: 100%;
85
vertical-align: middle;
86
padding-top: 4px;
87
padding-bottom: 0px;
88
"
89
><span class="arrow" style="padding-left: 0px;">►</span><TT><B>y</B></TT><span style="color: #c4c1c0;">       Y-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
"
98
background-color: #edf0f5;
99
color: #9373A5;
100
cursor: pointer;
101
border: none;
102
text-align: left;
103
outline: none;
104
font-size: 15px;
105
margin: 2px 2px;
106
border: 2px solid #687372;
107
display: block;
108
width: 100%;
109
vertical-align: middle;
110
padding-top: 4px;
111
padding-bottom: 0px;
112
"
113
><span class="arrow" style="padding-left: 0px;">►</span><TT><B>z</B></TT><span style="color: #c4c1c0;">       Z-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
*/
doc
generated_files
input_docs
chi_mesh__SphereLogicalVolume.h
Generated by
1.9.3