Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
a9eb516e
Commit
a9eb516e
authored
Jun 13, 2013
by
Praetorius, Simon
Browse files
some new baseproblems
parent
84c343fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/AdaptInfo.h
View file @
a9eb516e
...
...
@@ -449,6 +449,17 @@ namespace AMDiS {
{
return
scalContents
[
index
]
->
est_t_sum
;
}
/// Returns \ref est_t the estimated overall time error
inline
double
getTimeEst
()
{
return
est_t
;
}
inline
void
setTimeEst
(
double
value
)
{
est_t
=
value
;
}
/// Returns \ref spaceTolerance.
inline
double
getSpaceTolerance
(
int
index
)
...
...
@@ -792,6 +803,9 @@ namespace AMDiS {
/// Is true, if the time adaption is controlled by a Rosenbrock Method.
bool
rosenbrockMode
;
/// overall time error estimate
double
est_t
;
};
}
...
...
AMDiS/src/CouplingProblemStat.h
View file @
a9eb516e
...
...
@@ -65,7 +65,7 @@ namespace AMDiS {
/// Initialisation of the problem.
virtual
void
initialize
(
Flag
initFlag
,
Coupling
ProblemStat
Impl
<
ProblemStatType
>
*
adoptProblem
=
NULL
,
ProblemStat
Seq
*
adoptProblem
=
NULL
,
Flag
adoptFlag
=
INIT_NOTHING
)
{
...
...
@@ -76,8 +76,8 @@ namespace AMDiS {
if
(
!
adoptProblem
)
createRefCoarseManager
();
else
{
refinementManager
=
adoptProblem
->
r
efinementManager
;
coarseningManager
=
adoptProblem
->
c
oarseningManager
;
refinementManager
=
adoptProblem
->
getR
efinementManager
()
;
coarseningManager
=
adoptProblem
->
getC
oarseningManager
()
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment