triSurfModifier.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | cfMesh: A library for mesh generation
4  \\ / O peration |
5  \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
6  \\/ M anipulation | Copyright (C) Creative Fields, Ltd.
7 -------------------------------------------------------------------------------
8 License
9  This file is part of cfMesh.
10 
11  cfMesh is free software; you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by the
13  Free Software Foundation; either version 3 of the License, or (at your
14  option) any later version.
15 
16  cfMesh is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with cfMesh. If not, see <http://www.gnu.org/licenses/>.
23 
24 Class
25  triSurfModifier
26 
27 Description
28  A class allowing non-const access to the member of the surface mesh
29 
30 SourceFiles
31  triSurfModifier.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef triSurfModifier_H
36 #define triSurfModifier_H
37 
38 #include "triSurf.H"
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
42 namespace Foam
43 {
44 
45 /*---------------------------------------------------------------------------*\
46  Class triSurfModifier Declaration
47 \*---------------------------------------------------------------------------*/
48 
49 class triSurfModifier
50 {
51  // Private data
52  //- reference to the surface mesh
54 
55  // Disallow bitwise assignment
56  //- Default construct
58 
59  //- Disallow default bitwise assignment
60  void operator=(const triSurfModifier&);
61 
62 public:
63 
64  // Constructors
65 
66  //- Construct from surface mesh
68 
69  // Destructor
70 
72 
73 
74  // Member Functions
75  //- non-const access to points
76  inline pointField& pointsAccess();
77 
78  //- access to facets
80 
81  //- non-const access to feature edges
83 
84  //- access to patches
86 };
87 
88 
89 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
90 
91 } // End namespace Foam
92 
93 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
94 
95 #include "triSurfModifierI.H"
96 
97 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
98 
99 #endif
100 
101 // ************************************************************************* //
triSurf.H
Foam::triSurfModifier::operator=
void operator=(const triSurfModifier &)
Disallow default bitwise assignment.
Foam::triSurfModifier
Definition: triSurfModifier.H:48
Foam::triSurfModifier::patchesAccess
geometricSurfacePatchList & patchesAccess()
access to patches
Definition: triSurfModifierI.H:52
Foam::LongList
Definition: LongList.H:55
Foam::Field
Pre-declare SubField and related Field type.
Definition: Field.H:57
Foam::triSurfModifier::pointsAccess
pointField & pointsAccess()
non-const access to points
Definition: triSurfModifierI.H:37
Foam::triSurfModifier::facetsAccess
LongList< labelledTri > & facetsAccess()
access to facets
Definition: triSurfModifierI.H:42
triSurfModifierI.H
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::triSurfModifier::triSurfModifier
triSurfModifier()
Default construct.
Foam::triSurfModifier::featureEdgesAccess
edgeLongList & featureEdgesAccess()
non-const access to feature edges
Definition: triSurfModifierI.H:47
Foam::List
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Definition: HashTable.H:59
Foam::triSurfModifier::surface_
triSurf & surface_
reference to the surface mesh
Definition: triSurfModifier.H:52
Foam::surface
Definition: surface.H:55
Foam::triSurfModifier::~triSurfModifier
~triSurfModifier()
Definition: triSurfModifier.C:45
Foam::triSurf
Definition: triSurf.H:59