Go to the documentation of this file.
39 #ifndef shapeSensitivitiesBase_H
40 #define shapeSensitivitiesBase_H
void writePointBasedSens() const
virtual const boundaryVectorField & getWallFaceSensNormalVecBoundary() const
const labelHashSet & sensitivityPatchIDs() const
tmp< volVectorField > getWallFaceSensVec()
autoPtr< boundaryVectorField > wallFaceSensVecPtr_
labelHashSet sensitivityPatchIDs_
void constructAndWriteSensitivityField(const autoPtr< typename GeometricField< Type, fvPatchField, volMesh >::Boundary > &sensFieldPtr, const word &name) const
A class for handling words, derived from Foam::string.
autoPtr< pointBoundaryVectorField > wallPointSensVecPtr_
A class for managing temporary objects.
tmp< pointVectorField > getWallPointSensNormalVec()
autoPtr< boundaryScalarField > wallFaceSensNormalPtr_
tmp< pointScalarField > getWallPointSensNormal()
tmp< volVectorField > getWallFaceSensNormalVec()
virtual const boundaryVectorField & getWallFaceSensVecBoundary() const
autoPtr< boundaryVectorField > wallFaceSensNormalVecPtr_
A HashTable with keys but without contents that is similar to std::unordered_set.
TypeName("shapeSensitivitiesBase")
bool writeAllSurfaceFiles_
autoPtr< pointBoundaryScalarField > wallPointSensNormalPtr_
tmp< volScalarField > getWallFaceSensNormal()
autoPtr< pointBoundaryVectorField > wallPointSensNormalVecPtr_
void constructAndWriteSensitivtyPointField(const autoPtr< List< Field< Type >>> &sensFieldPtr, const word &name) const
tmp< GeometricField< Type, fvPatchField, volMesh > > constructVolSensitivtyField(const autoPtr< typename GeometricField< Type, fvPatchField, volMesh >::Boundary > &sensFieldPtr, const word &name) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void setSensitivityPatchIDs(const labelHashSet &sensPatchIDs)
const fvMesh & meshShape_
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Useful typenames for fields defined only at the boundaries.
virtual ~shapeSensitivitiesBase()=default
virtual const boundaryScalarField & getWallFaceSensNormalBoundary() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void clearSensitivities()
void writeFaceBasedSens() const
word name(const expressions::valueTypeCode typeCode)
void setSuffix(const word &suffix)
tmp< pointVectorField > getWallPointSensVec()