Commit 940ad893 authored by GILLES Sebastien's avatar GILLES Sebastien

#1237 Introduce MOREFEM_ROOT environment variable and use it in demo Lua files...

#1237 Introduce MOREFEM_ROOT environment variable and use it in demo Lua files to indicate where to look for the mesh.
parent 1d6634d6
......@@ -79,6 +79,27 @@ namespace MoReFEM
assert(!error_code && "Should be called only if the environment variable doesn't exist yet.");
std::cout << "[WARNING] Environment variable '" << result_dir << "' was not defined; default value '"
<< default_value << "' has therefore be provided. This environment variable may appear in mesh "
"directory defined in input parameter file; if not it is in fact unused." << std::endl;
}
const char* const morefem_dir = "MOREFEM_ROOT";
if (!Utilities::EnvironmentNS::DoExist(morefem_dir))
{
int no_overwrite_allowed = 0;
const char* const default_value("${HOME}/Codes/MoReFEM/CoreLibrary");
int error_code = setenv(morefem_dir,
default_value,
no_overwrite_allowed);
static_cast<void>(error_code);
assert(!error_code && "Should be called only if the environment variable doesn't exist yet.");
std::cout << "[WARNING] Environment variable '" << morefem_dir << "' was not defined; default value '"
<< default_value << "' has therefore be provided. This environment variable may appear in output "
"directory defined in input parameter file; if not it is in fact unused." << std::endl;
......
......@@ -98,7 +98,6 @@ namespace MoReFEM
if (DoPrintBanner())
{
std::cout << "REALLY?" << std::endl;
Wrappers::Petsc::PrintMessageOnFirstProcessor("\n================================================================\n",
mpi, __FILE__, __LINE__);
......
......@@ -71,7 +71,7 @@ Unknown1 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -69,7 +69,7 @@ Unknown1 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/Bar.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/Bar.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -67,7 +67,7 @@ Unknown1 = {
Mesh1 = {
-- Input Mesh file name
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/heat_bar.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/heat_bar.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -66,7 +66,7 @@ Unknown1 = {
Mesh1 = {
-- Input Mesh file name
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/heat_bar_1D.geo",
mesh = "${MOREFEM_ROOT}/Data/Mesh/heat_bar_1D.geo",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -63,7 +63,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/Bar.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/Bar.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -34,7 +34,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/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"
......
......@@ -64,7 +64,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/rivlin_cube_one_hexa.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/rivlin_cube_one_hexa.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -64,7 +64,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/rivlin_cube_tetra_6_tetra.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/rivlin_cube_tetra_6_tetra.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -97,7 +97,7 @@ Unknown2 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/cylindrical_3d.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/cylindrical_3d.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -97,7 +97,7 @@ Unknown2 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/cylindrical_3d.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/cylindrical_3d.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -61,7 +61,7 @@ Unknown1 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/one_triangle.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/one_triangle.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -34,8 +34,8 @@ transient = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
--mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/one_triangle.mesh',
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
--mesh = '${MOREFEM_ROOT}/Data/Mesh/one_triangle.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -79,7 +79,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/Data/Mesh/ventriVol300.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/ventriVol300.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -103,7 +103,7 @@ Mesh2 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/Data/Mesh/heat_bar_1D.geo",
mesh = "${MOREFEM_ROOT}/Data/Mesh/heat_bar_1D.geo",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -34,7 +34,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/ventriVol300.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/ventriVol300.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -34,7 +34,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Sources/Test/Geometry/LightweightDomainList/test_lightweight_domain_list.mesh',
mesh = '${MOREFEM_ROOT}/Sources/Test/Geometry/LightweightDomainList/test_lightweight_domain_list.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -63,7 +63,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/Data/Mesh/TwoCubes.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/TwoCubes.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -97,7 +97,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/Data/Mesh/one_tetra.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/one_tetra.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -64,7 +64,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/Data/Mesh/square_one_quad.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/square_one_quad.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -64,7 +64,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/Data/Mesh/rivlin_cube_one_hexa.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/rivlin_cube_one_hexa.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -20,7 +20,7 @@ Unknown1 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/Data/Mesh/TwoCubes.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/TwoCubes.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -105,8 +105,8 @@ Unknown2 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
--mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/one_triangle.mesh',
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
--mesh = '${MOREFEM_ROOT}/Data/Mesh/one_triangle.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -117,7 +117,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -141,7 +141,7 @@ Mesh2 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -367,5 +367,5 @@ InitVertexMatchingInterpolator20 = {
-- File that gives for each vertex on the first mesh on the interface the index of the equivalent vertex in
-- the second mesh.
-- Expected format: "VALUE"
interpolation_file = "${HOME}/Codes/MoReFEM/Data/Interpolation/TestVertexMatching.hhdata"
interpolation_file = "${MOREFEM_ROOT}/Data/Interpolation/TestVertexMatching.hhdata"
......@@ -117,7 +117,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -141,7 +141,7 @@ Mesh2 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -367,5 +367,5 @@ InitVertexMatchingInterpolator20 = {
-- File that gives for each vertex on the first mesh on the interface the index of the equivalent vertex in
-- the second mesh.
-- Expected format: "VALUE"
interpolation_file = "${HOME}/Codes/MoReFEM/Data/Interpolation/TestVertexMatching.hhdata"
interpolation_file = "${MOREFEM_ROOT}/Data/Interpolation/TestVertexMatching.hhdata"
......@@ -117,7 +117,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -141,7 +141,7 @@ Mesh2 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -368,5 +368,5 @@ InitVertexMatchingInterpolator20 = {
-- File that gives for each vertex on the first mesh on the interface the index of the equivalent vertex in
-- the second mesh.
-- Expected format: "VALUE"
interpolation_file = "${HOME}/Codes/MoReFEM/Data/Interpolation/TestVertexMatching.hhdata"
interpolation_file = "${MOREFEM_ROOT}/Data/Interpolation/TestVertexMatching.hhdata"
......@@ -117,7 +117,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -141,7 +141,7 @@ Mesh2 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -368,5 +368,5 @@ InitVertexMatchingInterpolator20 = {
-- File that gives for each vertex on the first mesh on the interface the index of the equivalent vertex in
-- the second mesh.
-- Expected format: "VALUE"
interpolation_file = "${HOME}/Codes/MoReFEM/Data/Interpolation/TestVertexMatching.hhdata"
interpolation_file = "${MOREFEM_ROOT}/Data/Interpolation/TestVertexMatching.hhdata"
......@@ -105,8 +105,8 @@ Unknown3 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
--mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/one_triangle.mesh',
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
--mesh = '${MOREFEM_ROOT}/Data/Mesh/one_triangle.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -105,8 +105,8 @@ Unknown3 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
--mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/one_triangle.mesh',
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
--mesh = '${MOREFEM_ROOT}/Data/Mesh/one_triangle.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -434,8 +434,8 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
--mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/bar_1D_L1_N3_Ensight.geo",
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/bar_1D_L1_N2_Ensight.geo",
--mesh = "${MOREFEM_ROOT}/Data/Mesh/bar_1D_L1_N3_Ensight.geo",
mesh = "${MOREFEM_ROOT}/Data/Mesh/bar_1D_L1_N2_Ensight.geo",
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -850,8 +850,8 @@ Fiber_vector_1 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
--ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/fibers_bar_1D_L1_N3.vct",
ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/fibers_bar_1D_L1_N2.vct",
--ensight_file = "${MOREFEM_ROOT}/Data/Fiber/fibers_bar_1D_L1_N3.vct",
ensight_file = "${MOREFEM_ROOT}/Data/Fiber/fibers_bar_1D_L1_N2.vct",
-- Index of the domain upon which parameter is defined.
-- Expected format: VALUE
......@@ -872,7 +872,7 @@ Fiber_vector_2 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/fibers_bar_1D_L1_N2.vct",
ensight_file = "${MOREFEM_ROOT}/Data/Fiber/fibers_bar_1D_L1_N2.vct",
-- Index of the domain upon which parameter is defined.
-- Expected format: VALUE
......@@ -893,8 +893,8 @@ Fiber_scalar_3 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
--ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/angles_bar_1D_L1_N3.scl",
ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/angles_bar_1D_L1_N2.scl",
--ensight_file = "${MOREFEM_ROOT}/Data/Fiber/angles_bar_1D_L1_N3.scl",
ensight_file = "${MOREFEM_ROOT}/Data/Fiber/angles_bar_1D_L1_N2.scl",
-- Index of the domain upon which parameter is defined.
-- Expected format: VALUE
......
......@@ -435,7 +435,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/bar_one_tri_corrected.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/bar_one_tri_corrected.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -850,7 +850,7 @@ Fiber_vector_1 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/fibers_bar_one_tri.vct",
ensight_file = "${MOREFEM_ROOT}/Data/Fiber/fibers_bar_one_tri.vct",
-- Index of the domain upon which parameter is defined.
-- Expected format: VALUE
......@@ -871,7 +871,7 @@ Fiber_vector_2 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/fibers_bar_one_tri.vct",
ensight_file = "${MOREFEM_ROOT}/Data/Fiber/fibers_bar_one_tri.vct",
-- Index of the domain upon which parameter is defined.
-- Expected format: VALUE
......@@ -892,7 +892,7 @@ Fiber_scalar_3 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/angles_bar_one_tri.scl",
ensight_file = "${MOREFEM_ROOT}/Data/Fiber/angles_bar_one_tri.scl",
-- Index of the domain upon which parameter is defined.
-- Expected format: VALUE
......
......@@ -435,7 +435,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/one_tetra.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/one_tetra.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -850,7 +850,7 @@ Fiber_vector_1 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/fibers_bar_one_tet.vct",
ensight_file = "${MOREFEM_ROOT}/Data/Fiber/fibers_bar_one_tet.vct",
-- Index of the domain upon which parameter is defined.
-- Expected format: VALUE
......@@ -871,7 +871,7 @@ Fiber_vector_2 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/fibers_bar_one_tet.vct",
ensight_file = "${MOREFEM_ROOT}/Data/Fiber/fibers_bar_one_tet.vct",
-- Index of the domain upon which parameter is defined.
-- Expected format: VALUE
......@@ -892,7 +892,7 @@ Fiber_scalar_3 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
ensight_file = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Fiber/angles_bar_one_tet.scl",
ensight_file = "${MOREFEM_ROOT}/Data/Fiber/angles_bar_one_tet.scl",
-- Index of the domain upon which parameter is defined.
-- Expected format: VALUE
......
......@@ -129,7 +129,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = "${HOME}/Codes/MoReFEM/CoreLibrary/Data/Mesh/one_tetra.mesh",
mesh = "${MOREFEM_ROOT}/Data/Mesh/one_tetra.mesh",
-- Format of the input mesh.
-- Expected format: "VALUE"
......
......@@ -92,7 +92,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
-- mesh = '/Volumes/Data/${USER}/Mesh/Zygot_AtriaDbl_TeleSystol_8TetInVent_SurfSimuElec_cm.mesh',
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -206,7 +206,7 @@ Fiber_vector_1 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
ensight_file = '${HOME}/Codes/MoReFEM/Data/Fiber/fibers.vct',
ensight_file = '${MOREFEM_ROOT}/Data/Fiber/fibers.vct',
--ensight_file = "/Volumes/Data/sebastien/Fiber/Zygot_AtriaDbl_TeleSystol_8TetInVent_SurfSimuElec_fibers.00000.vct",
-- Index of the domain upon which parameter is defined.
......@@ -228,7 +228,7 @@ Fiber_scalar_2 = {
-- Path to Ensight file.
-- Expected format: "VALUE"
ensight_file = '${HOME}/Codes/MoReFEM/Data/Fiber/distance.scl',
ensight_file = '${MOREFEM_ROOT}/Data/Fiber/distance.scl',
--ensight_file = "/Volumes/Data/sebastien/Fiber/Zygot_AtriaDbl_TeleSystol_8TetInVent_SurfSimuElec_distance.00000.scl",
-- Index of the domain upon which parameter is defined.
......
......@@ -91,7 +91,7 @@ Unknown2 = {
Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/one_triangle.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/one_triangle.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -384,7 +384,7 @@ PressureFromFile1 = {
-- Path of the file to use.
-- Expected format: "VALUE"
-- Constraint: Format:time pressurevalue1 value1value2 value2...
FilePath = "${HOME}/Codes/MoReFEM/Sources/Test/Parameter/TimeDependency/test.dat"
FilePath = "${MOREFEM_ROOT}/Sources/Test/Parameter/TimeDependency/test.dat"
} -- PressureFromFile
......
......@@ -50,7 +50,7 @@ Mesh1 = {
-- Path of the mesh file to use.
-- Expected format: "VALUE"
mesh = '${HOME}/Codes/MoReFEM/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
mesh = '${MOREFEM_ROOT}/Data/Mesh/elasticity_Nx50_Ny20_force_label.mesh',
-- Format of the input mesh.
-- Expected format: "VALUE"
......@@ -201,6 +201,6 @@ Petsc1 = {
-- File that gives for each vertex on the first mesh on the interface the index of the equivalent vertex in
-- the second mesh.
-- Expected format: "VALUE"
interpolation_file = "${HOME}/Codes/MoReFEM/Data/Interpolation/Poromechanics/Identity_6x6.hhdata"
interpolation_file = "${MOREFEM_ROOT}/Data/Interpolation/Poromechanics/Identity_6x6.hhdata"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment