DUNE PDELab (git)
solverstatistics.hh
Go to the documentation of this file.
Specialization of Communication for MPI.
Definition: mpicommunication.hh:108
T max(const T &in) const
Compute the maximum of the argument over all processes and return the result in every process....
Definition: mpicommunication.hh:257
T sum(const T &in) const
Compute the sum of the argument over all processes and return the result in every process....
Definition: mpicommunication.hh:208
T min(const T &in) const
Compute the minimum of the argument over all processes and return the result in every process....
Definition: mpicommunication.hh:240
Class for collecting statistics over several invocations.
Definition: solverstatistics.hh:39
double stddev() const
Calculate standard deviation.
Definition: solverstatistics.hh:88
const StatisticsResult< T > result() const
Convert to statistics result.
Definition: solverstatistics.hh:122
void append(const T x)
Add new data point.
Definition: solverstatistics.hh:52
const T max() const
Calculate global maximum.
Definition: solverstatistics.hh:114
SolverStatistics(const Dune::Communication< MPI_Comm > &comm_)
Create new instance of class.
Definition: solverstatistics.hh:45
const T min() const
Calculate global minimum.
Definition: solverstatistics.hh:104
double avg() const
Calculate global average.
Definition: solverstatistics.hh:76
size_t size() const
Total number of calls.
Definition: solverstatistics.hh:66
constexpr T accumulate(Range &&range, T value, F &&f)
Accumulate values.
Definition: hybridutilities.hh:279
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)