virtual void write(const word &baseName=word::null)
Write sensitivity fields.
virtual bool readDict(const dictionary &dict)
Read dictionary if changed.
virtual void computeDerivativesSize()
Compute design variables number. Does nothing in the base.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual const scalarField & calculateSensitivities()=0
Calculates and returns sensitivity fields.
Abstract base class for adjoint sensitivities.
const dictionary & dict() const
Return the construction dictionary.
A class for handling words, derived from Foam::string.
static const word null
An empty word.
autoPtr< volScalarField > fieldSensPtr_
Useful typenames for fields defined only at the boundaries.
TypeName("sensitivity")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual ~sensitivity()=default
Destructor.