38 List<
void (Type::*)()>& funcs
Generic GeometricField class.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
const GeometricField< Type, fvPatchField, volMesh > & psi(const label i=0) const
Return psi.
void solveWithArgs(Type &type, List< void(Type::*)()> &funcs)
Main control loop.
bool active_
Solve equations?
virtual void solveIter()=0
Execute one iteration of the solution algorithm.
virtual void preLoop()
Functions to be called before loop.
virtual void postLoop()
Functions to be called after loop.
void addOptimisationTypeSource(fvMatrix< Type > &matrix) const
Add source from optimisationType to underlaying equation.
virtual bool loop()=0
Looper (advances iters, time step)
const volScalarField & psi
Calculate the finiteVolume matrix for implicit and explicit sources.
zeroField Sp(const Foam::zero, const GeometricField< Type, fvPatchField, volMesh > &)
A no-op source.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
#define forAll(list, i)
Loop across all elements in list.