mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
BUG: incorrect test for triangulate/filtering in sampledIsoSurfaceTopo
This commit is contained in:
committed by
Andrew Heather
parent
7c2ad98834
commit
f2eb3e1cee
@ -180,10 +180,10 @@ Foam::sampledIsoSurfaceTopo::sampledIsoSurfaceTopo
|
||||
prevTimeIndex_(-1),
|
||||
meshCells_()
|
||||
{
|
||||
if (triangulate_ && filter_ != isoSurfaceBase::filterType::NONE)
|
||||
if (triangulate_ && filter_ == isoSurfaceBase::filterType::NONE)
|
||||
{
|
||||
FatalIOErrorInFunction(dict)
|
||||
<< "Cannot both use triangulate and regularise" << nl
|
||||
<< "Cannot triangulate without a regularise filter" << nl
|
||||
<< exit(FatalIOError);
|
||||
}
|
||||
}
|
||||
|
||||
@ -102,7 +102,7 @@ class sampledIsoSurfaceTopo
|
||||
//- Filtering for iso-surface triangles
|
||||
const isoSurfaceBase::filterType filter_;
|
||||
|
||||
//- Whether to triangulate
|
||||
//- Whether to triangulate (after filtering)
|
||||
const bool triangulate_;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user