ENH: conformationSurfaces.H: access to locationInMesh

This commit is contained in:
mattijs
2012-02-14 18:11:27 +00:00
parent b1122c20b5
commit f2acb35523
2 changed files with 11 additions and 2 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -136,6 +136,9 @@ public:
//- Return the object holding the feature points and edges //- Return the object holding the feature points and edges
inline const PtrList<extendedFeatureEdgeMesh>& features() const; inline const PtrList<extendedFeatureEdgeMesh>& features() const;
//- Return the location to mesh
inline const point& locationInMesh() const;
//- Return the surface indices //- Return the surface indices
inline const labelList& surfaces() const; inline const labelList& surfaces() const;

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License 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 const Foam::labelList& Foam::conformationSurfaces::surfaces() const
{ {
return surfaces_; return surfaces_;