Go to the documentation of this file.
32 template<
class returnType,
class sourceType,
class castType>
42 auto& dJtotdvar = tdJtotdvar.ref();
45 for (sourceType& funcI : sourceList)
47 castType& cfuncI = refCast<castType>(funcI);
50 dJtotdvar += cfuncI.weight()*dJdvar;
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A class for managing temporary objects.
static constexpr const zero Zero
virtual label size() const
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
tmp< Field< returnType > > sumContributions(PtrList< sourceType > &sourceList, const fvPatchField< returnType > &(castType::*boundaryFunction)(const label))
static autoPtr< boundaryAdjointContribution > New(const word &managerName, const word &adjointSolverName, const word &simulationType, const fvPatch &patch)