adjointOutletPressureFvPatchScalarField Class Reference
Inheritance diagram for adjointOutletPressureFvPatchScalarField:
[legend]
Collaboration diagram for adjointOutletPressureFvPatchScalarField:
[legend]

Public Member Functions

 TypeName ("adjointOutletPressure")
 Runtime type information. More...
 
 adjointOutletPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 adjointOutletPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 adjointOutletPressureFvPatchScalarField (const adjointOutletPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
virtual tmp< fvPatchScalarField > clone () const
 Construct and return a clone. More...
 
 adjointOutletPressureFvPatchScalarField (const adjointOutletPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarField > clone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
 TypeName ("adjointOutletPressure")
 Runtime type information. More...
 
 adjointOutletPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 adjointOutletPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 adjointOutletPressureFvPatchScalarField (const adjointOutletPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given adjointOutletPressureFvPatchScalarField. More...
 
virtual tmp< fvPatchScalarField > clone () const
 Construct and return a clone. More...
 
 adjointOutletPressureFvPatchScalarField (const adjointOutletPressureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarField > clone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from adjointBoundaryCondition< Type >
 TypeName ("adjointBoundaryCondition")
 Run-time type information. More...
 
 adjointBoundaryCondition (const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const word &solverName)
 Construct from field and base name. More...
 
 adjointBoundaryCondition (const adjointBoundaryCondition< Type > &)
 Construct as copy. More...
 
virtual ~adjointBoundaryCondition ()=default
 Destructor. More...
 
const word & objectiveManagerName () const
 Return objectiveManager name. More...
 
const word & adjointSolverName () const
 Return adjointSolverName. More...
 
const word & simulationType () const
 Return the simulationType. More...
 
void setBoundaryContributionPtr ()
 Set the ptr to the correct boundaryAdjointContribution. More...
 
boundaryAdjointContribution & getBoundaryAdjContribution ()
 Get boundaryContribution. More...
 
const ATCModel & getATC () const
 ATC type might be useful for a number of BCs. Return here. More...
 
virtual tmp< Field< typename Foam::outerProduct< Foam::vector, Type >::type > > dxdbMult () const
 Return contribution to sensitivity derivatives. More...
 

Additional Inherited Members

- Protected Member Functions inherited from adjointBoundaryCondition< Type >
template<class Type2 >
tmp< Field< typename Foam::outerProduct< Foam::vector, Type2 >::type > > computePatchGrad (word name)
 Get gradient of field on a specific boundary. More...
 
bool addATCUaGradUTerm ()
 Whether to add the extra term from the UaGradU formulation. More...
 
- Protected Attributes inherited from adjointBoundaryCondition< Type >
const fvPatch & patch_
 Reference to patch. More...
 
word managerName_
 objectiveManager name corresponding to field More...
 
word adjointSolverName_
 adjointSolver name corresponding to field More...
 
word simulationType_
 simulationType corresponding to field. More...
 
autoPtr< boundaryAdjointContribution > boundaryContrPtr_
 
autoPtr< bool > addATCUaGradUTerm_
 Whether to add the extra term from the UaGradU formulation. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ adjointOutletPressureFvPatchScalarField() [1/8]

adjointOutletPressureFvPatchScalarField ( const fvPatch &  p,
const DimensionedField< scalar, volMesh > &  iF 
)

Construct from patch and internal field.

Definition at line 42 of file adjointOutletPressureFvPatchScalarField.C.

Referenced by adjointOutletPressureFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ adjointOutletPressureFvPatchScalarField() [2/8]

adjointOutletPressureFvPatchScalarField ( const fvPatch &  p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary &  dict 
)

Construct from patch, internal field and dictionary.

Definition at line 68 of file adjointOutletPressureFvPatchScalarField.C.

References dict, and p.

◆ adjointOutletPressureFvPatchScalarField() [3/8]

Construct by mapping given adjointOutletPressureFvPatchScalarField- onto a new patch

Definition at line 54 of file adjointOutletPressureFvPatchScalarField.C.

◆ adjointOutletPressureFvPatchScalarField() [4/8]

Construct as copy setting internal field reference.

Definition at line 86 of file adjointOutletPressureFvPatchScalarField.C.

◆ adjointOutletPressureFvPatchScalarField() [5/8]

Construct from patch and internal field.

◆ adjointOutletPressureFvPatchScalarField() [6/8]

adjointOutletPressureFvPatchScalarField ( const fvPatch &  ,
const DimensionedField< scalar, volMesh > &  ,
const dictionary &   
)

Construct from patch, internal field and dictionary.

◆ adjointOutletPressureFvPatchScalarField() [7/8]

Construct by mapping given adjointOutletPressureFvPatchScalarField.

onto a new patch

◆ adjointOutletPressureFvPatchScalarField() [8/8]

Construct as copy setting internal field reference.

Member Function Documentation

◆ TypeName() [1/2]

TypeName ( "adjointOutletPressure"  )

Runtime type information.

◆ clone() [1/4]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 93 of file adjointOutletPressureFvPatchScalarField.H.

References adjointOutletPressureFvPatchScalarField::adjointOutletPressureFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/4]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 110 of file adjointOutletPressureFvPatchScalarField.H.

References adjointOutletPressureFvPatchScalarField::adjointOutletPressureFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs() [1/2]

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 98 of file adjointOutletPressureFvPatchScalarField.C.

References adjointBoundaryCondition< Type >::addATCUaGradUTerm(), adjointBoundaryCondition< Type >::boundaryContrPtr_, SphericalTensor< scalar >::oneThirdI, Foam::foamVersion::patch, tmp< T >::ref(), fvPatchField< Type >::snGrad(), and Foam::tr().

Here is the call graph for this function:

◆ write() [1/2]

void write ( Ostream &  os) const
virtual

Write.

Definition at line 161 of file adjointOutletPressureFvPatchScalarField.C.

References fvPatchField< scalar >::write(), and Ostream::writeEntry().

Here is the call graph for this function:

◆ TypeName() [2/2]

TypeName ( "adjointOutletPressure"  )

Runtime type information.

◆ clone() [3/4]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 88 of file adjointOutletPressureFvPatchScalarField.H.

References adjointOutletPressureFvPatchScalarField::adjointOutletPressureFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [4/4]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 105 of file adjointOutletPressureFvPatchScalarField.H.

References adjointOutletPressureFvPatchScalarField::adjointOutletPressureFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs() [2/2]

virtual void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

◆ write() [2/2]

virtual void write ( Ostream &  ) const
virtual

Write.


The documentation for this class was generated from the following files: