triSurface2DCheck.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  triSurface2DCheck
26 
27 Description
28 
29 
30 SourceFiles
31  triSurface2DCheck.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef triSurface2DCheck_H
36 #define triSurface2DCheck_H
37 
38 #include "triSurf.H"
39 #include "symmTensor.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 /*---------------------------------------------------------------------------*\
47  Class triSurface2DCheck Declaration
48 \*---------------------------------------------------------------------------*/
49 
51 {
52  // Private data
53  //- reference to triSurf
54  const triSurf& surf_;
55 
56  //- covariance matrix
58 
59  // Private member functions
60  //- create covariance matrix
62 
63  //- Disallow default bitwise copy construct
65 
66  //- Disallow default bitwise assignment
67  void operator=(const triSurface2DCheck&);
68 
69 public:
70 
71  // Constructors
72 
73  //- Construct from octree
75 
76  // Destructor
77 
79 
80 
81  // Member Functions
82 
83  //- checks if the surface is a 2D triangulation
84  bool is2DSurface() const;
85 
86  //- create subset containing invalid facets
87  void createSubsets();
88 };
89 
90 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
91 
92 } // End namespace Foam
93 
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95 
96 #endif
97 
98 // ************************************************************************* //
Foam::SymmTensor< scalar >
triSurf.H
Foam::triSurface2DCheck
Definition: triSurface2DCheck.H:49
Foam::triSurface2DCheck::operator=
void operator=(const triSurface2DCheck &)
Disallow default bitwise assignment.
Foam::triSurface2DCheck::covarianceMatrix_
symmTensor covarianceMatrix_
covariance matrix
Definition: triSurface2DCheck.H:56
symmTensor.H
Foam::triSurface2DCheck::createCovarianceMatrix
void createCovarianceMatrix()
create covariance matrix
Definition: triSurface2DCheck.C:39
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::triSurface2DCheck::triSurface2DCheck
triSurface2DCheck(const triSurface2DCheck &)
Disallow default bitwise copy construct.
Foam::triSurface2DCheck::is2DSurface
bool is2DSurface() const
checks if the surface is a 2D triangulation
Definition: triSurface2DCheck.C:70
Foam::triSurface2DCheck::createSubsets
void createSubsets()
create subset containing invalid facets
Definition: triSurface2DCheck.C:130
Foam::surface
Definition: surface.H:55
Foam::triSurf
Definition: triSurf.H:59
Foam::triSurface2DCheck::~triSurface2DCheck
~triSurface2DCheck()
Definition: triSurface2DCheck.C:65
Foam::triSurface2DCheck::surf_
const triSurf & surf_
reference to triSurf
Definition: triSurface2DCheck.H:53