40 #ifndef SIBaseIncompressible_H 41 #define SIBaseIncompressible_H 51 namespace incompressible
93 void operator=(
const SIBase&) =
delete;
virtual bool readDict(const dictionary &dict)
Read dict if changed.
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 sensitivity map.
TypeName("volumetricBSplinesFI")
Runtime type information.
bool includeObjective_
Whether to include direct sensitivities or not.
Base class for adjoint solvers.
Base class for incompressibleAdjoint solvers.
const dictionary & dict() const
Return the construction dictionary.
Base class for Surface Integral-based sensitivity derivatives.
A class for handling words, derived from Foam::string.
virtual ~SIBase()=default
Destructor.
static const word null
An empty word.
virtual void accumulateIntegrand(const scalar dt)
Accumulate sensitivity integrands.
void read()
Read options from dict.
virtual void assembleSensitivities()=0
Assemble sensitivities.
Mesh data needed to do the Finite Volume discretisation.
Calculation of adjoint based sensitivities at wall faces.
sensitivitySurface surfaceSensitivity_
Surface sensitivities.
virtual void clearSensitivities()
Zero sensitivity fields and their constituents.
const sensitivitySurface & getSurfaceSensitivities() const
Return reference to underlaying surface sensitivities.
bool writeSensitivityMap_
Write sensitivity map upon write.