Go to the documentation of this file.
40 #ifndef optionAdjointList_H
41 #define optionAdjointList_H
142 const word& fieldName
159 const word& fieldName
178 const word& fieldName
const dictionary & optionAdjointsDict(const dictionary &dict) const
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
const fvMesh & mesh_
Reference to the mesh database.
void correct(GeometricField< Type, fvPatchField, volMesh > &fld)
Correct.
virtual ~optionAdjointList()=default
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void checkApplied() const
Check that all sources have been applied.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
bool readOptionAdjoints(const dictionary &dict)
Read optionAdjoints dictionary.
void reset(const dictionary &dict)
Reset the source list.
TypeName("optionAdjointList")
Runtime type information.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual bool writeData(Ostream &os) const
Write data to Ostream.
virtual bool read(const dictionary &dict)
Read dictionary.
label checkTimeIndex_
Time index to check that all defined sources have been applied.
void constrain(fvMatrix< Type > &eqn)
Apply constraints to equation.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...