39 #ifndef shapeSensitivitiesIncompressible_H 40 #define shapeSensitivitiesIncompressible_H 49 namespace incompressible
autoPtr< boundaryVectorField > dxdbDirectMult_
autoPtr< boundaryVectorField > dSfdbMult_
Fields related to direct sensitivities.
virtual void accumulateDirectSensitivityIntegrand(const scalar dt)
Accumulate direct sensitivities.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void accumulateIntegrand(const scalar dt)=0
Accumulate sensitivity integrands.
TypeName("shapeSensitivities")
Runtime type information.
Base class for adjoint solvers.
virtual void write(const word &baseName=word::null)
Write sensitivity fields.
virtual void clearSensitivities()
Zero sensitivity fields and their constituents.
Base class for incompressibleAdjoint solvers.
const dictionary & dict() const
Return the construction dictionary.
virtual ~shapeSensitivities()=default
Destructor.
autoPtr< boundaryVectorField > dnfdbMult_
A class for handling words, derived from Foam::string.
Abstract base class for adjoint-based sensitivities in incompressible flows.
static const word null
An empty word.
virtual void assembleSensitivities()=0
Assemble sensitivities.
tmp< boundaryVectorField > dvdbMult() const
Compute multiplier of dv_i/db.
Mesh data needed to do the Finite Volume discretisation.
autoPtr< boundaryVectorField > bcDxDbMult_
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
Base class supporting shape sensitivity derivatives for incompressible flows.
virtual void accumulateBCSensitivityIntegrand(const scalar dt)
Accumulate sensitivities enamating from the boundary conditions.