Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
0ac17464
Commit
0ac17464
authored
Aug 15, 2013
by
mattijs
Browse files
ENH: fvMeshSubset: added check
parent
3650d79f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.C
View file @
0ac17464
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
2
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -1371,6 +1371,12 @@ void Foam::fvMeshSubset::setLargeCellSubset
}
bool
Foam
::
fvMeshSubset
::
hasSubMesh
()
const
{
return
fvMeshSubsetPtr_
.
valid
();
}
const
fvMesh
&
Foam
::
fvMeshSubset
::
subMesh
()
const
{
checkCellSubset
();
...
...
src/finiteVolume/fvMesh/fvMeshSubset/fvMeshSubset.H
View file @
0ac17464
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
2
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -268,6 +268,9 @@ public:
return
baseMesh_
;
}
//- Have subMesh?
bool
hasSubMesh
()
const
;
//- Return reference to subset mesh
const
fvMesh
&
subMesh
()
const
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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