Go to the documentation of this file.
124 <<
"Setting boundaryAdjointContributionPtr to nullptr. " <<
nl
125 <<
"OK for decomposePar."
void reset(T *p=nullptr) noexcept
Delete managed object and set to new given pointer.
adjointBoundaryCondition(const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const word &solverName)
Construct from field and base name.
boundaryAdjointContribution & getBoundaryAdjContribution()
Get boundaryContribution.
A class for handling words, derived from Foam::string.
const fvPatch & patch_
Reference to patch.
const word & simulationType() const
Return the simulationType.
Base class for solution control classes.
Ostream & endl(Ostream &os)
Add newline and flush stream.
autoPtr< boundaryAdjointContribution > boundaryContrPtr_
const fvMesh & mesh() const
Return the mesh reference.
Base class for selecting the adjoint transpose convection model. Inherits from regIOobject to add loo...
bool empty() const noexcept
True if the managed pointer is null.
bool foundObject(const word &name, const bool recursive=false) const
Is the named Type found?
const ATCModel & getATC() const
ATC type might be useful for a number of BCs. Return here.
void setBoundaryContributionPtr()
Set the ptr to the correct boundaryAdjointContribution.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
word adjointSolverName_
adjointSolver name corresponding to field
const Type & lookupObject(const word &name, const bool recursive=false) const
word simulationType_
simulationType corresponding to field.
bool addATCUaGradUTerm()
Whether to add the extra term from the UaGradU formulation.
word managerName_
objectiveManager name corresponding to field
Mesh data needed to do the Finite Volume discretisation.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Abstract base class for computing contributions of the objective functions to the adjoint boundary co...
const word & objectiveManagerName() const
Return objectiveManager name.
const word & adjointSolverName() const
Return adjointSolverName.
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
static autoPtr< boundaryAdjointContribution > New(const word &managerName, const word &adjointSolverName, const word &simulationType, const fvPatch &patch)
Return a reference to the selected turbulence model.
autoPtr< bool > addATCUaGradUTerm_
Whether to add the extra term from the UaGradU formulation.