Commit b1c7d3bc authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1315 Apply the rewriting of Lua files to all embedded models. A setprecision...

#1315 Apply the rewriting of Lua files to all embedded models. A setprecision has been added to ensure keeping the double precision during the process.
parent b14957fb
......@@ -4667,6 +4667,11 @@
BECF3E3022E8D3A400FF951A /* main_update_lua_file.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main_update_lua_file.cpp; sourceTree = "<group>"; };
BECF3E3F22E98DDB00FF951A /* RewriteInputDataFile.hxx */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = RewriteInputDataFile.hxx; sourceTree = "<group>"; };
BECF3E4022E98DDB00FF951A /* RewriteInputDataFile.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = RewriteInputDataFile.hpp; sourceTree = "<group>"; };
BECF3E4422E99D5400FF951A /* main_update_lua_file.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main_update_lua_file.cpp; sourceTree = "<group>"; };
BECF3E4522E99DB400FF951A /* main_update_lua_file.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main_update_lua_file.cpp; sourceTree = "<group>"; };
BECF3E4622E99DCE00FF951A /* main_update_lua_file.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main_update_lua_file.cpp; sourceTree = "<group>"; };
BECF3E4722E99DF400FF951A /* main_update_lua_file.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main_update_lua_file.cpp; sourceTree = "<group>"; };
BECF3E4822E99E2C00FF951A /* main_update_lua_file.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = main_update_lua_file.cpp; path = RivlinCube/main_update_lua_file.cpp; sourceTree = "<group>"; };
BED13351206519C700A3B0AA /* Penalization.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Penalization.hxx; sourceTree = "<group>"; };
BED13352206519C800A3B0AA /* Penalization.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Penalization.hpp; sourceTree = "<group>"; };
BED748E41906734200BAB761 /* main_test_ondomatic_numbering.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = main_test_ondomatic_numbering.cpp; sourceTree = "<group>"; };
......@@ -5521,6 +5526,7 @@
137F2B091E38B22900BD6083 /* InputData.hpp */,
137F2B0A1E38B22900BD6083 /* main.cpp */,
137F2B0B1E38B22900BD6083 /* main_ensight_output.cpp */,
BECF3E4522E99DB400FF951A /* main_update_lua_file.cpp */,
BE8E21C5207E76CA00E24E6D /* test_results.cpp */,
137F2B0C1E38B22900BD6083 /* Model.cpp */,
137F2B0D1E38B22900BD6083 /* Model.hpp */,
......@@ -5567,6 +5573,7 @@
13E8D79E1C0DF488009073DA /* InputData.hpp */,
13E8D79F1C0DF68D009073DA /* main.cpp */,
BEE31B931D997302006B1DE7 /* main_ensight_output.cpp */,
BECF3E4822E99E2C00FF951A /* main_update_lua_file.cpp */,
BE8E21CA207E9D5100E24E6D /* test_results.cpp */,
13E8D7971C0DF39F009073DA /* Model.cpp */,
13E8D7981C0DF39F009073DA /* Model.hpp */,
......@@ -8196,6 +8203,7 @@
BE5ECE2919AC85EA00C636A7 /* InputData.hpp */,
BE915A151AAF514900B4C474 /* main.cpp */,
BEE31B8D1D99692F006B1DE7 /* main_ensight_output_monolithic.cpp */,
BECF3E4622E99DCE00FF951A /* main_update_lua_file.cpp */,
BE8E21C7207E9D2100E24E6D /* test_results.cpp */,
BE5ECE2619AC85EA00C636A7 /* Model.cpp */,
BE5ECE2719AC85EA00C636A7 /* Model.hpp */,
......@@ -10368,6 +10376,7 @@
BEE072951FE177E2002D6EF1 /* InputData.hpp */,
BEE072961FE177E2002D6EF1 /* main.cpp */,
BEE072971FE177E2002D6EF1 /* main_ensight_output.cpp */,
BECF3E4722E99DF400FF951A /* main_update_lua_file.cpp */,
BE8E21C9207E9D3F00E24E6D /* test_results.cpp */,
BEE072981FE177E2002D6EF1 /* Model.cpp */,
BEE072991FE177E2002D6EF1 /* Model.hpp */,
......@@ -10547,6 +10556,7 @@
BEF282901A850E2800857342 /* InputData.hpp */,
BE4478881AA7415000665010 /* main.cpp */,
BEE31B911D99723F006B1DE7 /* main_ensight_output.cpp */,
BECF3E4422E99D5400FF951A /* main_update_lua_file.cpp */,
BE8B5FC0207BC43F00DC005E /* test_results.cpp */,
BEF282921A850E2800857342 /* HeatModel.cpp */,
BEF282931A850E2800857342 /* HeatModel.hpp */,
......@@ -23,8 +23,7 @@ target_link_libraries(MoReFEM4Elasticity
MoReFEM4Elasticity_lib)
apply_lto_if_supported(MoReFEM4Elasticity)
morefem_install(MoReFEM4Elasticity MoReFEM4Elasticity_lib)
add_executable(MoReFEM4ElasticityUpdateLuaFile ${CMAKE_CURRENT_LIST_DIR}/main_update_lua_file.cpp)
target_link_libraries(MoReFEM4ElasticityUpdateLuaFile
......@@ -35,6 +34,8 @@ add_executable(MoReFEM4ElasticityEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_en
target_link_libraries(MoReFEM4ElasticityEnsightOutput
${MOREFEM_POST_PROCESSING})
morefem_install(MoReFEM4Elasticity MoReFEM4Elasticity_lib MoReFEM4ElasticityEnsightOutput MoReFEM4ElasticityUpdateLuaFile)
add_test(ElasticityModel3D
MoReFEM4Elasticity
......
......@@ -90,20 +90,20 @@ Domain1 = {
-- Index of the geometric mesh upon which the domain is defined (as defined in the present file). Might be
-- left empty if domain not limited to one mesh; at most one value is expected here.
-- Expected format: { VALUE1, VALUE2, ...}
mesh_index = {1},
mesh_index = { 1 },
-- List of dimensions encompassed by the domain. Might be left empty if no restriction at all upon
-- dimensions.
-- Expected format: { VALUE1, VALUE2, ...}
-- Constraint: value_in(v, {0, 1, 2, 3})
dimension_list = {2},
dimension_list = { 2 },
-- List of mesh labels encompassed by the domain. Might be left empty if no restriction at all upon mesh
-- labels. This parameter does not make sense if no mesh is defined for the domain.
-- Expected format: { VALUE1, VALUE2, ...}
mesh_label_list = {},
mesh_label_list = { },
-- List of geometric element types considered in the domain. Might be left empty if no restriction upon
......@@ -118,7 +118,7 @@ Domain1 = {
-- . Tetrahedron4, Tetrahedron10
-- . Hexahedron8, Hexahedron20, Hexahedron27.
-- Expected format: {"VALUE1", "VALUE2", ...}
geometric_element_type_list = {}
geometric_element_type_list = { }
} -- Domain1
......@@ -128,20 +128,20 @@ Domain2 = {
-- Index of the geometric mesh upon which the domain is defined (as defined in the present file). Might be
-- left empty if domain not limited to one mesh; at most one value is expected here.
-- Expected format: { VALUE1, VALUE2, ...}
mesh_index = {1},
mesh_index = { 1 },
-- List of dimensions encompassed by the domain. Might be left empty if no restriction at all upon
-- dimensions.
-- Expected format: { VALUE1, VALUE2, ...}
-- Constraint: value_in(v, {0, 1, 2, 3})
dimension_list = {1},
dimension_list = { 1 },
-- List of mesh labels encompassed by the domain. Might be left empty if no restriction at all upon mesh
-- labels. This parameter does not make sense if no mesh is defined for the domain.
-- Expected format: { VALUE1, VALUE2, ...}
mesh_label_list = {2},
mesh_label_list = { 2 },
-- List of geometric element types considered in the domain. Might be left empty if no restriction upon
......@@ -156,7 +156,7 @@ Domain2 = {
-- . Tetrahedron4, Tetrahedron10
-- . Hexahedron8, Hexahedron20, Hexahedron27.
-- Expected format: {"VALUE1", "VALUE2", ...}
geometric_element_type_list = {}
geometric_element_type_list = { }
} -- Domain2
......@@ -166,20 +166,20 @@ Domain3 = {
-- Index of the geometric mesh upon which the domain is defined (as defined in the present file). Might be
-- left empty if domain not limited to one mesh; at most one value is expected here.
-- Expected format: { VALUE1, VALUE2, ...}
mesh_index = {1},
mesh_index = { 1 },
-- List of dimensions encompassed by the domain. Might be left empty if no restriction at all upon
-- dimensions.
-- Expected format: { VALUE1, VALUE2, ...}
-- Constraint: value_in(v, {0, 1, 2, 3})
dimension_list = {},
dimension_list = { },
-- List of mesh labels encompassed by the domain. Might be left empty if no restriction at all upon mesh
-- labels. This parameter does not make sense if no mesh is defined for the domain.
-- Expected format: { VALUE1, VALUE2, ...}
mesh_label_list = {1},
mesh_label_list = { 1 },
-- List of geometric element types considered in the domain. Might be left empty if no restriction upon
......@@ -194,7 +194,7 @@ Domain3 = {
-- . Tetrahedron4, Tetrahedron10
-- . Hexahedron8, Hexahedron20, Hexahedron27.
-- Expected format: {"VALUE1", "VALUE2", ...}
geometric_element_type_list = {}
geometric_element_type_list = { }
} -- Domain3
......@@ -204,20 +204,20 @@ Domain4 = {
-- Index of the geometric mesh upon which the domain is defined (as defined in the present file). Might be
-- left empty if domain not limited to one mesh; at most one value is expected here.
-- Expected format: { VALUE1, VALUE2, ...}
mesh_index = {1},
mesh_index = { 1 },
-- List of dimensions encompassed by the domain. Might be left empty if no restriction at all upon
-- dimensions.
-- Expected format: { VALUE1, VALUE2, ...}
-- Constraint: value_in(v, {0, 1, 2, 3})
dimension_list = {},
dimension_list = { },
-- List of mesh labels encompassed by the domain. Might be left empty if no restriction at all upon mesh
-- labels. This parameter does not make sense if no mesh is defined for the domain.
-- Expected format: { VALUE1, VALUE2, ...}
mesh_label_list = {},
mesh_label_list = { },
-- List of geometric element types considered in the domain. Might be left empty if no restriction upon
......@@ -232,7 +232,7 @@ Domain4 = {
-- . Tetrahedron4, Tetrahedron10
-- . Hexahedron8, Hexahedron20, Hexahedron27.
-- Expected format: {"VALUE1", "VALUE2", ...}
geometric_element_type_list = {}
geometric_element_type_list = { }
} -- Domain4
......@@ -257,7 +257,7 @@ EssentialBoundaryCondition1 = {
-- Values at each of the relevant component.
-- Expected format: { VALUE1, VALUE2, ...}
value = {0, 0},
value = { 0, 0 },
-- Index of the domain onto which essential boundary condition is defined.
......@@ -293,17 +293,17 @@ FiniteElementSpace1 = {
-- List of all unknowns defined in the finite element space. Unknowns here must be defined in this file as
-- an 'Unknown' block; expected name/identifier is the name given there.
-- Expected format: {"VALUE1", "VALUE2", ...}
unknown_list = {'solid_displacement'},
unknown_list = { 'solid_displacement' },
-- List of the shape function to use for each unknown;
-- Expected format: {"VALUE1", "VALUE2", ...}
shape_function_list = {'P1b'},
shape_function_list = { 'P1b' },
-- List of the numbering subset to use for each unknown;
-- Expected format: { VALUE1, VALUE2, ...}
numbering_subset_list = {1}
numbering_subset_list = { 1 }
} -- FiniteElementSpace1
......@@ -323,17 +323,17 @@ FiniteElementSpace2 = {
-- List of all unknowns defined in the finite element space. Unknowns here must be defined in this file as
-- an 'Unknown' block; expected name/identifier is the name given there.
-- Expected format: {"VALUE1", "VALUE2", ...}
unknown_list = {'solid_displacement'},
unknown_list = { 'solid_displacement' },
-- List of the shape function to use for each unknown;
-- Expected format: {"VALUE1", "VALUE2", ...}
shape_function_list = {'P1'},
shape_function_list = { 'P1' },
-- List of the numbering subset to use for each unknown;
-- Expected format: { VALUE1, VALUE2, ...}
numbering_subset_list = {1}
numbering_subset_list = { 1 }
} -- FiniteElementSpace2
......@@ -433,7 +433,7 @@ Solid = {
-- ]]
-- where x, y and z are global coordinates. sin, cos, tan, exp and so forth require a 'math.' preffix.
-- Expected format: see the variant description...
value = 8.30769e+06
value = 8307692.02366862
}, -- YoungModulus
......@@ -459,7 +459,7 @@ Solid = {
-- ]]
-- where x, y and z are global coordinates. sin, cos, tan, exp and so forth require a 'math.' preffix.
-- Expected format: see the variant description...
value = 0.0384615
value = 0.0384615029585771
}, -- PoissonRatio
......@@ -478,7 +478,7 @@ TransientSource1 = {
-- etc...). Choose "ignore" if you do not want this parameter (in this case it will stay at nullptr).
-- Expected format: {"VALUE1", "VALUE2", ...}
-- Constraint: value_in(v, {'ignore', 'constant', 'lua_function','piecewise_constant_by_domain'})
nature = {'ignore', 'ignore', 'ignore'},
nature = { 'ignore', 'ignore', 'ignore' },
-- The values of the vectorial parameter; expected format is a table (opening = '{', closing = '} and
......@@ -494,7 +494,7 @@ TransientSource1 = {
-- ]]
-- where x, y and z are global coordinates. sin, cos, tan, exp and so forth require a 'math.' preffix.
-- Expected format: { VALUE1, VALUE2, ...}
value = {0, 0, 0}
value = { 0, 0, 0 }
} -- TransientSource1
......@@ -505,7 +505,7 @@ TransientSource2 = {
-- etc...). Choose "ignore" if you do not want this parameter (in this case it will stay at nullptr).
-- Expected format: {"VALUE1", "VALUE2", ...}
-- Constraint: value_in(v, {'ignore', 'constant', 'lua_function','piecewise_constant_by_domain'})
nature = {'constant', 'constant', 'constant'},
nature = { 'constant', 'constant', 'constant' },
-- The values of the vectorial parameter; expected format is a table (opening = '{', closing = '} and
......@@ -521,7 +521,7 @@ TransientSource2 = {
-- ]]
-- where x, y and z are global coordinates. sin, cos, tan, exp and so forth require a 'math.' preffix.
-- Expected format: { VALUE1, VALUE2, ...}
value = {0, 0.005, 0}
value = { 0, 0.005, 0 }
} -- TransientSource2
......
......@@ -29,7 +29,10 @@ add_executable(MoReFEM4HeatEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ensight_
target_link_libraries(MoReFEM4HeatEnsightOutput
${MOREFEM_POST_PROCESSING})
morefem_install(MoReFEM4HeatEnsightOutput)
add_executable(MoReFEM4HeatUpdateLuaFile ${CMAKE_CURRENT_LIST_DIR}/main_update_lua_file.cpp)
target_link_libraries(MoReFEM4HeatUpdateLuaFile ${MOREFEM_CORE})
morefem_install(MoReFEM4HeatEnsightOutput MoReFEM4HeatUpdateLuaFile)
add_executable(MoReFEM4HeatCheckResults ${CMAKE_CURRENT_LIST_DIR}/test_results.cpp)
target_link_libraries(MoReFEM4HeatCheckResults
......
//! \file
//
//
// main_update_lua_file.cpp
// MoReFEM
//
// Created by sebastien on 24/07/2019.
//Copyright © 2019 Inria. All rights reserved.
//
#include "Utilities/Exceptions/PrintAndAbort.hpp"
#include "Utilities/InputData/RewriteInputDataFile.hpp"
#include "Core/MoReFEMData/MoReFEMData.hpp"
#include "ModelInstances/Heat/InputData.hpp"
using namespace MoReFEM;
int main(int argc, char** argv)
{
using InputData = HeatNS::InputData;
try
{
MoReFEMData<InputData> morefem_data(argc, argv);
RewriteInputDataFile(morefem_data.GetInputData());
}
catch(const std::exception& e)
{
std::ostringstream oconv;
oconv << "Exception caught: " << e.what() << std::endl;
std::cout << oconv.str();
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
......@@ -28,7 +28,10 @@ add_executable(MoReFEM4HyperelasticityEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/ma
target_link_libraries(MoReFEM4HyperelasticityEnsightOutput
${MOREFEM_POST_PROCESSING})
morefem_install(MoReFEM4HyperelasticityEnsightOutput)
add_executable(MoReFEM4HyperelasticityUpdateLuaFile ${CMAKE_CURRENT_LIST_DIR}/main_update_lua_file.cpp)
target_link_libraries(MoReFEM4HyperelasticityUpdateLuaFile ${MOREFEM_CORE})
morefem_install(MoReFEM4HyperelasticityEnsightOutput MoReFEM4HyperelasticityUpdateLuaFile)
add_executable(MoReFEM4HyperelasticityCheckResults ${CMAKE_CURRENT_LIST_DIR}/test_results.cpp)
target_link_libraries(MoReFEM4HyperelasticityCheckResults
......
//! \file
//
//
// main_update_lua_file.cpp
// MoReFEM
//
// Created by sebastien on 24/07/2019.
//Copyright © 2019 Inria. All rights reserved.
//
#include "Utilities/Exceptions/PrintAndAbort.hpp"
#include "Utilities/InputData/RewriteInputDataFile.hpp"
#include "Core/MoReFEMData/MoReFEMData.hpp"
#include "ModelInstances/Hyperelasticity/InputData.hpp"
using namespace MoReFEM;
int main(int argc, char** argv)
{
using InputData = MidpointHyperelasticityNS::InputData;
try
{
MoReFEMData<InputData> morefem_data(argc, argv);
RewriteInputDataFile(morefem_data.GetInputData());
}
catch(const std::exception& e)
{
std::ostringstream oconv;
oconv << "Exception caught: " << e.what() << std::endl;
std::cout << oconv.str();
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
......@@ -29,7 +29,10 @@ add_executable(MoReFEM4LaplacianEnsightOutput ${CMAKE_CURRENT_LIST_DIR}/main_ens
target_link_libraries(MoReFEM4LaplacianEnsightOutput
${MOREFEM_POST_PROCESSING})
morefem_install(MoReFEM4LaplacianEnsightOutput)
add_executable(MoReFEM4LaplacianUpdateLuaFile ${CMAKE_CURRENT_LIST_DIR}/main_update_lua_file.cpp)
target_link_libraries(MoReFEM4LaplacianUpdateLuaFile ${MOREFEM_CORE})
morefem_install(MoReFEM4LaplacianEnsightOutput MoReFEM4LaplacianUpdateLuaFile)
add_test(Laplacian
MoReFEM4Laplacian
......
......@@ -3,33 +3,39 @@
transient = {
-- Time at the beginning of the code (in seconds).
-- Expected format: VALUE
-- Constraint: v >= 0.
init_time = 0.,
init_time = 0,
-- Time step between two iterations, in seconds.
-- Expected format: VALUE
-- Constraint: v > 0.
timeStep = 0.1,
-- Maximum time, if set to zero run a static case.
-- Maximum time, if set to zero run a static case.
-- Expected format: VALUE
-- Constraint: v >= 0.
timeMax = 0.
timeMax = 0
} -- transient
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${MOREFEM_ROOT}/Data/Mesh/cube_hexa_N10_corrected.mesh",
mesh = '${MOREFEM_ROOT}/Data/Mesh/cube_hexa_N10_corrected.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
-- Constraint: value_in(v, {'Ensight', 'Medit'})
format = "Medit",
format = 'Medit',
-- Highest dimension of the input mesh. This dimension might be lower than the one effectively read in the
-- mesh file; in which case Coords will be reduced provided all the dropped values are 0. If not, an
......@@ -38,18 +44,21 @@ Mesh1 = {
-- Constraint: v <= 3 and v > 0
dimension = 3,
-- Space unit of the mesh.
-- Expected format: VALUE
space_unit = 1.
space_unit = 1
} -- Mesh1
NumberingSubset1 = {
-- Name of the numbering subset (not really used; at the moment I just need one input parameter to ground
-- the possible values to choose elsewhere).
-- Expected format: "VALUE"
name = "monolithic",
name = 'monolithic',
-- Whether a vector defined on this numbering subset might be used to compute a movemesh. If true, a
-- FEltSpace featuring this numbering subset will compute additional quantities to enable fast computation.
......@@ -62,9 +71,11 @@ NumberingSubset1 = {
Unknown1 = {
-- Name of the unknown (used for displays in output).
-- Expected format: "VALUE"
name = "pressure",
name = 'pressure',
-- Index of the god of dof into which the finite element space is defined.
-- Expected format: "VALUE"
......@@ -73,138 +84,154 @@ Unknown1 = {
} -- Unknown1
-- Full Mesh
Domain1 = {
-- Index of the geometric mesh upon which the domain is defined (as defined in the present file). Might be
-- left empty if domain not limited to one mesh; at most one value is expected here.
-- Expected format: {VALUE1, VALUE2, ...}
mesh_index = { 1 },
-- Expected format: { VALUE1, VALUE2, ...}
mesh_index = {1},
-- List of dimensions encompassed by the domain. Might be left empty if no restriction at all upon
-- dimensions.
-- Expected format: {VALUE1, VALUE2, ...}
-- Expected format: { VALUE1, VALUE2, ...}
-- Constraint: value_in(v, {0, 1, 2, 3})
dimension_list = { },
dimension_list = {},
-- List of mesh labels encompassed by the domain. Might be left empty if no restriction at all upon mesh
-- labels. This parameter does not make sense if no mesh is defined for the domain.
-- Expected format: {VALUE1, VALUE2, ...}
mesh_label_list = { },
-- Expected format: { VALUE1, VALUE2, ...}
mesh_label_list = {},
-- List of geometric element types considered in the domain. Might be left empty if no restriction upon
-- these. No constraint is applied at LuaOptionFile level, as some geometric element types could be added after
-- generation of current input data file. Current list is below; if an incorrect value is put there it
-- will be detected a bit later when the domain object is built.
-- The known types when this file was generated are:
-- . Point1
-- . Segment2, Segment3
-- . Triangle3, Triangle6
-- . Quadrangle4, Quadrangle8, Quadrangle9
-- . Tetrahedron4, Tetrahedron10
-- . Hexahedron8, Hexahedron20, Hexahedron27.
-- these. No constraint is applied at  LuaOptionFile level, as some geometric element types could be added
-- after generation of current input data file. Current list is below; if an incorrect value is put there it
-- will be detected a bit later when the domain object is built.
-- The known types when this file was generated are:
-- . Point1
-- . Segment2, Segment3
-- . Triangle3, Triangle6
-- . Quadrangle4, Quadrangle8, Quadrangle9
-- . Tetrahedron4, Tetrahedron10
-- . Hexahedron8, Hexahedron20, Hexahedron27.
-- Expected format: {"VALUE1", "VALUE2", ...}
geometric_element_type_list = { },
geometric_element_type_list = {}
} -- Domain1
-- Volume
Domain2 = {
-- Index of the geometric mesh upon which the domain is defined (as defined in the present file). Might be
-- left empty if domain not limited to one mesh; at most one value is expected here.
-- Expected format: {VALUE1, VALUE2, ...}
mesh_index = { 1 },
-- Expected format: { VALUE1, VALUE2, ...}
mesh_index = {1},
-- List of dimensions encompassed by the domain. Might be left empty if no restriction at all upon
-- dimensions.
-- Expected format: {VALUE1, VALUE2, ...}
-- Expected format: { VALUE1, VALUE2, ...}
-- Constraint: value_in(v, {0, 1, 2, 3})
dimension_list = { 3 },
dimension_list = {3},
-- List of mesh labels encompassed by the domain. Might be left empty if no restriction at all upon mesh
-- labels. This parameter does not make sense if no mesh is defined for the domain.
-- Expected format: {VALUE1, VALUE2, ...}
mesh_label_list = { },
-- Expected format: { VALUE1, VALUE2, ...}
mesh_label_list = {},
-- List of geometric element types considered in the domain. Might be left empty if no restriction upon
-- these. No constraint is applied at LuaOptionFile level, as some geometric element types could be added after
-- generation of current input data file. Current list is below; if an incorrect value is put there it
-- will be detected a bit later when the domain object is built.
-- The known types when this file was generated are:
-- . Point1
-- . Segment2, Segment3
-- . Triangle3, Triangle6
-- . Quadrangle4, Quadrangle8, Quadrangle9
-- . Tetrahedron4, Tetrahedron10
-- . Hexahedron8, Hexahedron20, Hexahedron27.
-- these. No constraint is applied at  LuaOptionFile level, as some geometric element types could be added
-- after generation of current input data file. Current list is below; if an incorrect value is put there it
-- will be detected a bit later when the domain object is built.
-- The known types when this file was generated are:
-- . Point1
-- . Segment2, Segment3
-- . Triangle3, Triangle6