Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
67d4736a
Commit
67d4736a
authored
Jun 05, 2018
by
mattijs
Browse files
COMP: fvMesh: add hasDb() member
parent
cf9209e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/finiteArea/faMesh/faMesh.C
View file @
67d4736a
...
...
@@ -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
();
...
...
src/finiteArea/faMesh/faMesh.H
View file @
67d4736a
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment