Public Member Functions | |
TypeName ("adjointFarFieldPressure") | |
Runtime type information. More... | |
adjointFarFieldPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
adjointFarFieldPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
adjointFarFieldPressureFvPatchScalarField (const adjointFarFieldPressureFvPatchScalarField &, 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... | |
adjointFarFieldPressureFvPatchScalarField (const adjointFarFieldPressureFvPatchScalarField &, 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 tmp< Field< scalar > > | snGrad () const |
Return true if this patch field fixes a value. More... | |
virtual tmp< Field< scalar > > | valueInternalCoeffs (const tmp< scalarField > &) const |
Return the matrix diagonal coefficients corresponding to the evaluation of the value of this patchField with given weights. More... | |
virtual tmp< Field< scalar > > | valueBoundaryCoeffs (const tmp< scalarField > &) const |
Return the matrix source coefficients corresponding to the. More... | |
virtual tmp< Field< scalar > > | gradientInternalCoeffs () const |
Return the matrix diagonal coefficients corresponding to the evaluation of the gradient of this patchField. More... | |
virtual tmp< Field< scalar > > | gradientBoundaryCoeffs () const |
Return the matrix source coefficients corresponding to the evaluation of the gradient of this patchField. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
virtual void | operator= (const UList< scalar > &) |
virtual void | operator= (const fvPatchField< scalar > &) |
virtual void | operator+= (const fvPatchField< scalar > &) |
virtual void | operator-= (const fvPatchField< scalar > &) |
virtual void | operator*= (const fvPatchField< scalar > &) |
virtual void | operator/= (const fvPatchField< scalar > &) |
virtual void | operator+= (const Field< scalar > &) |
virtual void | operator-= (const Field< scalar > &) |
virtual void | operator*= (const Field< scalar > &) |
virtual void | operator/= (const Field< scalar > &) |
virtual void | operator= (const scalar) |
virtual void | operator+= (const scalar) |
virtual void | operator-= (const scalar) |
virtual void | operator*= (const scalar) |
virtual void | operator/= (const scalar) |
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... | |
virtual void | updatePrimalBasedQuantities () |
Update the primal based quantities related to the adjoint boundary conditions. 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_ |
Engine to manage contributions of the objective functions to the adjoint boundary conditions. More... | |
autoPtr< bool > | addATCUaGradUTerm_ |
Whether to add the extra term from the UaGradU formulation. More... | |
Definition at line 50 of file adjointFarFieldPressureFvPatchScalarField.H.
adjointFarFieldPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 34 of file adjointFarFieldPressureFvPatchScalarField.C.
Referenced by adjointFarFieldPressureFvPatchScalarField::clone().
adjointFarFieldPressureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 60 of file adjointFarFieldPressureFvPatchScalarField.C.
adjointFarFieldPressureFvPatchScalarField | ( | const adjointFarFieldPressureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given adjointOutletPressureFvPatchScalarField.
onto a new patch
Definition at line 46 of file adjointFarFieldPressureFvPatchScalarField.C.
adjointFarFieldPressureFvPatchScalarField | ( | const adjointFarFieldPressureFvPatchScalarField & | tppsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 78 of file adjointFarFieldPressureFvPatchScalarField.C.
TypeName | ( | "adjointFarFieldPressure" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 100 of file adjointFarFieldPressureFvPatchScalarField.H.
References adjointFarFieldPressureFvPatchScalarField::adjointFarFieldPressureFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 121 of file adjointFarFieldPressureFvPatchScalarField.H.
References adjointFarFieldPressureFvPatchScalarField::adjointFarFieldPressureFvPatchScalarField().
|
virtual |
Return true if this patch field fixes a value.
Needed to check if a level has to be specified while solving Poissons equations.
Return gradient at boundary
Definition at line 164 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::foamVersion::patch, and Foam::pos().
|
virtual |
Return the matrix diagonal coefficients corresponding to the evaluation of the value of this patchField with given weights.
Definition at line 180 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg().
|
virtual |
Return the matrix source coefficients corresponding to the.
evaluation of the value of this patchField with given weights
Definition at line 198 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::pos().
|
virtual |
Return the matrix diagonal coefficients corresponding to the evaluation of the gradient of this patchField.
Definition at line 215 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::foamVersion::patch, and Foam::pos().
|
virtual |
Return the matrix source coefficients corresponding to the evaluation of the gradient of this patchField.
Definition at line 231 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::foamVersion::patch, and Foam::pos().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 90 of file adjointFarFieldPressureFvPatchScalarField.C.
References adjointBoundaryCondition< Type >::addATCUaGradUTerm(), adjointBoundaryCondition< Type >::boundaryContrPtr_, delta, Foam::neg(), Foam::foamVersion::patch, fvPatchField< Type >::patchInternalField(), Foam::pos(), and tmp< T >::ref().
|
virtual |
Write.
Definition at line 246 of file adjointFarFieldPressureFvPatchScalarField.C.
References os(), fvPatchField< scalar >::write(), and Ostream::writeEntry().
|
virtual |
Definition at line 257 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 269 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::check(), Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 282 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::check(), Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 295 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::check(), Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 308 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::neg(), Field< Type >::operator=(), Foam::foamVersion::patch, and Foam::pos().
|
virtual |
Definition at line 327 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::neg(), Field< Type >::operator=(), Foam::foamVersion::patch, and Foam::pos().
|
virtual |
Definition at line 346 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 358 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 370 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 382 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 394 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 406 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 418 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), and Foam::pos().
|
virtual |
Definition at line 434 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), Foam::pos(), and s.
|
virtual |
Definition at line 446 of file adjointFarFieldPressureFvPatchScalarField.C.
References Foam::neg(), Field< Type >::operator=(), Foam::pos(), and s.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.