52 #ifndef adjointMeshMovementSolver_H 53 #define adjointMeshMovementSolver_H 65 class ShapeSensitivitiesBase;
124 TypeName(
"adjointMeshMovementSolver");
148 virtual void solve();
label iters_
Solution controls.
void reset()
Reset the source term.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Abstract base class for adjoint-based sensitivities.
TypeName("adjointMeshMovementSolver")
Runtime type information.
virtual void solve()
Calculate the adjoint distance field.
volVectorField ma_
Adjoint grid displacement field.
void read()
Read options each time a new solution is found.
Class solving the adjoint grid dispalcement PDEs. Assumes the primal grid displacement PDE is a Lapla...
boundaryVectorField & meshMovementSensitivities()
Return the sensitivity term depending on ma.
volVectorField source_
Source term of the adjoint grid displacement PDEs.
const volVectorField & ma() const
Return the adjoint distance field.
virtual bool readDict(const dictionary &dict)
Read dict if changed.
Base class supporting Shape sensitivity derivatives.
ShapeSensitivitiesBase & adjointSensitivity_
Useful typenames for fields defined only at the boundaries.
Mesh data needed to do the Finite Volume discretisation.
autoPtr< boundaryVectorField > meshMovementSensPtr_
Part of sensitivity derivatives coming from the adjoint grid displacement PDE.
virtual ~adjointMeshMovementSolver()=default
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
dictionary dict_
Dictionary containing solution controls.
void setSource()
Set the source term of the PDE.
const fvMesh & mesh_
Reference to mesh.