diff --git a/src/functionObjects/field/interfaceHeight/interfaceHeight.C b/src/functionObjects/field/interfaceHeight/interfaceHeight.C index 1ec9c3dc0..7cb3ccdfe 100644 --- a/src/functionObjects/field/interfaceHeight/interfaceHeight.C +++ b/src/functionObjects/field/interfaceHeight/interfaceHeight.C @@ -28,7 +28,7 @@ License #include "interpolation.H" #include "IOmanip.H" #include "meshSearch.H" -#include "lineCellFaceSet.H" +#include "lineCellFace.H" #include "Time.H" #include "uniformDimensionedFields.H" #include "volFields.H" @@ -72,7 +72,7 @@ void Foam::functionObjects::interfaceHeight::writePositions() forAll(locations_, li) { // Create a set along a ray projected in the direction of gravity - const lineCellFaceSet set + const sampledSets::lineCellFace set ( "", mesh_, diff --git a/src/sampling/Make/files b/src/sampling/Make/files index 60c824d7c..31fe506ae 100644 --- a/src/sampling/Make/files +++ b/src/sampling/Make/files @@ -5,18 +5,18 @@ probes/probesGrouping.C sampledSet/sampledSet/sampledSet.C sampledSet/sampledSets/sampledSets.C sampledSet/sampledSets/sampledSetsGrouping.C -sampledSet/arcUniform/arcUniformSet.C -sampledSet/boxUniform/boxUniformSet.C -sampledSet/circleRandom/circleRandomSet.C -sampledSet/lineCell/lineCellSet.C -sampledSet/lineCellFace/lineCellFaceSet.C -sampledSet/lineFace/lineFaceSet.C -sampledSet/lineUniform/lineUniformSet.C -sampledSet/boundaryPoints/boundaryPointsSet.C -sampledSet/boundaryRandom/boundaryRandomSet.C -sampledSet/points/pointsSet.C -sampledSet/sphereRandom/sphereRandomSet.C -sampledSet/triSurfaceMesh/triSurfaceMeshSet.C +sampledSet/arcUniform/arcUniform.C +sampledSet/boxUniform/boxUniform.C +sampledSet/circleRandom/circleRandom.C +sampledSet/lineCell/lineCell.C +sampledSet/lineCellFace/lineCellFace.C +sampledSet/lineFace/lineFace.C +sampledSet/lineUniform/lineUniform.C +sampledSet/boundaryPoints/boundaryPoints.C +sampledSet/boundaryRandom/boundaryRandom.C +sampledSet/points/points.C +sampledSet/sphereRandom/sphereRandom.C +sampledSet/triSurfaceMeshSampledSet/triSurfaceMeshSampledSet.C cuttingPlane/cuttingPlane.C diff --git a/src/sampling/sampledSet/arcUniform/arcUniformSet.C b/src/sampling/sampledSet/arcUniform/arcUniform.C similarity index 92% rename from src/sampling/sampledSet/arcUniform/arcUniformSet.C rename to src/sampling/sampledSet/arcUniform/arcUniform.C index 0957f4f30..0fe6cc193 100644 --- a/src/sampling/sampledSet/arcUniform/arcUniformSet.C +++ b/src/sampling/sampledSet/arcUniform/arcUniform.C @@ -23,7 +23,7 @@ License \*---------------------------------------------------------------------------*/ -#include "arcUniformSet.H" +#include "arcUniform.H" #include "sampledSet.H" #include "meshSearch.H" #include "DynamicList.H" @@ -36,14 +36,17 @@ License namespace Foam { - defineTypeNameAndDebug(arcUniformSet, 0); - addToRunTimeSelectionTable(sampledSet, arcUniformSet, word); +namespace sampledSets +{ + defineTypeNameAndDebug(arcUniform, 0); + addToRunTimeSelectionTable(sampledSet, arcUniform, word); +} } // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // -void Foam::arcUniformSet::calcSamples +void Foam::sampledSets::arcUniform::calcSamples ( DynamicList& samplingPts, DynamicList