45boundaryAdjointContribution::boundaryAdjointContribution
47 const word& managerName,
49 const word& simulationType,
61 const word& managerName,
62 const word& adjointSolverName,
63 const word& simulationType,
67 auto* ctorPtr = dictionaryConstructorTable(simulationType);
73 "boundaryAdjointContribution",
75 *dictionaryConstructorTablePtr_
80 autoPtr<boundaryAdjointContribution>
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Abstract base class for computing contributions of the objective functions to the adjoint boundary co...
virtual tmp< scalarField > TMVariable2Diffusion()
virtual tmp< scalarField > adjointTMVariable1Source()
virtual tmp< tensorField > dJdGradU()
virtual tmp< scalarField > adjointTMVariable2Source()
virtual tmp< scalarField > TMVariable2()
virtual tmp< scalarField > TMVariable1Diffusion()
virtual tmp< scalarField > dJdnut()
virtual tmp< scalarField > TMVariable1()
virtual const word adjointSolverName() const =0
virtual tmp< fvPatchScalarField > turbulentDiffusivity() const
static autoPtr< boundaryAdjointContribution > New(const word &managerName, const word &adjointSolverName, const word &simulationType, const fvPatch &patch)
Return a reference to the selected turbulence model.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
static constexpr const zero Zero
Global zero (0).
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.