39 #ifndef sensitivityMultiple_H 40 #define sensitivityMultiple_H virtual void assembleSensitivities(autoPtr< designVariables > &designVars)
Assemble sensitivities.
virtual void clearSensitivities()
Zero sensitivity fields and their constituents.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write(const word &baseName=word::null)
Write sensitivities to file.
Abstract base class for adjoint-based sensitivities.
Base class for adjoint solvers.
const fvMesh & mesh() const
Return reference to mesh.
A class for handling words, derived from Foam::string.
static const word null
An empty word.
Calculation of adjoint based sensitivities of multiple types.
virtual void accumulateIntegrand(const scalar dt)
Accumulate sensitivity integrands.
virtual bool readDict(const dictionary &dict)
Read dict if changed.
const dictionary & dict() const
Return the construction dictionary.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Mesh data needed to do the Finite Volume discretisation.
const scalarField & calculateSensitivities(autoPtr< designVariables > &designVars)
Calculates sensitivities at wall surface points.
PtrList< adjointSensitivity > sens_
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual ~sensitivityMultiple()=default
Destructor.
TypeName("multiple")
Runtime type information.