36 #ifndef SolverPerformance_H
37 #define SolverPerformance_H
50 class SolverPerformance;
88 Type initialResidual_;
90 labelType nIterations_;
103 static const scalar
great_;
106 static const scalar
small_;
116 initialResidual_(
Zero),
117 finalResidual_(
Zero),
137 initialResidual_(iRes),
138 finalResidual_(fRes),
170 return initialResidual_;
176 return initialResidual_;
183 return finalResidual_;
189 return finalResidual_;
218 const Type& tolerance,
219 const Type& relTolerance
257 friend Istream&
operator>> <Type>
263 friend Ostream& operator<< <Type>
277 #define makeSolverPerformance(Type) \
279 typedef Foam::SolverPerformance<Type> \
280 solverPerformance##Type; \
282 defineNamedTemplateTypeNameAndDebug(solverPerformance##Type, 0); \
285 const scalar solverPerformance##Type::great_(1e20); \
288 const scalar solverPerformance##Type::small_(1e-20); \
291 const scalar solverPerformance##Type::vsmall_(vSmall); \
A 1D vector of objects of type <T> with a fixed size <Size>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Traits class for primitives.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)