dune-pdelab 2.7-git
Loading...
Searching...
No Matches
solver/utility.hh
Go to the documentation of this file.
1#ifndef DUNE_PDELAB_SOLVER_UTILITY_HH
2#define DUNE_PDELAB_SOLVER_UTILITY_HH
3
4namespace Dune {
5 namespace PDELab {
6
7 template <typename RFType>
9 {
10 RFType first_defect; // the first defect
11 RFType defect; // the final defect
12 double assembler_time; // Cumulative time for matrix assembly
13 double linear_solver_time; // Cumulative time for linear solver
14 int linear_solver_iterations; // Total number of linear iterations
15
17 {
18 clear();
19 }
20
21 void clear()
22 {
24 first_defect = 0.0;
25 defect = 0.0;
26 assembler_time = 0.0;
29 }
30 };
31
32 } // namespace PDELab
33} // namespace Dune
34
35#endif
For backward compatibility – Do not use this!
Definition adaptivity.hh:28
Definition solver.hh:31
void clear()
Definition solver.hh:43
Definition solver/utility.hh:9
RFType defect
Definition solver/utility.hh:11
double assembler_time
Definition solver/utility.hh:12
int linear_solver_iterations
Definition solver/utility.hh:14
PDESolverResult()
Definition solver/utility.hh:16
double linear_solver_time
Definition solver/utility.hh:13
RFType first_defect
Definition solver/utility.hh:10
void clear()
Definition solver/utility.hh:21