51 sensitivityMultiple::sensitivityMultiple
60 sens_(sensTypes_.size())
101 sens_[sI].accumulateIntegrand(dt);
108 autoPtr<designVariables>& designVars
113 sens_[sI].assembleSensitivities(designVars);
120 autoPtr<designVariables>& designVars
126 sens_[sI].calculateSensitivities(designVars);
138 sens_[sI].clearSensitivities();
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Base class for adjoint solvers.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
const fvMesh & mesh() const
Return reference to mesh.
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
static autoPtr< adjointSensitivity > New(const fvMesh &mesh, const dictionary &dict, adjointSolver &adjointSolver)
Return a reference to the selected turbulence model.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Calculation of adjoint based sensitivities of multiple types.
virtual void accumulateIntegrand(const scalar dt)
Accumulate sensitivity integrands.
defineTypeNameAndDebug(combustionModel, 0)
virtual bool readDict(const dictionary &dict)
Read dict if changed.
const dictionary & dict() const
Return the construction dictionary.
virtual bool readDict(const dictionary &dict)
Read dictionary if changed.
scalarField derivatives_
The sensitivity derivative values.
Mesh data needed to do the Finite Volume discretisation.
const scalarField & calculateSensitivities(autoPtr< designVariables > &designVars)
Calculates sensitivities at wall surface points.
messageStream Info
Information stream (stdout output on master, null elsewhere)
PtrList< adjointSensitivity > sens_
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)