46#ifndef Foam_solution_H
47#define Foam_solution_H
58template<
class Type>
class Function1;
107 void operator=(
const solution&) =
delete;
185 template<
class FieldType>
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
readOption
Enumeration defining the read options.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
word dictName() const
The local dictionary name (final part of scoped name)
A class for handling file names.
Registry of regIOobjects.
Selector class for relaxation factors, solver type and solution.
bool cache(const word &name) const
Return true if the given field should be cached.
virtual ~solution()
Destructor.
static void cachePrintMessage(const char *message, const word &name, const FieldType &vf)
Helper for printing cache message.
bool relaxField(const word &name) const
Return true if the relaxation factor is given for the field.
scalar fieldRelaxationFactor(const word &name) const
Return the relaxation factor for the given field.
const dictionary & solverDict(const word &name) const
Return the solver controls dictionary for the given field.
static label upgradeSolverDict(dictionary &dict, const bool verbose=true)
Update from older solver controls syntax.
scalar equationRelaxationFactor(const word &name) const
Return the relaxation factor for the given equation.
static int debug
Debug switch.
bool relaxEquation(const word &name) const
Return true if the relaxation factor is given for the equation.
const dictionary & solutionDict() const
bool read()
Read the solution dictionary.
Base class for solution control classes.
A class for handling words, derived from Foam::string.