Commit f056f7f
authored
[GeoMechanicsApplication] Improve the initialization of the list of sub-modelparts related to processes (#13913)
* added loop over processes in processes section
* added check with processes_sub_model_part_list
* cleaned a bit
* fixed test
* added check for processes
* removed modelpart name
* excluded modelpart name
* added empty parameters
* removed LINE_LOAD in STage 3
* removed debugging statements
* added StringHash to remove a code smell
* introduced collect_ids_from_part
* reduced complexity again
* made a lamda function as a free function
* used std::string_view
* removed const for std::string_view
* passed complete project parameters
* reverted changes, added new processes_sub_model_part_list
* extracted function _AddProcessesSubModelPartList
* removed one-line processes_sub_model_part_list
* removed multi-line problem_domain_sub_model_part_list
* removed processes_sub_model_part_list from unit tests
* used python work flow in C++
* moved AddProcessesSubModelPartList to process_utilities
* used AddProcessesSubModelPartList in python script
* used Kratos style
* used Kratos style 2.0
* added unit tests
* adapted unit test
* changed checking in the test
* removed code smells
* response to the reviews
* removed code smells
* made GenericUtilities::CollectIdsFromEntity
* used static_assert
* response review 2.0
* response to Anne's review
* used iterator for GetIdsFromEntityContents
* removed code smell1 parent 5116b99 commit f056f7f
428 files changed
Lines changed: 267 additions & 799 deletions
File tree
- applications/GeoMechanicsApplication
- custom_elements
- custom_python
- custom_utilities
- custom_workflows
- python_scripts
- tests
- Biaxialshearstresswithlinearelasticmodel.gid
- C-Phi_reduction_process
- Interface
- base_beam
- interface_on_beam
- interface_side_cohesive
- weak_interface_on_beam
- Simple_Dike_Gravity_Loading
- line_body_all_stage_new_units_kPa
- simple_dike_test_with_gravity_umat.gid
- apply_initial_uniform_stress_field
- compressibility_tests
- upw_diff_order_updated_lagrange
- upw_small_strain_diff_order
- upw_small_strain_fic
- upw_small_strain
- upw_updated_lagrange_fic
- upw_updated_lagrange
- cpp_tests
- custom_utilities
- custom_workflows
- deactivation_with_structural_element
- dirichlet_release
- dirichlet_u_constant
- dirichlet_u
- dsettlement
- consolidation_uniform_load
- coarse_mesh
- fine_mesh
- dry_column_uniform_load/common
- fully_saturated_column_uniform_load/common
- phreatic_line_below_soil_surface
- excavation_tests
- base_test.gid
- excavation_test.gid
- excavation_test2.gid
- excavation_test3.gid
- excavation_test4.gid
- fixed_spatial_variation
- flow_rate_heterogeneous_soil.gid
- geo_beam_with_reset_displacement
- hexa_8n_normal_load
- interpolate_line_1.gid
- interpolate_line_2.gid
- line_interface_elements
- Dirichlet_multi_stage
- Dirichlet_single_stage
- Neumann_multi_stage_reset_displacements
- Neumann_multi_stage_umat
- Neumann_multi_stage
- Neumann_single_stage_umat
- Neumann_single_stage
- line_load_tests
- line_load_3D2N_hex.gid
- line_load_3D2N_tet.gid
- line_load_3D3N_hex.gid
- line_load_3D3N_tet.gid
- line_loads_in_stages
- Legacy
- Orchestrator
- non-uniform_line_load
- lysmer_boundary_column2d_quad
- lysmer_boundary_column3D
- hexa_mesh_in_Z
- tetra_mesh_in_Y
- tetra_mesh_in_Z
- lysmer_boundary_stiff_column2d_quad
- moving_column_with_fixed_pressure_above_phreatic_line
- with_move_mesh
- without_move_mesh
- one_dimensional_consolidation
- prescribed_derivative_tests
- prescribed_acceleration
- prescribed_dt_water_pressure
- prescribed_velocity
- shell_with_reset_displacement
- single_element_with_Mohr_Coulomb
- SmallStrainUPwDiffOrderElement2D8N
- UPwSmallStrainElement2D4N
- surface_interface_elements
- Dirichlet_multi_stage_3_plus_3
- Dirichlet_multi_stage_4_plus_4
- Dirichlet_multi_stage_6_plus_6
- Dirichlet_multi_stage_8_plus_8
- Dirichlet_single_stage_3_plus_3
- Dirichlet_single_stage_4_plus_4
- Dirichlet_single_stage_6_plus_6
- Dirichlet_single_stage_8_plus_8
- Neumann_multi_stage_3_plus_3_umat
- Neumann_multi_stage_3_plus_3
- Neumann_multi_stage_4_plus_4
- Neumann_multi_stage_6_plus_6
- Neumann_multi_stage_8_plus_8
- Neumann_single_stage_3_plus_3_umat
- Neumann_single_stage_3_plus_3
- Neumann_single_stage_4_plus_4
- Neumann_single_stage_6_plus_6
- Neumann_single_stage_8_plus_8
- test_1d_wave_prop_drained_soil_constant_mass_damping
- test_1d_wave_prop_drained_soil
- test_Abc_1_1_0_True_Deformations
- test_SteadyState_DamConfinedFlowWithSheetPile_2D6N.gid
- test_SteadyState_DamConfinedFlow_2D3N.gid
- test_SteadyState_DamConfinedFlow_2D6N.gid
- test_SteadyState_OneDFlow_2D3N.gid
- test_Transient_Case_A1_2D3N.gid
- test_Transient_Case_A1_2D6N.gid
- test_Transient_Case_B1_2D3N.gid
- test_avoid_small_end_step
- test_bugfixes/KRATOSGEO_14_hydrostatic_case
- test_1.gid
- test_2.gid
- test_3.gid
- test_4.gid
- test_5.gid
- test_cable_between_soils.gid
- test_column_changing_waterlevel/test_side_pressure_boundaries
- test_compare_sellmeijer
- HeightAquiferD10L30line
- HeightAquiferD10L60line
- HeightAquiferD10L90line
- HeightAquiferD20L30line
- HeightAquiferD20L60line
- HeightAquiferD20L90line
- HeightAquiferD30L30line
- HeightAquiferD30L60line
- HeightAquiferD30L90line
- test_conditions
- test_AxisymmetricUPwNormalFaceLoadCondition2D2N
- test_AxisymmetricUPwNormalFaceLoadCondition2D3N
- test_AxisymmetricUPwNormalFaceLoadCondition2D4N
- test_AxisymmetricUPwNormalFaceLoadCondition2D5N
- test_LineLoadDiffOrderCondition2D3N
- test_LineLoadDiffOrderCondition2D4N
- test_LineLoadDiffOrderCondition2D5N
- test_LineNormalFluidFluxDiffOrderCondition2D3N
- test_LineNormalLoadDiffOrderCondition2D3N
- test_LineNormalLoadDiffOrderCondition2D4N
- test_LineNormalLoadDiffOrderCondition2D5N
- test_PwNormalFluxCondition2D2N
- test_PwNormalFluxCondition2D3N
- test_PwNormalFluxCondition2D4N
- test_PwNormalFluxCondition2D5N
- test_UPwFaceLoadCondition2D2N
- test_UPwFaceLoadCondition2D3N
- test_UPwFaceLoadCondition2D4N
- test_UPwFaceLoadCondition2D5N
- test_UPwNormalFaceLoadCondition2D2N
- test_UPwNormalFaceLoadCondition2D3N
- test_UPwNormalFaceLoadCondition2D4N
- test_UPwNormalFaceLoadCondition2D5N
- test_UPwNormalFaceLoadCondition3D3N
- test_UPwNormalFaceLoadCondition3D4N
- test_UPwNormalFaceLoadCondition3D6N
- test_UPwNormalFaceLoadCondition3D8N
- test_UPwNormalFluxCondition2D2N
- test_UPwNormalFluxCondition2D3N
- test_UPwNormalFluxCondition2D4N
- test_UPwNormalFluxCondition2D5N
- test_consecutive_pipe_lines
- reference_geometry
- split_geometry_double_lines_pipe2_added
- split_geometry_permeability_soil1_e10
- split_geometry_permeability_soil1_soil2_e10
- split_geometry_permeability_soil2_e10
- split_geometry_pipe2_D70_3e4
- test_constant_strip_load_2d
- test_darcy_law.gid
- test_dynamic
- test_constant_point_load_2d_axi
- test_constant_point_load_3d
- test_element_lab
- oedometer_ULFEM_diff_order
- oedometer_ULFEM
- triaxial_comp_6n
- test_elementary_groundwater_flow
- benchmark_1_hydrostatic.gid
- benchmark_1_saturated_flow_pressure_bound.gid
- benchmark_3_saturated_flow_head_bound.gid
- benchmark_4_saturated_flux_bound.gid
- test_flow_under_dam
- test_pressure_in_confined_aquifer_higher.gid
- test_pressure_in_confined_aquifer_lower.gid
- test_pressure_in_confined_aquifer_reversed.gid
- test_inclinded_phreatic_line_smaller_line.gid
- test_inclinded_phreatic_surface.gid
- test_inclinded_phreatic_surface_time_dependent.gid
- test_inclined_beam_2D3N.gid
- test_inclined_phreatic_line.gid
- test_inclined_phreatic_line_time_dependent.gid
- test_inclined_phreatic_multi_line.gid
- test_inclined_phreatic_multi_line_3_points.gid
- test_inclined_phreatic_multi_line_time_dependent_centre.gid
- test_inclined_phreatic_multi_line_time_dependent_edges.gid
- test_integration_node_extrapolation
- 3_noded_triangle
- 4_noded_quadrilateral
- 6_noded_triangle
- 8_noded_quadrilateral
- test_k0_procedure_process
- test_k0_procedure_k0_nc_3D
- test_k0_procedure_k0_nc_layers
- test_k0_procedure_k0_nc_ocr_field
- test_k0_procedure_k0_nc_ocr
- test_k0_procedure_k0_nc_pop_layers
- test_k0_procedure_k0_nc_pop
- test_k0_procedure_k0_nc_skew_layers_dam
- test_k0_procedure_k0_nc_skew_layers
- test_k0_procedure_k0_nc
- test_k0_procedure_k0_umat
- test_k0_procedure_phi_pop_layers
- test_k0_procedure_simple_dike
- test_k0_procedure_with_horizontal_layers
- test_k0_procedure_with_tilted_layers
- test_load_on_block_2d_no_damping
- test_master_slave_constraints
- test_mohr_coulomb_with_tension_cutoff
- interface_coulomb_2plus2
- test_column_under_gravity
- test_dirichlet_corner_return_zone_2d
- test_dirichlet_corner_return_zone_3d
- test_dirichlet_elastic_zone_2d
- test_dirichlet_elastic_zone_3d
- test_dirichlet_regular_failure_zone_2d
- test_dirichlet_regular_failure_zone_3d
- test_dirichlet_tension_apex_return_zone_2d
- test_dirichlet_tension_apex_return_zone_3d
- test_dirichlet_tension_cutoff_return_zone_2d
- test_dirichlet_tension_cutoff_return_zone_3d
- test_nodal_hydraulic_head
- test_normal_load_on_beam.gid
- test_normal_load_on_beam_and_soil.gid
- test_normal_load_on_beam_higher_order.gid
- test_normal_load_quad_8n.gid
- test_normal_load_tetra_10n.gid
- test_normal_load_triangle_3n_fic.gid
- test_normal_load_triangle_6n.gid
- test_parameter_field
- invalid_parameter_field_json
- parameter_field_input_umat_parameters
- parameter_field_input
- parameter_field_json_umat_parameters
- parameter_field_json
- parameter_field_python_umat_parameters
- parameter_field_python
- test_partially_saturated
- test_rising_falling_phreatic_level_pw_quad4N
- test_saturated_below_phreatic_level_pw_triangle3N
- test_saturated_below_phreatic_level_pw_triangle6N
- test_saturated_below_phreatic_level_upw_difforder_triangle6n
- test_saturated_below_phreatic_level_upw_smallstrain_triangle3n
- test_saturated_below_phreatic_level_upw_smallstrain_triangle6n
- test_pressure_in_confined_aquifer.gid
- test_pressure_line_element
- test_oblique_filter_element2D3N
- test_oblique_filter_element3D3N
- test_oblique_line_element2D2N
- test_oblique_line_element2D3N
- test_oblique_line_element2D4N
- test_oblique_line_element2D5N
- test_oblique_line_element3D2N
- test_oblique_line_element3D3N
- test_vertical_line_element2D2N
- test_vertical_line_element2D3N
- test_vertical_line_element2D4N
- test_vertical_line_element2D5N
- test_vertical_line_element3D2N
- test_vertical_line_element3D3N
- test_pressure_point_flux
- test_pressure_point_flux_line_element2D2N
- test_pressure_point_flux_line_element3D2N
- test_quad_4n.gid
- test_quad_8n.gid
- test_rotation_with_moving_load_constant_system_matrices
- test_rotation_with_moving_load
- test_settlement_workflow
- test_sheet_pile_in_dike_phases/InitialPhase1a_redefinition.gid
- test_soil_weight_saturated_below_and_above_phreatic_quad_4n.gid
- test_soil_weight_saturated_below_and_above_phreatic_quad_8n.gid
- test_soil_weight_saturated_below_phreatic_quad_4n.gid
- test_soil_weight_saturated_below_phreatic_quad_8n.gid
- test_soil_weight_van_genuchten_above_phreatic_quad_4n.gid
- test_soil_weight_van_genuchten_above_phreatic_quad_8n.gid
- test_strain_measures
- diff_order_elements
- column_large_deformation_logarithmic_strain
- column_small_deformation_linear_strain
- column_small_deformation_logarithmic_strain
- same_order_elements
- column_large_deformation_logarithmic_strain
- column_small_deformation_linear_strain
- column_small_deformation_logarithmic_strain
- test_tetra_10n.gid
- test_tetra_4n.gid
- test_thermal_element
- test_micro_climate_1
- test_micro_climate_2
- test_micro_climate_3
- test_micro_climate_4
- test_micro_climate_5
- test_micro_climate_6
- test_micro_climate_7
- test_micro_climate_8
- test_thermal_filter_element
- test_thermal_filter_element_2D2N
- test_thermal_filter_element_2D3N
- test_thermal_fixed_temperature
- test_thermal_fixed_temperature_2D10N
- test_thermal_fixed_temperature_2D15N
- test_thermal_fixed_temperature_2D3N_newmark
- test_thermal_fixed_temperature_2D3N
- test_thermal_fixed_temperature_2D4N
- test_thermal_fixed_temperature_2D6N
- test_thermal_fixed_temperature_2D8N
- test_thermal_fixed_temperature_2D9N
- test_thermal_fixed_temperature_3D10N
- test_thermal_fixed_temperature_3D4N
- test_thermal_heat_flux_line_element
- test_thermal_point_flux_2D2N
- test_thermal_point_flux_2D3N
- test_thermal_point_flux_2D4N
- test_thermal_point_flux_2D5N
- test_thermal_point_flux_3D2N
- test_thermal_point_flux_3D3N
- test_thermal_heat_flux
- test_thermal_heat_flux_2D10N
- test_thermal_heat_flux_2D15N
- test_thermal_heat_flux_2D3N
- test_thermal_heat_flux_2D4N
- test_thermal_heat_flux_2D6N
- test_thermal_heat_flux_2D8N
- test_thermal_heat_flux_2D9N
- test_thermal_heat_flux_3D10N
- test_thermal_heat_flux_3D20N
- test_thermal_heat_flux_3D4N
- test_thermal_heat_flux_3D8N
- test_thermal_line_element
- test_thermal_line_element_2D2N
- test_thermal_line_element_2D3N
- test_thermal_line_element_2D4N
- test_thermal_line_element_2D5N
- test_thermal_line_element_3D2N
- test_thermal_line_element_3D3N
- test_transient_thermal_fixed_temperature
- test_transient_thermal_fixed_temperature_2D10N
- test_transient_thermal_fixed_temperature_2D15N
- test_transient_thermal_fixed_temperature_2D3N
- test_transient_thermal_fixed_temperature_2D4N
- test_transient_thermal_fixed_temperature_2D6N
- test_transient_thermal_fixed_temperature_2D8N
- test_transient_thermal_fixed_temperature_2D9N
- test_transient_thermal_fixed_temperature_3D10N
- test_transient_thermal_fixed_temperature_3D4N
- test_transient_thermal_heat_flux
- test_transient_thermal_heat_flux_2D10N
- test_transient_thermal_heat_flux_2D15N
- test_transient_thermal_heat_flux_2D3N
- test_transient_thermal_heat_flux_2D4N
- test_transient_thermal_heat_flux_2D6N
- test_transient_thermal_heat_flux_2D8N
- test_transient_thermal_heat_flux_2D9N
- test_transient_thermal_heat_flux_3D10N
- test_transient_thermal_heat_flux_3D4N
- test_triangle_10n.gid
- test_triangle_15n.gid
- test_triangle_3n.gid
- test_triangle_3n_fic.gid
- test_triangle_3n_rebuild_0.gid
- test_triangle_3n_static
- test_triangle_6n.gid
- test_triangle_6n_fic.gid
- test_truss_between_soils.gid
- test_tunnel.gid
- three_dimensional_piping
- truss_backbone_material
- compression_tension
- compression
- tension_compression
- tension
- truss_with_reset_displacement
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
197 | | - | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | | - | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
51 | 67 | | |
52 | 68 | | |
53 | 69 | | |
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | 141 | | |
151 | 142 | | |
152 | 143 | | |
| |||
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
Lines changed: 60 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
36 | 63 | | |
37 | 64 | | |
38 | 65 | | |
| |||
45 | 72 | | |
46 | 73 | | |
47 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
48 | 102 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
0 commit comments