From f2acb355239444ebaf0fdf1dbd1c2290a2c8043d Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 14 Feb 2012 18:11:27 +0000 Subject: [PATCH] ENH: conformationSurfaces.H: access to locationInMesh --- .../conformationSurfaces/conformationSurfaces.H | 5 ++++- .../conformationSurfaces/conformationSurfacesI.H | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.H b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.H index bb78cde3e4..d8e5fd0166 100644 --- a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.H +++ b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfaces.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -136,6 +136,9 @@ public: //- Return the object holding the feature points and edges inline const PtrList& features() const; + //- Return the location to mesh + inline const point& locationInMesh() const; + //- Return the surface indices inline const labelList& surfaces() const; diff --git a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfacesI.H b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfacesI.H index 77713a0215..016a848802 100644 --- a/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfacesI.H +++ b/applications/utilities/mesh/generation/cvMesh/conformalVoronoiMesh/conformationSurfaces/conformationSurfacesI.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -38,6 +38,12 @@ Foam::conformationSurfaces::features() const } +const Foam::point& Foam::conformationSurfaces::locationInMesh() const +{ + return locationInMesh_; +} + + const Foam::labelList& Foam::conformationSurfaces::surfaces() const { return surfaces_;