Commit 67d4736a authored by mattijs's avatar mattijs
Browse files

COMP: fvMesh: add hasDb() member

parent cf9209e4
......@@ -1000,6 +1000,12 @@ Foam::label& Foam::faMesh::comm()
bool Foam::faMesh::hasDb() const
return true;
const Foam::objectRegistry& Foam::faMesh::thisDb() const
return mesh().thisDb();
......@@ -405,6 +405,9 @@ public:
// Access
//- Return true if thisDb() is a valid DB
virtual bool hasDb() const;
//- Return reference to the mesh database
virtual const objectRegistry& thisDb() const;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment