Chi-Tech
lua_namespace.h
Go to the documentation of this file.
1namespace chi_lua
2{
3void chiSolverCreate(ParameterBloc params);
4void chiSolverInitialize(int solver_handle);
5void chiSolverExecute(int solver_handle);
6void chiSolverStep(int solver_handle);
7void chiSolverAdvance(int solver_handle);
8void chiSolverSetBasicOption(int solver_handle, string option_name, varying option_value);
9void chiSolverGetName(int solver_handle);
10void chiSolverGetFieldFunctionList(int SolverHandle);
11void chiSolverGetInfo(int solver_handle, varying info);
12void chiSolverSetProperties(int handle, Table property_table);
13MaterialHandle chiPhysicsAddMaterial(char Name);
14void chiPhysicsMaterialAddProperty(int MaterialHandle, int PropertyIndex);
15void chiPhysicsMaterialSetProperty(int MaterialHandle, int PropertyIndex, int OperationIndex, varying Information);
16Lua chiPhysicsMaterialGetProperty(int MaterialHandle, int PropertyIndex);
17handle chiGetFieldFunctionHandleByName(string FFname);
18void chiExportFieldFunctionToVTK(int FFHandle, char BaseName);
19void chiExportMultiFieldFunctionToVTK(table listFFHandles, char BaseName);
21void chiPhysicsTransportXSSet(int XS_handle, int OperationIndex, varying Information);
22void chiPhysicsTransportXSGet(int XS_handle);
23Returns chiPhysicsTransportXSMakeCombined(table Combinations);
24void chiPhysicsTransportXSSetCombined(int XS_handle, table Combinations);
25void chiPhysicsTransportXSExportToChiTechFormat(int XS_handle, string file_name);
26void chiFieldOperationExecute(int handle);
28void chiSurfaceMeshExportToObj(int SurfaceHandle, char* FileName);
29void chiSurfaceMeshExportPolyFile(int SurfaceHandle, char* FileName);
30void chiSurfaceMeshExtractOpenEdgesToObj(int SurfaceHandle, char FileName);
31success chiSurfaceMeshImportFromOBJFile(int SurfaceHandle, string FileName, bool polyflag, table3 transform);
32success chiSurfaceMeshImportFromTriangleFiles(int SurfaceHandle, char* FileName, bool polyflag);
34void chiSurfaceMeshCheckCycles(int SurfaceHandle, int NumAngles);
35void chiComputeLoadBalancing(int SurfaceHandle, table Xcuts, table Ycuts);
36void chiMeshHandlerExportMeshToObj(char FileName, bool ExportByMaterial);
37void chiMeshHandlerExportMeshToVTK(char FileName);
38void chiMeshHandlerExportMeshToExodus(char FileName, bool suppress_nodesets, bool suppress_sidesets);
40void chiMeshHandlerSetCurrent(int HandlerHandler);
41void chiFFInterpolationGetValue(int FFIHandle);
42Handle chiFFInterpolationCreate(int FFITypeIndex);
43void chiFFInterpolationExportPython(int FFIHandle, char BaseName);
44Handle chiFFInterpolationSetProperty(int FFIHandle, int PropertyIndex);
45void chiFFInterpolationInitialize(int FFIHandle);
46void chiFFInterpolationExecute(int FFIHandle);
47Handle chiLogicalVolumeCreate(int TypeIndex, varying Values);
48Sense chiLogicalVolumePointSense(int LVHandle, double Point_x, double Point_y, double Point_z);
50void chiVolumeMesherCreate(int Type, varying OtherArgs);
51void chiVolumeMesherSetProperty(int PropertyIndex, varying PropertyValue);
52void chiVolumeMesherSetKBAPartitioningPxPyPz(int Px, int Py, int Pz);
56void chiVolumeMesherSetMatIDToAll(int material_id);
59void chiSurfaceMesherSetProperty(int PropertyNumber, varying PropertyValue);
62void chiCutMesh(Vec3 PlanePoint, Vec3 PlaneNormal, double MergeTol, double GeneralTol);
63void chiUnpartitionedMeshUploadVertex(int handle, double x, double y, double z);
64void chiUnpartitionedMeshUploadCell(int handle, lua_table cell_table);
67void chiDestroyUnpartitionedMesh(int handle);
68Handle chiUnpartitionedMeshFromVTU(char file_name, char field);
69Handle chiUnpartitionedMeshFromPVTU(char file_name, char field);
70Handle chiUnpartitionedMeshFromEnsightGold(char file_name, float scale);
71Handle chiUnpartitionedMeshFromWavefrontOBJ(char file_name);
72Handle chiUnpartitionedMeshFromMshFormat(char file_name);
73Handle chiUnpartitionedMeshFromExodusII(char file_name, float scale);
74Two chiMeshCreateUnpartitioned1DOrthoMesh(array_float x_nodes);
75Two chiMeshCreateUnpartitioned2DOrthoMesh(array_float x_nodes, array_float y_nodes);
76Two chiMeshCreateUnpartitioned3DOrthoMesh(array_float x_nodes, array_float y_nodes, array_float z_nodes);
77void chiDecomposeSurfaceMeshPxPy(mesh Surface, int Px, int Py);
80void chiMakeObject();
82void chiMakeObject(ParameterBlock params);
83void chiMakeObjectType(string type, ParameterBlock params);
84void chiProgramTime();
85void chiProgramTime();
86void chiSleep();
87void chiSleep(int time);
88void chiExit();
89void chiExit(int return_code);
90void chiLogSetVerbosity(int int_level);
91void chiLog(int LogType, char LogMsg);
92double chiLogProcessEvent(string event_name, string event_operation_name);
93void chiLogPrintTimingGraph(int rank);
94void chiLocallyRefineSLDFESQAngularQuadrature(in handle, vec3 reference_direction, double cone_size, bool invert_logic);
95void chiCreateSLDFESQAngularQuadrature(int initial_refinement_level);
96void chiPrintToPythonSLDFESQAngularQuadrature(int handle, string file_name_prefix);
97Returns chiCreateLineQuadrature(int QuadratureType, int NumberOfPoints, bool VerboseFlag);
98Returns chiCreateCustomAngularQuadrature(array azimuthal_angles, array polar_angles, array weight);
99Returns chiCreateCylindricalProductQuadrature(int QuadratureType, varying values);
100Returns chiCreateSphericalProductQuadrature(int QuadratureType, varying values);
101Table chiGetProductQuadrature(int QuadHandle);
102void chiOptimizeAngularQuadratureForPolarSymmetry(in handle, double normalization);
103Returns chiCreateProductQuadrature(int QuadratureType, varying values);
104void chiLegendre(int N, double x);
105void chiLegendreDerivative(int N, double x);
106void chiYlm(int ell, int m, double theta, double varphi);
108Varying chiFunctionDimAToDimBEvaluate(in handle, Varying params);
109void chiMPIBarrier();
110Handle chiFVDiffusionSolverCreate(string solver_name);
111void chiFVDiffusionSetBCProperty(int SolverHandle, string PropertyName, varying Values);
113void chiCFEMMGDiffusionSetBCProperty(int SolverHandle, string PropertyName, varying Values);
114Varying*/ chiPRKGetParam(int handle, string param_name);
115Varying*/ chiPRKSetParam(int handle, string param_name, Varying value);
117void chiCFEMDiffusionSetBCProperty(int SolverHandle, string PropertyName, varying Values);
119void chiDiffusionSetProperty(int SolverHandle, string PropertyName, varying Values);
120Success chiDiffusionExecute(int SolverHandle);
121Success chiDiffusionInitialize(int SolverHandle);
123void chiDFEMDiffusionSetBCProperty(int SolverHandle, string PropertyName, varying Values);
124void chiLBSInitializeMaterials(int SolverIndex);
125void chiLBSAddPointSource(int SolverIndex, double Location_x, double Location_y, double Location_z, table Strength);
126void chiLBSClearPointSources(int SolverIndex);
127void chiLBSInitializePointSources(int SolverIndex);
128void chiLBSWriteGroupsetAngularFlux(int SolverIndex, int GroupsetIndex, string file_base);
129void chiLBSReadGroupsetAngularFlux(int SolverIndex, int GroupsetIndex, string file_base);
130void chiLBSSetProperty(int SolverIndex, int PropertyIndex);
131Pair chiLBSGetScalarFieldFunctionList(int SolverIndex);
132void chiLBSCreateGroupset(int SolverIndex);
133void chiLBSCreateGroup(int SolverIndex, int GroupId);
134void chiLBSGroupsetAddGroups(int SolverIndex, int GroupsetIndex, int FromIndex, int ToIndex);
135void chiLBSGroupsetSetQuadrature(int SolverIndex, int GroupsetIndex, int QuadratureIndex);
136void chiLBSGroupsetSetAngleAggregationType(int SolverIndex, int GroupsetIndex, int AggregationType);
137void chiLBSGroupsetSetAngleAggDiv(int SolverIndex, int GroupsetIndex, int NumDiv);
138void chiLBSGroupsetSetGroupSubsets(int SolverIndex, int GroupsetIndex, int NumDiv);
139void chiLBSGroupsetSetIterativeMethod(int SolverIndex, int GroupsetIndex, int IterativeMethod);
140void chiLBSGroupsetSetResidualTolerance(int SolverIndex, int GroupsetIndex, float ResidualTol);
141void chiLBSGroupsetSetMaxIterations(int SolverIndex, int GroupsetIndex, int Numiter);
142void chiLBSGroupsetSetGMRESRestartIntvl(int SolverIndex, int GroupsetIndex, int Intvl);
143void chiLBSGroupsetSetEnableSweepLog(int SolverIndex, int GroupsetIndex, bool flag);
144void chiLBSGroupsetSetWGDSA(int SolverIndex, int GroupsetIndex, int MaxIters, float ResTol, bool Verbose, char PETSCString);
145void chiLBSGroupsetSetTGDSA(int SolverIndex, int GroupsetIndex, int MaxIters, float ResTol, bool Verbose, char PETSCString);
146double chiLBSComputeFissionRate(int SolverIndex, string OldNewOption);
147void chiLBSWriteFluxMoments(int SolverIndex, string file_base);
148void chiLBSCreateAndWriteSourceMoments(int SolverIndex, string file_base);
149void chiLBSReadFluxMomentsAndMakeSourceMoments(int SolverIndex, string file_base, bool single_file_flag);
150void chiLBSReadSourceMoments(int SolverIndex, string file_base, bool single_file_flag);
151void chiLBSReadFluxMoments(int SolverIndex, string file_base, bool single_file_flag);
152void chiLBSSetPhiFromFieldFunction(int handle, Table specs);
156handle chiAdjointSolverReadFluxMomentsToBuffer(int SolverHandle, string FileBaseName);
157void chiAdjointSolverApplyFluxMomentBuffer(int SolverHandle, int BufferHandle);
159The chiLBSComputeLeakage(int SolverIndex, int GroupSetHandle, int BoundaryID);
160void chiLBSComputeBalance(int SolverIndex);
161void chiLBTSAdvanceTimeData(int SolverIndex);
162void chiLBSCreateTransientSolver(string SolverName);
163void chiLBTSSetProperty(int SolverIndex, string PropertyName);
164void chiLBTSGetProperty(int SolverIndex, string PropertyName);
165}//namespace chi_lua
void chiLBSComputeBalance(int SolverIndex)
void chiLBSSetProperty(int SolverIndex, int PropertyIndex)
void chiLBSInitializePointSources(int SolverIndex)
void chiLBSClearPointSources(int SolverIndex)
void chiLBSAddPointSource(int SolverIndex, double Location_x, double Location_y, double Location_z, table Strength)
double chiLBSComputeFissionRate(int SolverIndex, string OldNewOption)
void chiLBSInitializeMaterials(int SolverIndex)
Pair chiLBSGetScalarFieldFunctionList(int SolverIndex)
The chiLBSComputeLeakage(int SolverIndex, int GroupSetHandle, int BoundaryID)
Handle chiCFEMMGDiffusionSolverCreate()
Handle chiCFEMDiffusionSolverCreate()
void chiDFEMDiffusionSetBCProperty(int SolverHandle, string PropertyName, varying Values)
Success chiDiffusionInitialize(int SolverHandle)
void chiCFEMDiffusionSetBCProperty(int SolverHandle, string PropertyName, varying Values)
void chiDiffusionSetProperty(int SolverHandle, string PropertyName, varying Values)
void chiCFEMMGDiffusionSetBCProperty(int SolverHandle, string PropertyName, varying Values)
Handle chiFVDiffusionSolverCreate(string solver_name)
void chiFVDiffusionSetBCProperty(int SolverHandle, string PropertyName, varying Values)
Handle chiDFEMDiffusionSolverCreate()
Handle chiDiffusionCreateSolver()
Success chiDiffusionExecute(int SolverHandle)
void chiDecomposeSurfaceMeshPxPy(mesh Surface, int Px, int Py)
void chiFFInterpolationExportPython(int FFIHandle, char BaseName)
Handle chiFFInterpolationCreate(int FFITypeIndex)
void chiFFInterpolationExecute(int FFIHandle)
void chiFFInterpolationGetValue(int FFIHandle)
void chiFFInterpolationInitialize(int FFIHandle)
Handle chiFFInterpolationSetProperty(int FFIHandle, int PropertyIndex)
void chiLBSGroupsetAddGroups(int SolverIndex, int GroupsetIndex, int FromIndex, int ToIndex)
void chiLBSGroupsetSetEnableSweepLog(int SolverIndex, int GroupsetIndex, bool flag)
void chiLBSGroupsetSetQuadrature(int SolverIndex, int GroupsetIndex, int QuadratureIndex)
void chiLBSGroupsetSetTGDSA(int SolverIndex, int GroupsetIndex, int MaxIters, float ResTol, bool Verbose, char PETSCString)
void chiLBSCreateGroup(int SolverIndex, int GroupId)
void chiLBSGroupsetSetMaxIterations(int SolverIndex, int GroupsetIndex, int Numiter)
void chiLBSGroupsetSetAngleAggDiv(int SolverIndex, int GroupsetIndex, int NumDiv)
void chiLBSGroupsetSetAngleAggregationType(int SolverIndex, int GroupsetIndex, int AggregationType)
void chiLBSGroupsetSetGroupSubsets(int SolverIndex, int GroupsetIndex, int NumDiv)
void chiLBSGroupsetSetResidualTolerance(int SolverIndex, int GroupsetIndex, float ResidualTol)
void chiLBSGroupsetSetWGDSA(int SolverIndex, int GroupsetIndex, int MaxIters, float ResTol, bool Verbose, char PETSCString)
void chiLBSGroupsetSetIterativeMethod(int SolverIndex, int GroupsetIndex, int IterativeMethod)
void chiLBSCreateGroupset(int SolverIndex)
void chiLBSGroupsetSetGMRESRestartIntvl(int SolverIndex, int GroupsetIndex, int Intvl)
double chiLogProcessEvent(string event_name, string event_operation_name)
void chiLog(int LogType, char LogMsg)
void chiLogSetVerbosity(int int_level)
void chiLogPrintTimingGraph(int rank)
Sense chiLogicalVolumePointSense(int LVHandle, double Point_x, double Point_y, double Point_z)
Handle chiLogicalVolumeCreate(int TypeIndex, varying Values)
void chiLegendre(int N, double x)
void chiYlm(int ell, int m, double theta, double varphi)
void chiLegendreDerivative(int N, double x)
Handle chiMeshHandlerCreate()
void chiMeshHandlerExportMeshToObj(char FileName, bool ExportByMaterial)
void chiMeshHandlerSetCurrent(int HandlerHandler)
void chiMeshHandlerExportMeshToExodus(char FileName, bool suppress_nodesets, bool suppress_sidesets)
void chiMeshHandlerExportMeshToVTK(char FileName)
Two chiMeshCreateUnpartitioned3DOrthoMesh(array_float x_nodes, array_float y_nodes, array_float z_nodes)
Two chiMeshCreateUnpartitioned2DOrthoMesh(array_float x_nodes, array_float y_nodes)
Two chiMeshCreateUnpartitioned1DOrthoMesh(array_float x_nodes)
MaterialHandle chiPhysicsAddMaterial(char Name)
void chiPhysicsMaterialAddProperty(int MaterialHandle, int PropertyIndex)
Lua chiPhysicsMaterialGetProperty(int MaterialHandle, int PropertyIndex)
void chiPhysicsMaterialSetProperty(int MaterialHandle, int PropertyIndex, int OperationIndex, varying Information)
Returns chiCreateSphericalProductQuadrature(int QuadratureType, varying values)
Returns chiCreateCylindricalProductQuadrature(int QuadratureType, varying values)
Returns chiCreateProductQuadrature(int QuadratureType, varying values)
void chiOptimizeAngularQuadratureForPolarSymmetry(in handle, double normalization)
Table chiGetProductQuadrature(int QuadHandle)
Returns chiCreateLineQuadrature(int QuadratureType, int NumberOfPoints, bool VerboseFlag)
Returns chiCreateCustomAngularQuadrature(array azimuthal_angles, array polar_angles, array weight)
void chiPrintToPythonSLDFESQAngularQuadrature(int handle, string file_name_prefix)
void chiCreateSLDFESQAngularQuadrature(int initial_refinement_level)
void chiLocallyRefineSLDFESQAngularQuadrature(in handle, vec3 reference_direction, double cone_size, bool invert_logic)
Handle chiSurfaceMeshCreate()
success chiSurfaceMeshImportFromOBJFile(int SurfaceHandle, string FileName, bool polyflag, table3 transform)
void chiSurfaceMeshCheckCycles(int SurfaceHandle, int NumAngles)
void chiSurfaceMeshExtractOpenEdgesToObj(int SurfaceHandle, char FileName)
void chiSurfaceMeshExportToObj(int SurfaceHandle, char *FileName)
void chiSurfaceMeshExportPolyFile(int SurfaceHandle, char *FileName)
success chiSurfaceMeshImportFromTriangleFiles(int SurfaceHandle, char *FileName, bool polyflag)
void chiComputeLoadBalancing(int SurfaceHandle, table Xcuts, table Ycuts)
void chiSurfaceMesherCreate(int SurfaceMesherType)
void chiSurfaceMesherSetProperty(int PropertyNumber, varying PropertyValue)
void chiSurfaceMesherExecute()
void chiPhysicsTransportXSExportToChiTechFormat(int XS_handle, string file_name)
void chiPhysicsTransportXSSetCombined(int XS_handle, table Combinations)
void chiPhysicsTransportXSSet(int XS_handle, int OperationIndex, varying Information)
Returns chiPhysicsTransportXSCreate()
void chiPhysicsTransportXSGet(int XS_handle)
Returns chiPhysicsTransportXSMakeCombined(table Combinations)
Handle chiUnpartitionedMeshFromWavefrontOBJ(char file_name)
void chiUnpartitionedMeshUploadVertex(int handle, double x, double y, double z)
Handle chiUnpartitionedMeshFromMshFormat(char file_name)
void chiUnpartitionedMeshFinalizeEmpty(int handle)
void chiCreateEmptyUnpartitionedMesh()
Handle chiUnpartitionedMeshFromExodusII(char file_name, float scale)
Handle chiUnpartitionedMeshFromVTU(char file_name, char field)
void chiUnpartitionedMeshUploadCell(int handle, lua_table cell_table)
void chiDestroyUnpartitionedMesh(int handle)
Handle chiUnpartitionedMeshFromPVTU(char file_name, char field)
Handle chiUnpartitionedMeshFromEnsightGold(char file_name, float scale)
void chiVolumeMesherSetKBACutsX()
void chiVolumeMesherSetProperty(int PropertyIndex, varying PropertyValue)
void chiVolumeMesherSetKBAPartitioningPxPyPz(int Px, int Py, int Pz)
void chiVolumeMesherSetMatIDToAll(int material_id)
void chiVolumeMesherCreate(int Type, varying OtherArgs)
void chiVolumeMesherExecute()
void chiVolumeMesherSetKBACutsZ()
void chiVolumeMesherSetKBACutsY()
void chiVolumeMesherSetupOrthogonalBoundaries()
void chiMPIBarrier()
void chiSolverGetInfo(int solver_handle, varying info)
void chiSolverSetBasicOption(int solver_handle, string option_name, varying option_value)
void chiSolverExecute(int solver_handle)
void chiSolverStep(int solver_handle)
void chiSolverGetName(int solver_handle)
void chiSolverSetProperties(int handle, Table property_table)
void chiSolverInitialize(int solver_handle)
Definition: lua_functions.c:92
void chiSolverCreate(ParameterBloc params)
Definition: lua_functions.c:17
void chiSolverAdvance(int solver_handle)
void chiSolverGetFieldFunctionList(int SolverHandle)
void chiSurfaceMeshImportFromMshFiles()
Varying * chiPRKSetParam(int handle, string param_name, Varying value)
void chiLBTSGetProperty(int SolverIndex, string PropertyName)
void chiLBSReadFluxMomentsAndMakeSourceMoments(int SolverIndex, string file_base, bool single_file_flag)
void chiLBSWriteFluxMoments(int SolverIndex, string file_base)
void chiLBSSetPhiFromFieldFunction(int handle, Table specs)
void chiAdjointSolverExportImportanceMapBinary()
Varying * chiPRKGetParam(int handle, string param_name)
void chiFieldOperationExecute(int handle)
void chiFunctionDimAToDimBEvaluate()
void chiMakeObjectType()
void chiLBSCreateTransientSolver(string SolverName)
void chiCutMesh(Vec3 PlanePoint, Vec3 PlaneNormal, double MergeTol, double GeneralTol)
void chiAdjointSolverAddResponseFunction()
void chiCountMeshInLogicalVolume()
void chiProgramTime()
handle chiAdjointSolverReadFluxMomentsToBuffer(int SolverHandle, string FileBaseName)
void chiLBSWriteGroupsetAngularFlux(int SolverIndex, int GroupsetIndex, string file_base)
void chiMakeObject()
void chiLBSReadFluxMoments(int SolverIndex, string file_base, bool single_file_flag)
void chiLBSReadGroupsetAngularFlux(int SolverIndex, int GroupsetIndex, string file_base)
handle chiGetFieldFunctionHandleByName(string FFname)
void chiAdjointSolverMakeExpRepFromP1Moments()
void chiExportMultiFieldFunctionToVTK(table listFFHandles, char BaseName)
void chiAdjointSolverApplyFluxMomentBuffer(int SolverHandle, int BufferHandle)
void chiLBTSAdvanceTimeData(int SolverIndex)
void chiSleep()
void chiAdjointSolverComputeInnerProduct()
void chiLBSReadSourceMoments(int SolverIndex, string file_base, bool single_file_flag)
void chiLBTSSetProperty(int SolverIndex, string PropertyName)
void chiExportFieldFunctionToVTK(int FFHandle, char BaseName)
void chiMeshGeneratorExecute()
void chiExit()
void chiLBSCreateAndWriteSourceMoments(int SolverIndex, string file_base)