62 primalSolver(
const primalSolver&) =
delete;
65 void operator=(
const primalSolver&) =
delete;
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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.
virtual bool readDict(const dictionary &dict)
TypeName("primalSolver")
Run-time type information.
virtual ~primalSolver()=default
Destructor.
static autoPtr< primalSolver > New(fvMesh &mesh, const word &managerType, const dictionary &dict, const word &solverName)
Return a reference to the selected primal solver.
virtual void correctBoundaryConditions()
update boundary conditions
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.
const fvMesh & mesh() const
Return the solver mesh.
const word & solverName() const
Return the solver name.
solver(const solver &)=delete
No copy construct.
A class for handling words, derived from Foam::string.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeNewSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection for derived classes.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.