39 #ifndef SolverPerformance_H 40 #define SolverPerformance_H 91 Type initialResidual_;
93 labelType nIterations_;
106 static const scalar
great_;
109 static const scalar
small_;
119 initialResidual_(
Zero),
120 finalResidual_(
Zero),
140 initialResidual_(iRes),
141 finalResidual_(fRes),
173 return initialResidual_;
179 return initialResidual_;
186 return finalResidual_;
192 return finalResidual_;
221 const Type& tolerance,
222 const Type& relTolerance,
223 const int logLevel = 0
261 friend Istream&
operator>> <Type>
267 friend Ostream& operator<< <Type>
281 #define makeSolverPerformance(Type) \ 283 typedef Foam::SolverPerformance<Type> \ 284 solverPerformance##Type; \ 286 defineNamedTemplateTypeNameAndDebug(solverPerformance##Type, 0); \ 289 const scalar solverPerformance##Type::great_(1e20); \ 292 const scalar solverPerformance##Type::small_(1e-20); \ 295 const scalar solverPerformance##Type::vsmall_(VSMALL); \
A 1D vector of objects of type <T> with a fixed length <N>.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A traits class, which is primarily used for primitives.
A class for handling words, derived from Foam::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
static constexpr const zero Zero
Global zero (0)