adjointInletNuaTildaFvPatchScalarField Class Reference

Inlet boundary for adjoint nuaTilda. More...

Inheritance diagram for adjointInletNuaTildaFvPatchScalarField:
[legend]
Collaboration diagram for adjointInletNuaTildaFvPatchScalarField:
[legend]

Public Member Functions

 TypeName ("adjointInletNuaTilda")
 Runtime type information. More...
 
 adjointInletNuaTildaFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 adjointInletNuaTildaFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 adjointInletNuaTildaFvPatchScalarField (const adjointInletNuaTildaFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given adjointInletNuaTildaFvPatchScalarField. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 adjointInletNuaTildaFvPatchScalarField (const adjointInletNuaTildaFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (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 tmp< Field< scalar > > valueInternalCoeffs (const tmp< scalarField > &) const
 
virtual tmp< Field< scalar > > valueBoundaryCoeffs (const tmp< scalarField > &) const
 
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 wordobjectiveManagerName () const
 Return objectiveManager name. More...
 
const wordadjointSolverName () const
 Return adjointSolverName. More...
 
const wordsimulationType () const
 Return the simulationType. More...
 
void setBoundaryContributionPtr ()
 Set the ptr to the correct boundaryAdjointContribution. More...
 
boundaryAdjointContributiongetBoundaryAdjContribution ()
 Get boundaryContribution. More...
 
const ATCModelgetATC () 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 fvPatchpatch_
 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< boundaryAdjointContributionboundaryContrPtr_
 
autoPtr< booladdATCUaGradUTerm_
 Whether to add the extra term from the UaGradU formulation. More...
 

Detailed Description

Inlet boundary for adjoint nuaTilda.

Source files

Definition at line 55 of file adjointInletNuaTildaFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ adjointInletNuaTildaFvPatchScalarField() [1/4]

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

Construct from patch and internal field.

Definition at line 41 of file adjointInletNuaTildaFvPatchScalarField.C.

Referenced by adjointInletNuaTildaFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ adjointInletNuaTildaFvPatchScalarField() [2/4]

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

Construct from patch, internal field and dictionary.

Definition at line 65 of file adjointInletNuaTildaFvPatchScalarField.C.

◆ adjointInletNuaTildaFvPatchScalarField() [3/4]

adjointInletNuaTildaFvPatchScalarField ( const adjointInletNuaTildaFvPatchScalarField ptf,
const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping given adjointInletNuaTildaFvPatchScalarField.

onto a new patch

Definition at line 52 of file adjointInletNuaTildaFvPatchScalarField.C.

◆ adjointInletNuaTildaFvPatchScalarField() [4/4]

Construct as copy setting internal field reference.

Definition at line 77 of file adjointInletNuaTildaFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "adjointInletNuaTilda"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 95 of file adjointInletNuaTildaFvPatchScalarField.H.

References adjointInletNuaTildaFvPatchScalarField::adjointInletNuaTildaFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/2]

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

Construct and return a clone setting internal field reference.

Definition at line 112 of file adjointInletNuaTildaFvPatchScalarField.H.

References adjointInletNuaTildaFvPatchScalarField::adjointInletNuaTildaFvPatchScalarField(), Foam::endl(), Foam::Info, and adjointBoundaryCondition< Type >::managerName_.

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 89 of file adjointInletNuaTildaFvPatchScalarField.C.

References Foam::operator==(), and Foam::Zero.

Here is the call graph for this function:

◆ valueInternalCoeffs()

tmp< Field< scalar > > valueInternalCoeffs ( const tmp< scalarField > &  ) const
virtual

Return the matrix diagonal coefficients corresponding to the evaluation of the value of this patchField with given weights

Definition at line 103 of file adjointInletNuaTildaFvPatchScalarField.C.

References Foam::New().

Here is the call graph for this function:

◆ valueBoundaryCoeffs()

tmp< Field< scalar > > valueBoundaryCoeffs ( const tmp< scalarField > &  ) const
virtual

Return the matrix source coefficients corresponding to the evaluation of the value of this patchField with given weights

Definition at line 112 of file adjointInletNuaTildaFvPatchScalarField.C.

References Foam::New(), and Foam::Zero.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 120 of file adjointInletNuaTildaFvPatchScalarField.C.

References adjointBoundaryCondition< Type >::adjointSolverName_, os(), and fvPatchField< scalar >::write().

Here is the call graph for this function:

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