Go to the documentation of this file.
38 #ifndef SolverPerformance_H
39 #define SolverPerformance_H
90 Type initialResidual_;
92 labelType nIterations_;
105 static const scalar
great_;
108 static const scalar
small_;
118 initialResidual_(
Zero),
119 finalResidual_(
Zero),
139 initialResidual_(iRes),
140 finalResidual_(fRes),
172 return initialResidual_;
178 return initialResidual_;
185 return finalResidual_;
191 return finalResidual_;
220 const Type& tolerance,
221 const Type& relTolerance
259 friend Istream&
operator>> <Type>
265 friend Ostream& operator<< <Type>
279 #define makeSolverPerformance(Type) \
281 typedef Foam::SolverPerformance<Type> \
282 solverPerformance##Type; \
284 defineNamedTemplateTypeNameAndDebug(solverPerformance##Type, 0); \
287 const scalar solverPerformance##Type::great_(1e20); \
290 const scalar solverPerformance##Type::small_(1e-20); \
293 const scalar solverPerformance##Type::vsmall_(VSMALL); \
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Traits class for primitives.
A 1D vector of objects of type <T> with a fixed length <N>.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...