40 #ifndef sensitivitySurfacePoints_H 41 #define sensitivitySurfacePoints_H
bool includeSurfaceArea_
Include surface area in sens computation.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void constructGlobalPointNormalsAndAreas(vectorField &pointNormals, scalarField &pointMagSf)
Construct globally correct point normals and point areas.
Base class for adjoint solvers.
TypeName("surfacePoints")
Runtime type information.
virtual bool readDict(const dictionary &dict)
Read dict if changed.
const fvMesh & mesh() const
Return reference to mesh.
void finalisePointSensitivities()
Converts face sensitivities to point sensitivities and adds the ones directly computed in points (i...
boolList isSymmetryPoint_
Is point belonging to a symmetry{Plane}.
labelHashSet populateExtendedIDs() const
Set suffix name for sensitivity fields.
void setSuffixName()
Set suffix name for sensitivity fields.
A class for handling words, derived from Foam::string.
static const word null
An empty word.
vectorField symmPointNormal_
Local point normal per symmetry point.
virtual ~sensitivitySurfacePoints()=default
Destructor.
const dictionary & dict() const
Return the construction dictionary.
bool writeGeometricInfo_
Write geometric info for use by external programs.
virtual void write(const word &baseName=word::null)
Write sensitivity fields.
virtual void assembleSensitivities(autoPtr< designVariables > &designVars)
Assemble sensitivities.
labelHashSet extendedPatchIDs_
Extended patchIDs.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
void read()
Read controls and update solver pointers if necessary.
void computePointDerivativesSize()
Allocate the proper size for the point-based sensitivities.
virtual const labelHashSet & geometryVariationIntegrationPatches() const
Return set of patches on which to compute direct sensitivities.
Calculation of adjoint-based sensitivities at wall points using the E-SI formulation.
Class for computing sensitivity derivatives using the Enhanced Surface Integral (E-SI) formulation...