Skip to content

Commit 456f5af

Browse files
authored
Merge pull request #670 from sebproell/remove-geometry-type
Remove GEOMETRY input parameter
2 parents 1b5580d + 0784098 commit 456f5af

File tree

33 files changed

+0
-97
lines changed

33 files changed

+0
-97
lines changed

src/core/io/src/4C_io_geometry_type.hpp

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/core/io/src/4C_io_meshreader.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "4C_io_domainreader.hpp"
1414
#include "4C_io_elementreader.hpp"
1515
#include "4C_io_exodus.hpp"
16-
#include "4C_io_geometry_type.hpp"
1716
#include "4C_linalg_graph.hpp"
1817

1918
#include <Teuchos_ParameterList.hpp>

src/global_data/4C_global_data_read.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "4C_io.hpp"
2424
#include "4C_io_elementreader.hpp"
2525
#include "4C_io_exodus.hpp"
26-
#include "4C_io_geometry_type.hpp"
2726
#include "4C_io_input_file.hpp"
2827
#include "4C_io_input_file_utils.hpp"
2928
#include "4C_io_input_spec_builders.hpp"

src/inpar/4C_inpar_IO_monitor_structure_dbc.cpp

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

88
#include "4C_inpar_IO_monitor_structure_dbc.hpp"
99

10-
#include "4C_io_geometry_type.hpp"
1110
#include "4C_io_input_spec_builders.hpp"
1211

1312

src/inpar/4C_inpar_IO_runtime_vtp_output_structure.cpp

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

88
#include "4C_inpar_IO_runtime_vtp_output_structure.hpp"
99

10-
#include "4C_io_geometry_type.hpp"
1110
#include "4C_io_input_spec_builders.hpp"
1211

1312

src/inpar/4C_inpar_fluid.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include "4C_inpar_fluid.hpp"
99

1010
#include "4C_fem_condition_definition.hpp"
11-
#include "4C_io_geometry_type.hpp"
1211
#include "4C_io_input_spec_builders.hpp"
1312
#include "4C_legacy_enum_definitions_conditions.hpp"
1413
FOUR_C_NAMESPACE_OPEN
@@ -89,15 +88,6 @@ void Inpar::FLUID::set_valid_parameters(std::map<std::string, Core::IO::InputSpe
8988
"continuity eq. and pressure",
9089
.default_value = Cont_normal_Press_normal}),
9190

92-
deprecated_selection<Core::IO::GeometryType>("GEOMETRY",
93-
{
94-
{"full", Core::IO::geometry_full},
95-
{"box", Core::IO::geometry_box},
96-
{"file", Core::IO::geometry_file},
97-
},
98-
{.description = "How the geometry is specified",
99-
.default_value = Core::IO::geometry_full}),
100-
10191
parameter<Inpar::FLUID::LinearisationAction>("NONLINITER",
10292
{.description = "Nonlinear iteration scheme", .default_value = fixed_point_like}),
10393

src/inpar/4C_inpar_structure.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#include "4C_constraint_springdashpot.hpp"
1111
#include "4C_fem_condition_definition.hpp"
12-
#include "4C_io_geometry_type.hpp"
1312
#include "4C_io_input_spec_builders.hpp"
1413
#include "4C_utils_enum.hpp"
1514
FOUR_C_NAMESPACE_OPEN
@@ -404,16 +403,6 @@ namespace Inpar
404403
{.description = "number of linear solver used for structural problems",
405404
.default_value = -1}),
406405

407-
// where the geometry comes from
408-
deprecated_selection<Core::IO::GeometryType>("GEOMETRY",
409-
{
410-
{"full", Core::IO::geometry_full},
411-
{"box", Core::IO::geometry_box},
412-
{"file", Core::IO::geometry_file},
413-
},
414-
{.description = "How the geometry is specified",
415-
.default_value = Core::IO::geometry_full}),
416-
417406
deprecated_selection<Solid::MidAverageEnum>("MIDTIME_ENERGY_TYPE",
418407
{
419408
{"vague", midavg_vague},

src/thermo/src/utils/4C_thermo_input.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
#include "4C_thermo_input.hpp"
99

1010
#include "4C_fem_condition_definition.hpp"
11-
#include "4C_io_geometry_type.hpp"
1211
#include "4C_io_input_spec_builders.hpp"
13-
#include "4C_utils_parameter_list.hpp"
1412

1513
FOUR_C_NAMESPACE_OPEN
1614

@@ -161,16 +159,6 @@ void Thermo::set_valid_parameters(std::map<std::string, Core::IO::InputSpec>& li
161159
"LINEAR_SOLVER", {.description = "number of linear solver used for thermal problems",
162160
.default_value = -1}),
163161

164-
// where the geometry comes from
165-
deprecated_selection<Core::IO::GeometryType>("GEOMETRY",
166-
{
167-
{"full", Core::IO::geometry_full},
168-
{"box", Core::IO::geometry_box},
169-
{"file", Core::IO::geometry_file},
170-
},
171-
{.description = "How the geometry is specified",
172-
.default_value = Core::IO::geometry_full}),
173-
174162
deprecated_selection<CalcError>("CALCERROR",
175163
{
176164
{"No", no_error_calculation},

tests/input_files/contact3D_exodus_in.4C.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ STRUCTURAL DYNAMIC:
2626
K_DAMP: 1e-05
2727
TOLDISP: 1e-08
2828
LINEAR_SOLVER: 1
29-
# Important setting: ensure that we use the file input
30-
GEOMETRY: file
3129
CONTACT DYNAMIC:
3230
LINEAR_SOLVER: 2
3331
SOLVER 1:

tests/input_files/f3_channel_EOS_hex8_10x10x10_quad_inflow_altgeogeneration.dat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ LINEAR_SOLVER 1
4646
GMSH_OUTPUT no
4747
NONLINEARBC no
4848
INFNORMSCALING no
49-
GEOMETRY box
5049
-------------------------FLUID DYNAMIC/NONLINEAR SOLVER TOLERANCES
5150
TOL_VEL_RES 1.0E-13
5251
TOL_VEL_INC 1.0E-13

0 commit comments

Comments
 (0)