Chi-Tech
MainPage.h
Go to the documentation of this file.
1/** \mainpage
2
3ChiTech is an engineering development platform under development to support
4various scientific simulations. At the core of the platform is the **Lua**
5scripting engine which allows the user to interact with their C++ code using
6a script-environment.\n
7\n
8Please be patient as we add more capabilities and tutorials to the code. For
9now we have only a couple of tutorials.\n
10\n
11
12 # Index
13
14 \subpage Tutorial00 \n
15 \subpage ProgrammerManual \n
16 <a href="https://www.lua.org/manual/5.3/"><B>Lua 5.3 Reference</B></a>\n
17 <a href="https://www.mcs.anl.gov/petsc/documentation/index.html"><B>PETSc Documentation</B></a>\n
18 <a href="https://lorensen.github.io/VTKExamples/site/"><B>Visualization Tool Kit (VTK) documentation</B></a>\n
19 <a href="https://clang.llvm.org/extra/clang-tidy/#suppressing-undesired-diagnostics"><B>clang-tidy Documentation</B></a>
20
21\n
22
23\tableofcontents
24
25# Variables defined in lua
26Variable Name | Description | Variable Name | Description
27---------------------|------------------ |--------------------- |---------------------
28 `chi_version` | Version string, e.g., "1.2.3" | `chi_minor_version` | Minor version, e.g., 2, as an integer
29 `chi_major_version` | Major version, e.g., 1, as an integer | `chi_patch_version` | Patch version, e.g., 3, as an integer
30 `chi_location_id` | Current process rank in MPI-context | `chi_number_of_processes` | Number of MPI processes
31
32\n
33
34
35 \section MainPage1 Input Functions
36
37\subsection MainPage1_1 1.1 MPI Utilities
38<table>
39<tr>
40<td width="33%">chiMPIBarrier()</td>
41</tr>
42</table>
43
44\subsection MainPage1_2 1.2 Logging Utilities
45<table>
46<tr>
47<td width="33%">chiLog()</td>
48<td width="33%">chiLogSetVerbosity()</td>
49<td width="33%">chiLogProcessEvent()</td>
50</tr>
51<tr>
52</tr>
53</table>
54
55\subsection MainPage1_3 1.3 Math Utilities
56<table>
57<tr>
58<td width="33%">chiLegendre()</td>
59<td width="33%">chiLegendreDerivative()</td>
60<td width="33%">chiYlm()</td>
61</tr>
62<tr>
63</tr>
64</table>
65
66\subsection MainPage1_4 1.4 Quadratures
67<table>
68<tr>
69<td width="33%">chiCreateLineQuadrature()</td>
70<td width="33%">chiCreateProductQuadrature()</td>
71<td width="33%">chiCreateCylindricalProductQuadrature()</td>
72</tr>
73<tr>
74<td width="33%">chiCreateSphericalProductQuadrature()</td>
75<td width="33%">chiCreateCustomAngularQuadrature()</td>
76<td width="33%">chiGetProductQuadrature()</td>
77</tr>
78<tr>
79<td width="33%">chiCreateSLDFESQAngularQuadrature()</td>
80<td width="33%">chiLocallyRefineSLDFESQAngularQuadrature()</td>
81<td width="33%">chiPrintToPythonSLDFESQAngularQuadrature()</td>
82</tr>
83<tr>
84<td width="33%">chiOptimizeAngularQuadratureForPolarSymmetry()</td>
85</tr>
86</table>
87
88\subsection MainPage1_5 1.5 Orthogonal Meshes
89<table>
90<tr>
91<td width="33%">chiMeshCreateUnpartitioned1DOrthoMesh()</td>
92<td width="33%">chiMeshCreateUnpartitioned2DOrthoMesh()</td>
93<td width="33%">chiMeshCreateUnpartitioned3DOrthoMesh()</td>
94</tr>
95<tr>
96</tr>
97</table>
98
99\subsection MainPage1_6 1.6 Loading a Mesh from File
100<table>
101<tr>
102<td width="33%">chiUnpartitionedMeshFromVTU()</td>
103<td width="33%">chiUnpartitionedMeshFromEnsightGold()</td>
104<td width="33%">chiUnpartitionedMeshFromWavefrontOBJ()</td>
105</tr>
106<tr>
107<td width="33%">chiUnpartitionedMeshFromMshFormat()</td>
108<td width="33%">chiUnpartitionedMeshFromExodusII()</td>
109</tr>
110</table>
111
112\subsection MainPage1_7 1.7 Manual Unpartitioned Mesh
113<table>
114<tr>
115<td width="33%">chiCreateEmptyUnpartitionedMesh()</td>
116<td width="33%">chiUnpartitionedMeshUploadVertex()</td>
117<td width="33%">chiUnpartitionedMeshUploadCell()</td>
118</tr>
119<tr>
120<td width="33%">chiUnpartitionedMeshFinalizeEmpty()</td>
121<td width="33%">chiDestroyUnpartitionedMesh()</td>
122</tr>
123</table>
124
125\subsection MainPage1_8 1.8 Logical Volumes
126<table>
127<tr>
128<td width="33%">chiLogicalVolumeCreate()</td>
129</tr>
130</table>
131
132\subsection MainPage1_9 1.9 Mesh Handler
133<table>
134<tr>
135<td width="33%">chiMeshHandlerCreate()</td>
136<td width="33%">chiMeshHandlerSetCurrent()</td>
137<td width="33%">chiMeshHandlerExportMeshToObj()</td>
138</tr>
139<tr>
140<td width="33%">chiMeshHandlerExportMeshToVTK()</td>
141</tr>
142</table>
143
144\subsection MainPage1_10 1.10 Surface Meshes
145<table>
146<tr>
147<td width="33%">chiSurfaceMeshCreate()</td>
148<td width="33%">chiSurfaceMeshImportFromOBJFile()</td>
149<td width="33%">chiSurfaceMeshImportFromTriangleFiles()</td>
150</tr>
151<tr>
152<td width="33%">chiSurfaceMeshExportToObj()</td>
153<td width="33%">chiSurfaceMeshExportPolyFile()</td>
154<td width="33%">chiSurfaceMeshCheckCycles()</td>
155</tr>
156<tr>
157<td width="33%">chiComputeLoadBalancing()</td>
158</tr>
159</table>
160
161\subsection MainPage1_11 1.11 Meshers
162<table>
163<tr>
164<td width="33%">chiSurfaceMesherCreate()</td>
165<td width="33%">chiSurfaceMesherExecute()</td>
166<td width="33%">chiSurfaceMesherSetProperty()</td>
167</tr>
168<tr>
169<td width="33%">chiVolumeMesherCreate()</td>
170<td width="33%">chiVolumeMesherExecute()</td>
171<td width="33%">chiVolumeMesherSetProperty()</td>
172</tr>
173<tr>
174<td width="33%">chiVolumeMesherSetKBAPartitioningPxPyPz()</td>
175<td width="33%">chiVolumeMesherSetKBACutsX()</td>
176<td width="33%">chiVolumeMesherSetKBACutsY()</td>
177</tr>
178<tr>
179<td width="33%">chiVolumeMesherSetKBACutsZ()</td>
180<td width="33%">chiVolumeMesherSetMatIDToAll()</td>
181<td width="33%">chiVolumeMesherSetupOrthogonalBoundaries()</td>
182</tr>
183<tr>
184</tr>
185</table>
186
187\subsection MainPage1_12 1.12 Experimental
188<table>
189<tr>
190<td width="33%">chiDecomposeSurfaceMeshPxPy()</td>
191<td width="33%">chiCutMesh()</td>
192<td width="33%">chiCountMeshInLogicalVolume()</td>
193</tr>
194<tr>
195</tr>
196</table>
197
198\subsection MainPage1_13 1.13 Field-functions
199<table>
200<tr>
201<td width="33%">chiGetFieldFunctionHandleByName()</td>
202<td width="33%">chiExportFieldFunctionToVTK()</td>
203<td width="33%">chiExportMultiFieldFunctionToVTK()</td>
204</tr>
205<tr>
206</tr>
207</table>
208
209\subsection MainPage1_14 1.14 Field-function Manipulation
210<table>
211<tr>
212<td width="33%">chiFFInterpolationCreate()</td>
213<td width="33%">chiFFInterpolationSetProperty()</td>
214<td width="33%">chiFFInterpolationInitialize()</td>
215</tr>
216<tr>
217<td width="33%">chiFFInterpolationExecute()</td>
218<td width="33%">chiFFInterpolationExportPython()</td>
219<td width="33%">chiFFInterpolationGetValue()</td>
220</tr>
221<tr>
222</tr>
223</table>
224
225\subsection MainPage1_15 1.15 Physics Utilities
226<table>
227<tr>
228<td width="33%">chiSolverInitialize()</td>
229<td width="33%">chiSolverExecute()</td>
230<td width="33%">chiSolverSetBasicOption()</td>
231</tr>
232<tr>
233<td width="33%">chiSolverStep()</td>
234<td width="33%">chiSolverGetName()</td>
235<td width="33%">chiSolverGetFieldFunctionList()</td>
236</tr>
237<tr>
238<td width="33%">chiPhysicsAddMaterial()</td>
239<td width="33%">chiPhysicsMaterialAddProperty()</td>
240<td width="33%">chiPhysicsMaterialSetProperty()</td>
241</tr>
242<tr>
243<td width="33%">chiPhysicsMaterialGetProperty()</td>
244<td width="33%">chiPhysicsMaterialModifyTotalCrossSection()</td>
245</tr>
246</table>
247
248\subsection MainPage1_16 1.16 Transport interaction cross-sections
249\ref ChiXSFile Chi-Tech native cross-section file format
250
251<table>
252<tr>
253<td width="33%">chiPhysicsTransportXSCreate()</td>
254<td width="33%">chiPhysicsTransportXSSet()</td>
255<td width="33%">chiPhysicsTransportXSMakeCombined()</td>
256</tr>
257<tr>
258<td width="33%">chiPhysicsTransportXSGet()</td>
259<td width="33%">chiPhysicsTransportXSExportToChiTechFormat()</td>
260</tr>
261</table>
262
263\section MainPage2 Modules
264
265\subsection MainPage2_1 2.1 Linear Boltzmann Solvers
266\ref LuaLBS Documentation page
267
268<table>
269<tr>
270<td width="33%">\ref lbs__DiscreteOrdinatesSolver()</td>
271<td width="33%">\ref lbs__DiffusionDFEMSolver()</td>
272<td width="33%">chiLBSSetOptions()</td>
273</tr>
274<tr>
275</tr>
276</table>
277
278\subsubsection MainPage2_2_1 Utilities
279<table>
280<tr>
281<td width="33%">chiLBSGetScalarFieldFunctionList()</td>
282<td width="33%">chiLBSWriteGroupsetAngularFlux()</td>
283<td width="33%">chiLBSReadGroupsetAngularFlux()</td>
284</tr>
285<tr>
286<td width="33%">chiLBSWriteFluxMoments()</td>
287<td width="33%">chiLBSCreateAndWriteSourceMoments()</td>
288<td width="33%">chiLBSReadFluxMomentsAndMakeSourceMoments()</td>
289</tr>
290<tr>
291<td width="33%">chiLBSReadSourceMoments()</td>
292<td width="33%">chiLBSReadFluxMoments()</td>
293<td width="33%">chiLBSAddPointSource()</td>
294</tr>
295<tr>
296<td width="33%">chiLBSClearPointSources()</td>
297<td width="33%">chiLBSInitializePointSources()</td>
298<td width="33%">chiLBSSetPhiFromFieldFunction()</td>
299</tr>
300<tr>
301</tr>
302</table>
303
304\subsubsection MainPage2_2_2 Deprecated
305<table>
306<tr>
307<td width="33%">chiLBSSetProperty()</td>
308</tr>
309</table>
310
311\subsubsection MainPage2_2_3 Groupsets
312\ref LuaLBSGroupsets Main page
313
314<table>
315<tr>
316<td width="33%">chiLBSCreateGroup()</td>
317<td width="33%">chiLBSCreateGroupset()</td>
318<td width="33%">chiLBSGroupsetAddGroups()</td>
319</tr>
320<tr>
321<td width="33%">chiLBSGroupsetSetQuadrature()</td>
322<td width="33%">chiLBSGroupsetSetAngleAggregationType()</td>
323<td width="33%">chiLBSGroupsetSetAngleAggDiv()</td>
324</tr>
325<tr>
326<td width="33%">chiLBSGroupsetSetGroupSubsets()</td>
327<td width="33%">chiLBSGroupsetSetIterativeMethod()</td>
328<td width="33%">chiLBSGroupsetSetResidualTolerance()</td>
329</tr>
330<tr>
331<td width="33%">chiLBSGroupsetSetMaxIterations()</td>
332<td width="33%">chiLBSGroupsetSetGMRESRestartIntvl()</td>
333<td width="33%">chiLBSGroupsetSetEnableSweepLog()</td>
334</tr>
335<tr>
336<td width="33%">chiLBSGroupsetSetWGDSA()</td>
337<td width="33%">chiLBSGroupsetSetTGDSA()</td>
338</tr>
339</table>
340
341\subsubsection MainPage2_2_4 Discrete Ordinates
342<table>
343<tr>
344<td width="33%">\ref lbs__DiscreteOrdinatesSolver()</td>
345<td width="33%">chiLBSComputeBalance()</td>
346<td width="33%">chiLBSComputeLeakage()</td>
347</tr>
348<tr>
349</tr>
350</table>
351
352\subsubsection MainPage2_2_5 LBS Adjoint SteadyStateSolver
353<table>
354<tr>
355<td width="33%">chiAdjointSolverCreate()</td>
356<td width="33%">chiAdjointSolverAddResponseFunction()</td>
357<td width="33%">chiAdjointSolverMakeExpRepFromP1Moments()</td>
358</tr>
359<tr>
360<td width="33%">chiAdjointSolverExportImportanceMapBinary()</td>
361<td width="33%">chiAdjointSolverComputeInnerProduct()</td>
362<td width="33%">chiAdjointSolverReadFluxMomentsToBuffer()</td>
363</tr>
364<tr>
365<td width="33%">chiAdjointSolverApplyFluxMomentBuffer()</td>
366</tr>
367</table>
368
369\subsubsection MainPage2_2_6 LBS Transient SteadyStateSolver
370<table>
371<tr>
372<td width="33%">chiLBSCreateTransientSolver()</td>
373<td width="33%">chiLBTSSetProperty()</td>
374<td width="33%">chiLBTSGetProperty()</td>
375</tr>
376<tr>
377<td width="33%">chiLBTSAdvanceTimeData()</td>
378</tr>
379</table>
380
381\subsection MainPage2_2 2.2 Diffusion Solvers
382\subsubsection MainPage2_3_7 Diffusion
383<table>
384<tr>
385<td width="33%">chiDiffusionCreateSolver()</td>
386<td width="33%">chiDiffusionInitialize()</td>
387<td width="33%">chiDiffusionExecute()</td>
388</tr>
389<tr>
390<td width="33%">chiDiffusionSetProperty()</td>
391</tr>
392</table>
393
394\subsubsection MainPage2_3_8 CFEM Diffusion solver
395<table>
396<tr>
397<td width="33%">chiCFEMDiffusionSolverCreate()</td>
398<td width="33%">chiCFEMDiffusionSetBCProperty()</td>
399</tr>
400</table>
401
402\subsubsection MainPage2_3_9 DFEM Diffusion solver
403<table>
404<tr>
405<td width="33%">chiDFEMDiffusionSolverCreate()</td>
406<td width="33%">chiDFEMDiffusionSetBCProperty()</td>
407</tr>
408</table>
409
410\subsubsection MainPage2_3_10 Finite Volume Diffusion solver
411<table>
412<tr>
413<td width="33%">chiFVDiffusionSolverCreate()</td>
414<td width="33%">chiFVDiffusionSetBCProperty()</td>
415</tr>
416</table>
417
418\subsubsection MainPage2_3_11 CFEM Multigroup Diffusion solver
419<table>
420<tr>
421<td width="33%">chiCFEMMGDiffusionSolverCreate()</td>
422<td width="33%">chiCFEMMGDiffusionSetBCProperty()</td>
423</tr>
424</table>
425
426\subsection MainPage2_3 2.3 Point Reactor Kinetics
427\ref prk
428
429- \ref prk__TransientSolver
430
431\subsection MainPage2_4 2.4 Test scripts
432<table>
433<tr>
434<td width="33%">chiSimTest01_FV()</td>
435<td width="33%">chiSimTest02_FV()</td>
436<td width="33%">chiSimTest03_PWLC()</td>
437</tr>
438<tr>
439<td width="33%">chiSimTest04_PWLC()</td>
440<td width="33%">chiSimTest06_WDD()</td>
441<td width="33%">chiSimTest91_PWLD()</td>
442</tr>
443<tr>
444<td width="33%">chiSimTest92_DSA()</td>
445<td width="33%">chiSimTest93_RayTracing()</td>
446<td width="33%">chiSimTest93_RayTracing()</td>
447</tr>
448<tr>
449<td width="33%">chiSimTest_IP_MMS_L2error()</td>
450<td width="33%">chiLuaTest()</td>
451</tr>
452</table>
453
454This file was generated using the script: doc/scripts/MakeMainPage.py
455
456
457*/