Attention une mise à jour du service Gitlab va être effectuée le mardi 30 novembre entre 17h30 et 18h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes. Cette mise à jour intermédiaire en version 14.0.12 nous permettra de rapidement pouvoir mettre à votre disposition une version plus récente.

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

#1443 Test load prepartition god of dof: add boundary conditions in Lua.

parent 63660deb
......@@ -23,6 +23,7 @@
# include "Core/InputData/Instances/FElt/FEltSpace.hpp"
# include "Core/InputData/Instances/Result.hpp"
# include "Core/InputData/Instances/PrepartitionedData.hpp"
# include "Core/InputData/Instances/DirichletBoundaryCondition/DirichletBoundaryCondition.hpp"
namespace MoReFEM
......@@ -97,6 +98,9 @@ namespace MoReFEM
InputDataNS::FEltSpace<EnumUnderlyingType(FEltSpaceIndex::separated)>,
InputDataNS::FEltSpace<EnumUnderlyingType(FEltSpaceIndex::mixed)>,
InputDataNS::DirichletBoundaryCondition<EnumUnderlyingType(UnknownIndex::scalar)>,
InputDataNS::DirichletBoundaryCondition<EnumUnderlyingType(UnknownIndex::vectorial)>,
InputDataNS::Petsc<original>,
InputDataNS::Result,
......
......@@ -320,6 +320,90 @@ Petsc1 = {
} -- Petsc1
EssentialBoundaryCondition1 = {
-- Name of the boundary condition (must be unique).
-- Expected format: "VALUE"
name = 'scalar',
-- Comp1, Comp2 or Comp3
-- Expected format: "VALUE"
-- Constraint: value_in(v, {'Comp1', 'Comp2', 'Comp3', 'Comp12', 'Comp23', 'Comp13', 'Comp123'})
component = 'Comp1',
-- Name of the unknown addressed by the boundary condition.
-- Expected format: "VALUE"
unknown = 'scalar',
-- Values at each of the relevant component.
-- Expected format: { VALUE1, VALUE2, ...}
value = { 5 },
-- Index of the domain onto which essential boundary condition is defined.
-- Expected format: VALUE
domain_index = 1,
-- Whether the values of the boundary condition may vary over time.
-- Expected format: 'true' or 'false' (without the quote)
is_mutable = false,
-- Whether a dof of this boundary condition may also belong to another one. This highlights an ill-defined
-- model in most cases, but I nonetheless need it for FSI/ALE.
-- Expected format: 'true' or 'false' (without the quote)
may_overlap = false
} -- EssentialBoundaryCondition1
EssentialBoundaryCondition2 = {
-- Name of the boundary condition (must be unique).
-- Expected format: "VALUE"
name = 'vectorial',
-- Comp1, Comp2 or Comp3
-- Expected format: "VALUE"
-- Constraint: value_in(v, {'Comp1', 'Comp2', 'Comp3', 'Comp12', 'Comp23', 'Comp13', 'Comp123'})
component = 'Comp123',
-- Name of the unknown addressed by the boundary condition.
-- Expected format: "VALUE"
unknown = 'scalar',
-- Values at each of the relevant component.
-- Expected format: { VALUE1, VALUE2, ...}
value = { 10, 20, 30 },
-- Index of the domain onto which essential boundary condition is defined.
-- Expected format: VALUE
domain_index = 1,
-- Whether the values of the boundary condition may vary over time.
-- Expected format: 'true' or 'false' (without the quote)
is_mutable = false,
-- Whether a dof of this boundary condition may also belong to another one. This highlights an ill-defined
-- model in most cases, but I nonetheless need it for FSI/ALE.
-- Expected format: 'true' or 'false' (without the quote)
may_overlap = false
} -- EssentialBoundaryCondition2
Result = {
......
......@@ -320,6 +320,92 @@ Petsc1 = {
} -- Petsc1
EssentialBoundaryCondition1 = {
-- Name of the boundary condition (must be unique).
-- Expected format: "VALUE"
name = 'scalar',
-- Comp1, Comp2 or Comp3
-- Expected format: "VALUE"
-- Constraint: value_in(v, {'Comp1', 'Comp2', 'Comp3', 'Comp12', 'Comp23', 'Comp13', 'Comp123'})
component = 'Comp1',
-- Name of the unknown addressed by the boundary condition.
-- Expected format: "VALUE"
unknown = 'scalar',
-- Values at each of the relevant component.
-- Expected format: { VALUE1, VALUE2, ...}
value = { 5 },
-- Index of the domain onto which essential boundary condition is defined.
-- Expected format: VALUE
domain_index = 1,
-- Whether the values of the boundary condition may vary over time.
-- Expected format: 'true' or 'false' (without the quote)
is_mutable = false,
-- Whether a dof of this boundary condition may also belong to another one. This highlights an ill-defined
-- model in most cases, but I nonetheless need it for FSI/ALE.
-- Expected format: 'true' or 'false' (without the quote)
may_overlap = false
} -- EssentialBoundaryCondition1
EssentialBoundaryCondition2 = {
-- Name of the boundary condition (must be unique).
-- Expected format: "VALUE"
name = 'vectorial',
-- Comp1, Comp2 or Comp3
-- Expected format: "VALUE"
-- Constraint: value_in(v, {'Comp1', 'Comp2', 'Comp3', 'Comp12', 'Comp23', 'Comp13', 'Comp123'})
component = 'Comp123',
-- Name of the unknown addressed by the boundary condition.
-- Expected format: "VALUE"
unknown = 'scalar',
-- Values at each of the relevant component.
-- Expected format: { VALUE1, VALUE2, ...}
value = { 10, 20, 30 },
-- Index of the domain onto which essential boundary condition is defined.
-- Expected format: VALUE
domain_index = 1,
-- Whether the values of the boundary condition may vary over time.
-- Expected format: 'true' or 'false' (without the quote)
is_mutable = false,
-- Whether a dof of this boundary condition may also belong to another one. This highlights an ill-defined
-- model in most cases, but I nonetheless need it for FSI/ALE.
-- Expected format: 'true' or 'false' (without the quote)
may_overlap = false
} -- EssentialBoundaryCondition2
Result = {
......
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