Skip to content

Commit 21eca0b

Browse files
remove quads / remove mesh-type
1 parent e93b40b commit 21eca0b

26 files changed

+19
-58
lines changed

modules/acoustics/Fem.axl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
<description>k/c square of the material.</description>
3434
</simple>
3535

36-
<!-- Mesh type used by the solver -->
37-
<simple name="mesh-type" type="string" default="TRIA3" optional="true">
38-
<description>Type of mesh provided to the solver</description>
39-
</simple>
40-
4136
<!-- Linear system service instance -->
4237
<service-instance name="linear-system" type="Arcane::FemUtils::IDoFLinearSystemFactory" default="AlephLinearSystem" />
4338

modules/bilaplacian/Fem.axl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
<simple name="f" type="real" default="0.0">
2727
<description>Source within the material.</description>
2828
</simple>
29+
2930
<simple name="result-file" type="string" optional="true">
3031
<description>File name of a file containing the values of the solution vector to check the results</description>
3132
</simple>
32-
<simple name="mesh-type" type="string" default="TRIA3" optional="true">
33-
<description>Type of mesh provided to the solver</description>
34-
</simple>
33+
3534
<simple name = "enforce-Dirichlet-method" type = "string" default="Penalty" optional="true">
3635
<description>
3736
Method via which Dirichlet boundary condition is imposed
3837
</description>
3938
</simple>
39+
4040
<simple name = "penalty" type = "real" default="1.e30" optional="true">
4141
<description>
4242
Penalty value for enforcing Dirichlet condition

modules/elastodynamics/Fem.axl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@
6262
<simple name="result-file" type="string" optional="true">
6363
<description>File name of a file containing the values of the solution vector to check the results</description>
6464
</simple>
65-
<simple name="mesh-type" type="string" default="TRIA3" optional="true">
66-
<description>Type of mesh provided to the solver</description>
67-
</simple>
6865
<simple name="time-discretization" type="string" default="Newmark-beta" optional="true">
6966
<description>Type of time discretization for the solver</description>
7067
</simple>

modules/electrostatics/Fem.axl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
<description>File name of a file containing the values of the solution vector to check the results</description>
3030
</simple>
3131

32-
<simple name="mesh-type" type="string" default="TRIA3" optional="true">
33-
<description>Type of mesh provided to the solver</description>
34-
</simple>
35-
3632
<simple name="matrix-format" type="string" default="DOK" optional="true">
3733
<description>Which matrix format to use DOK|BSR|AF-BSR.</description>
3834
</simple>

modules/heat/Fem.axl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232
<simple name="result-file" type="string" optional="true">
3333
<description>File name of a file containing the values of the solution vector to check the results</description>
3434
</simple>
35-
<simple name="mesh-type" type="string" default="TRIA3" optional="true">
36-
<description>Type of mesh provided to the solver</description>
37-
</simple>
3835
<simple name="dt" type="real" default="0.1">
3936
<description>Time step of simulation.</description>
4037
</simple>

modules/laplace/Fem.axl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
<simple name="result-file" type="string" optional="true">
1818
<description>File name of a file containing the values of the solution vector to check the results</description>
1919
</simple>
20-
<simple name="mesh-type" type="string" default="TRIA3" optional="true">
21-
<description>Type of mesh provided to the solver</description>
22-
</simple>
2320

2421
<simple name="matrix-format" type="string" default="DOK" optional="true">
2522
<description>Which matrix format to use DOK|BSR|AF-BSR.</description>

modules/laplace/inputs/L-shape.3D.arc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
<fem>
2323
<result-file>check/test_3D_L-shape.txt</result-file>
24-
<mesh-type>TETRA4</mesh-type>
2524
<boundary-conditions>
2625
<dirichlet>
2726
<surface>bot</surface>

modules/soildynamics/Fem.axl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@
5656
<simple name="result-file" type="string" optional="true">
5757
<description>File name of a file containing the values of the solution vector to check the results</description>
5858
</simple>
59-
<simple name="mesh-type" type="string" default="TRIA3" optional="true">
60-
<description>Type of mesh provided to the solver</description>
61-
</simple>
6259
<simple name = "enforce-Dirichlet-method" type = "string" default="Penalty" optional="true">
6360
<description>
6461
Method via which Dirichlet boundary condition is imposed

modules/testlab/BlCsrBiliAssembly.cc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ _buildMatrixBuildLessCsr()
2525
Integer nbnde = nbNode();
2626
Int64 nedge;
2727

28-
if (options()->meshType == "TETRA4")
28+
if (mesh()->dimension() == 3)
2929
nedge = nbEdge();
30-
else if (options()->meshType == "TRIA3")
30+
else if (mesh()->dimension() == 2)
3131
nedge = nbFace();
3232
else
3333
ARCANE_THROW(NotImplementedException, "");
@@ -38,15 +38,15 @@ _buildMatrixBuildLessCsr()
3838
Integer index = 1;
3939
m_csr_matrix.m_matrix_row(0) = 0;
4040

41-
if (options()->meshType == "TETRA4")
41+
if (mesh()->dimension() == 3)
4242
ENUMERATE_NODE (inode, allNodes()) {
4343
Node node = *inode;
4444
if (index < nbnde) {
4545
m_csr_matrix.m_matrix_row(index) = node.nbEdge() + m_csr_matrix.m_matrix_row(index - 1) + 1;
4646
index++;
4747
}
4848
}
49-
else if (options()->meshType == "TRIA3")
49+
else if (mesh()->dimension() == 2)
5050
ENUMERATE_NODE (inode, allNodes()) {
5151
Node node = *inode;
5252
if (index < nbnde) {
@@ -66,9 +66,9 @@ void FemModule::_buildMatrixGpuBuildLessCsr()
6666
Integer nbnde = nbNode();
6767
Int64 nedge;
6868

69-
if (options()->meshType == "TETRA4")
69+
if (mesh()->dimension() == 3)
7070
nedge = m_nb_edge;
71-
else if (options()->meshType == "TRIA3")
71+
else if (mesh()->dimension() == 2)
7272
nedge = nbFace();
7373
else
7474
ARCANE_THROW(NotImplementedException, "");
@@ -86,7 +86,7 @@ void FemModule::_buildMatrixGpuBuildLessCsr()
8686
UnstructuredMeshConnectivityView connectivity_view;
8787
connectivity_view.setMesh(this->mesh());
8888

89-
if (options()->meshType == "TRIA3") {
89+
if (mesh()->dimension() == 2) {
9090
auto nfc = connectivity_view.nodeFace();
9191
command << RUNCOMMAND_ENUMERATE(Node, inode, allNodes())
9292
{

modules/testlab/Fem.axl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
<simple name="result-file" type="string" optional="true">
2525
<description>File name of a file containing the values of the solution vector to check the results</description>
2626
</simple>
27-
<simple name="mesh-type" type="string" default="TRIA3" optional="true">
28-
<description>Type of mesh provided to the solver</description>
29-
</simple>
3027
<simple name = "enforce-Dirichlet-method" type = "string" default="Penalty" optional="true">
3128
<description>
3229
Method via which Dirichlet boundary condition is imposed

0 commit comments

Comments
 (0)