37 #ifndef primalSolver_H 38 #define primalSolver_H static autoPtr< primalSolver > New(fvMesh &mesh, const word &managerType, const dictionary &dict, const word &solverName)
Return a reference to the selected primal solver.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Base class for primal solvers.
const fvMesh & mesh() const
Return the solver mesh.
TypeName("primalSolver")
Run-time type information.
A class for handling words, derived from Foam::string.
declareRunTimeNewSelectionTable(autoPtr, primalSolver, primalSolver,(fvMesh &mesh, const word &managerType, const dictionary &dict, const word &solverName),(mesh, managerType, dict, solverName))
const word & managerType() const
Return the manager type.
const dictionary & dict() const
Return the solver dictionary.
virtual void correctBoundaryConditions()
update boundary conditions
const word & solverName() const
Return the solver name.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
virtual ~primalSolver()=default
Destructor.
virtual bool readDict(const dictionary &dict)