ENH: additional tests in {cell,face}SetOption

- useSubMesh() - name as per fvMeshSubsetProxy.
  Setter methods take a parameter instead of direct access.
This commit is contained in:
Mark Olesen
2021-10-27 17:06:23 +02:00
parent f5058bca90
commit 3d3d287452
13 changed files with 118 additions and 100 deletions

View File

@ -440,7 +440,7 @@ int main(int argc, char *argv[])
autoPtr<topoSetSource> source =
topoSetSource::New(region.keyword(), mesh, region.dict());
if (source().setType() == topoSetSource::CELLSETSOURCE)
if (source().setType() == topoSetSource::CELLSET_SOURCE)
{
cellSet selectedCellSet
(
@ -461,7 +461,7 @@ int main(int argc, char *argv[])
setCellField::iNew(mesh, selectedCellSet.sortedToc())
);
}
else if (source().setType() == topoSetSource::FACESETSOURCE)
else if (source().setType() == topoSetSource::FACESET_SOURCE)
{
faceSet selectedFaceSet
(