Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-fem-dg
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
dune-fem
dune-fem-dg
Commits
e154006c
Commit
e154006c
authored
11 years ago
by
Robert Kloefkorn
Browse files
Options
Downloads
Patches
Plain Diff
fix diagnostic write.
parent
d41c0d84
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/fem-dg/stepper/stepperbase.hh
+7
-4
7 additions, 4 deletions
dune/fem-dg/stepper/stepperbase.hh
with
7 additions
and
4 deletions
dune/fem-dg/stepper/stepperbase.hh
+
7
−
4
View file @
e154006c
...
...
@@ -229,11 +229,8 @@ struct StepperBase
return
true
;
}
// write checkpoint data and also run time diagnostics
virtual
void
writeCheckPoint
(
TimeProviderType
&
tp
)
const
void
writeDiagnostics
(
TimeProviderType
&
tp
)
const
{
assert
(
odeSolver_
);
const
double
ldt
=
tp
.
deltaT
();
const
int
maxNumDofs
=
space
().
blockMapper
().
maxNumDofs
()
*
space
().
localBlockSize
;
...
...
@@ -246,7 +243,11 @@ struct StepperBase
adaptationManager_
.
adaptationTime
(),
// time for adaptation
adaptationManager_
.
loadBalanceTime
(),
// time for load balance
overallTimer_
.
elapsed
());
// time step overall time
}
// write checkpoint data and also run time diagnostics
virtual
void
writeCheckPoint
(
TimeProviderType
&
tp
)
const
{
// write data checkpoint (see datawriter.hh)
checkPointer
(
tp
).
write
(
tp
);
}
...
...
@@ -339,6 +340,8 @@ struct StepperBase
sum_
=
0.
;
sum2_
=
0.
;
#endif
writeDiagnostics
(
tp
);
}
inline
double
error
(
TimeProviderType
&
tp
,
DiscreteFunctionType
&
u
)
...
...
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