Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gfe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Sander, Oliver
dune-gfe
Commits
c449ed41
Commit
c449ed41
authored
17 years ago
by
Oliver Sander
Committed by
sander@PCPOOL.MI.FU-BERLIN.DE
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
use new ConfigParser method which throws an exception if a key is not found
[[Imported from SVN: r1615]]
parent
22a92481
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dirneucoupling.cc
+20
-20
20 additions, 20 deletions
dirneucoupling.cc
with
20 additions
and
20 deletions
dirneucoupling.cc
+
20
−
20
View file @
c449ed41
...
...
@@ -63,28 +63,28 @@ int main (int argc, char *argv[]) try
parameterSet
.
parseFile
(
"dirneucoupling.parset"
);
// read solver settings
const
int
numLevels
=
parameterSet
.
get
(
"numLevels"
,
int
(
1
)
);
const
double
ddTolerance
=
parameterSet
.
get
(
"ddTolerance"
,
double
(
0
)
);
const
int
maxDirichletNeumannSteps
=
parameterSet
.
get
(
"maxDirichletNeumannSteps"
,
int
(
0
)
);
const
double
trTolerance
=
parameterSet
.
get
(
"trTolerance"
,
double
(
0
)
);
const
int
maxTrustRegionSteps
=
parameterSet
.
get
(
"maxTrustRegionSteps"
,
int
(
0
)
);
const
int
multigridIterations
=
parameterSet
.
get
(
"numIt"
,
int
(
0
)
);
const
int
nu1
=
parameterSet
.
get
(
"nu1"
,
int
(
0
)
);
const
int
nu2
=
parameterSet
.
get
(
"nu2"
,
int
(
0
)
);
const
int
mu
=
parameterSet
.
get
(
"mu"
,
int
(
0
)
);
const
int
baseIterations
=
parameterSet
.
get
(
"baseIt"
,
int
(
0
)
);
const
double
mgTolerance
=
parameterSet
.
get
(
"tolerance"
,
double
(
0
)
);
const
double
baseTolerance
=
parameterSet
.
get
(
"baseTolerance"
,
double
(
0
)
);
const
double
initialTrustRegionRadius
=
parameterSet
.
get
(
"initialTrustRegionRadius"
,
double
(
0
)
);
const
double
damping
=
parameterSet
.
get
(
"damping"
,
double
(
1
)
);
const
int
numLevels
=
parameterSet
.
get
<
int
>
(
"numLevels"
);
const
double
ddTolerance
=
parameterSet
.
get
<
double
>
(
"ddTolerance"
);
const
int
maxDirichletNeumannSteps
=
parameterSet
.
get
<
int
>
(
"maxDirichletNeumannSteps"
);
const
double
trTolerance
=
parameterSet
.
get
<
double
>
(
"trTolerance"
);
const
int
maxTrustRegionSteps
=
parameterSet
.
get
<
int
>
(
"maxTrustRegionSteps"
);
const
int
multigridIterations
=
parameterSet
.
get
<
int
>
(
"numIt"
);
const
int
nu1
=
parameterSet
.
get
<
int
>
(
"nu1"
);
const
int
nu2
=
parameterSet
.
get
<
int
>
(
"nu2"
);
const
int
mu
=
parameterSet
.
get
<
int
>
(
"mu"
);
const
int
baseIterations
=
parameterSet
.
get
<
int
>
(
"baseIt"
);
const
double
mgTolerance
=
parameterSet
.
get
<
double
>
(
"tolerance"
);
const
double
baseTolerance
=
parameterSet
.
get
<
double
>
(
"baseTolerance"
);
const
double
initialTrustRegionRadius
=
parameterSet
.
get
<
double
>
(
"initialTrustRegionRadius"
);
const
double
damping
=
parameterSet
.
get
<
double
>
(
"damping"
);
// Problem settings
std
::
string
path
=
parameterSet
.
get
(
"path"
,
"xyz
"
);
std
::
string
objectName
=
parameterSet
.
get
(
"gridFile"
,
"xyz"
);
std
::
string
dirichletNodesFile
=
parameterSet
.
get
(
"dirichletNodes"
,
"xyz"
);
std
::
string
dirichletValuesFile
=
parameterSet
.
get
(
"dirichletValues"
,
"xyz"
);
std
::
string
interfaceNodesFile
=
parameterSet
.
get
(
"interfaceNodes"
,
"xyz"
);
const
int
numRodBaseElements
=
parameterSet
.
get
(
"numRodBaseElements"
,
int
(
0
)
);
std
::
string
path
=
parameterSet
.
get
<
string
>
(
"path
"
);
std
::
string
objectName
=
parameterSet
.
get
<
string
>
(
"gridFile"
);
std
::
string
dirichletNodesFile
=
parameterSet
.
get
<
string
>
(
"dirichletNodes"
);
std
::
string
dirichletValuesFile
=
parameterSet
.
get
<
string
>
(
"dirichletValues"
);
std
::
string
interfaceNodesFile
=
parameterSet
.
get
<
string
>
(
"interfaceNodes"
);
const
int
numRodBaseElements
=
parameterSet
.
get
<
int
>
(
"numRodBaseElements"
);
// ///////////////////////////////////////
// Create the rod grid
...
...
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