Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MostafaMollaali
dynamic
Commits
eef1db9b
Commit
eef1db9b
authored
8 years ago
by
Christoph Lehmann
Browse files
Options
Downloads
Patches
Plain Diff
[AppL] read conv criteria from prj file
parent
c7399b02
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Applications/ApplicationsLib/ProjectData.cpp
+7
-2
7 additions, 2 deletions
Applications/ApplicationsLib/ProjectData.cpp
with
7 additions
and
2 deletions
Applications/ApplicationsLib/ProjectData.cpp
+
7
−
2
View file @
eef1db9b
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include
"MeshLib/Mesh.h"
#include
"MeshLib/Mesh.h"
#include
"NumLib/ODESolver/TimeDiscretizationBuilder.h"
#include
"NumLib/ODESolver/TimeDiscretizationBuilder.h"
#include
"NumLib/ODESolver/ConvergenceCriterion.h"
// FileIO
// FileIO
#include
"GeoLib/IO/XmlIO/Boost/BoostXmlGmlInterface.h"
#include
"GeoLib/IO/XmlIO/Boost/BoostXmlGmlInterface.h"
...
@@ -169,6 +170,10 @@ void ProjectData::buildProcesses()
...
@@ -169,6 +170,10 @@ void ProjectData::buildProcesses()
//! \ogs_file_param{process__time_discretization}
//! \ogs_file_param{process__time_discretization}
pc
.
getConfigSubtree
(
"time_discretization"
));
pc
.
getConfigSubtree
(
"time_discretization"
));
auto
conv_crit
=
NumLib
::
createConvergenceCriterion
(
//! \ogs_file_param{process__convergence_criterion}
pc
.
getConfigSubtree
(
"convergence_criterion"
));
if
(
type
==
"GROUNDWATER_FLOW"
)
if
(
type
==
"GROUNDWATER_FLOW"
)
{
{
// The existence check of the in the configuration referenced
// The existence check of the in the configuration referenced
...
@@ -179,13 +184,13 @@ void ProjectData::buildProcesses()
...
@@ -179,13 +184,13 @@ void ProjectData::buildProcesses()
_processes
.
emplace_back
(
_processes
.
emplace_back
(
ProcessLib
::
GroundwaterFlow
::
createGroundwaterFlowProcess
(
ProcessLib
::
GroundwaterFlow
::
createGroundwaterFlowProcess
(
*
_mesh_vec
[
0
],
*
nl_slv
,
std
::
move
(
time_disc
),
*
_mesh_vec
[
0
],
*
nl_slv
,
std
::
move
(
time_disc
),
_process_variables
,
_parameters
,
pc
));
std
::
move
(
conv_crit
),
_process_variables
,
_parameters
,
pc
));
}
}
else
if
(
type
==
"TES"
)
else
if
(
type
==
"TES"
)
{
{
_processes
.
emplace_back
(
ProcessLib
::
TES
::
createTESProcess
(
_processes
.
emplace_back
(
ProcessLib
::
TES
::
createTESProcess
(
*
_mesh_vec
[
0
],
*
nl_slv
,
std
::
move
(
time_disc
),
*
_mesh_vec
[
0
],
*
nl_slv
,
std
::
move
(
time_disc
),
_process_variables
,
_parameters
,
pc
));
std
::
move
(
conv_crit
),
_process_variables
,
_parameters
,
pc
));
}
}
else
else
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment