polyMeshGenModifierAddCellByCell.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  polyMeshGenModifierAddCellByCell
26 
27 Description
28  Modifier for polyMeshGen
29 
30 SourceFiles
31  polyMeshGenModifierAddCellByCell.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef polyMeshGenModifierAddCellByCell_H
36 #define polyMeshGenModifierAddCellByCell_H
37 
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39 
40 #include "polyMeshGenModifier.H"
41 
42 namespace Foam
43 {
44 
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 
48 : public polyMeshGenModifier
49 {
50  // Private data
51  //- number of faces
54 
55  //- number of cells
58 
59 public:
60 
61  // Constructors
62  //- Construct from the reference to the mesh
64 
65  // Destructor
67 
68  // Member functions
69  //- add a single cell (vertices must be added);
70  void addCell(const faceList& cell);
71 };
72 
73 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
74 
75 } // End namespace Foam
76 
77 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
78 
79 #endif
80 
81 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
polyMeshGenModifier.H
Foam::polyMeshGen
Definition: polyMeshGen.H:46
Foam::polyMeshGenModifierAddCellByCell::nCells_
label nCells_
number of cells
Definition: polyMeshGenModifierAddCellByCell.H:55
Foam::LongList
Definition: LongList.H:55
Foam::label
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
Foam::polyMeshGenModifierAddCellByCell::nFaces_
label nFaces_
number of faces
Definition: polyMeshGenModifierAddCellByCell.H:51
Foam::polyMeshGenModifierAddCellByCell::polyMeshGenModifierAddCellByCell
polyMeshGenModifierAddCellByCell(polyMeshGen &mesh)
Construct from the reference to the mesh.
Definition: polyMeshGenModifierAddCellByCell.C:37
Foam::polyMeshGenModifierAddCellByCell
Definition: polyMeshGenModifierAddCellByCell.H:46
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
Foam::polyMeshGenModifier
Definition: polyMeshGenModifier.H:52
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::polyMeshGenModifierAddCellByCell::~polyMeshGenModifierAddCellByCell
~polyMeshGenModifierAddCellByCell()
Definition: polyMeshGenModifierAddCellByCell.C:58
Foam::polyMeshGenModifierAddCellByCell::newCells_
LongList< cell > newCells_
Definition: polyMeshGenModifierAddCellByCell.H:56
Foam::polyMeshGenModifierAddCellByCell::newFaces_
LongList< face > newFaces_
Definition: polyMeshGenModifierAddCellByCell.H:52
Foam::polyMeshGenModifierAddCellByCell::addCell
void addCell(const faceList &cell)
add a single cell (vertices must be added);
Definition: polyMeshGenModifierAddCellByCell.C:73
Foam::cell
A cell is defined as a list of faces with extra functionality.
Definition: cell.H:56