mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: isoSurfaceParams
- bundles selection and control parameters used when creating iso-surfaces. This simplifies selection and specification - drop old compatibility handling of "cell" as a bool - harmonize filter/regularisation flags for iso-surface - for dictionary input, accept "isoMethod" and "isoAlgorithm" as being synonymous. Using "isoMethod" is less subject to typing errors.
This commit is contained in:
@ -16,6 +16,7 @@ EXE_INC = \
|
||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude \
|
||||
-I$(LIB_SRC)/dynamicMesh/lnInclude \
|
||||
-I$(LIB_SRC)/sampling/lnInclude \
|
||||
-I../vectorTools
|
||||
|
||||
EXE_LIBS = \
|
||||
@ -25,4 +26,5 @@ EXE_LIBS = \
|
||||
-ldecompose \
|
||||
-lmeshTools \
|
||||
-ldynamicMesh \
|
||||
-lsampling \
|
||||
-lfiniteVolume
|
||||
|
||||
@ -311,7 +311,7 @@ tmp<scalarField> signedDistance
|
||||
)
|
||||
{
|
||||
tmp<scalarField> tfld(new scalarField(points.size(), Foam::sqr(GREAT)));
|
||||
scalarField& fld = tfld();
|
||||
scalarField& fld = tfld.ref();
|
||||
|
||||
// Find nearest
|
||||
List<pointIndexHit> nearest;
|
||||
@ -713,8 +713,7 @@ int main(int argc, char *argv[])
|
||||
fvm,
|
||||
cellDistance,
|
||||
pointDistance,
|
||||
0, //distance,
|
||||
false //regularise
|
||||
scalar(0) // distance
|
||||
);
|
||||
|
||||
isoFaces.setSize(iso.size());
|
||||
|
||||
Reference in New Issue
Block a user