extendedFeatureEdgeMeshFormat.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2013-2017 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::fileFormats::extendedFeatureEdgeMeshFormat
28 
29 Description
30  Provide a means of reading extendedFeatureEdgeMesh as featureEdgeMesh
31 
32 SourceFiles
33  extendedFeatureEdgeMeshFormat.C
34 
35 \*---------------------------------------------------------------------------*/
36 
37 #ifndef extendedFeatureEdgeMeshFormat_H
38 #define extendedFeatureEdgeMeshFormat_H
39 
40 #include "edgeMesh.H"
41 
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 
44 namespace Foam
45 {
46 namespace fileFormats
47 {
48 
49 /*---------------------------------------------------------------------------*\
50  Class extendedFeatureEdgeMeshFormat Declaration
51 \*---------------------------------------------------------------------------*/
52 
54 :
55  public edgeMesh
56 {
57  // Private Member Functions
58 
59  //- No copy construct
61  (
63  ) = delete;
64 
65  //- No copy assignment
66  void operator=(const extendedFeatureEdgeMeshFormat&) = delete;
67 
68 
69 public:
70 
71  // Constructors
72 
73  //- Construct from file name
75 
76 
77  // Selectors
78 
79  //- Read file and return surface
80  static autoPtr<edgeMesh> New(const fileName& name)
81  {
82  return
85  }
86 
87 
88  //- Destructor
89  virtual ~extendedFeatureEdgeMeshFormat() = default;
90 
91 
92  // Member Functions
93 
94  //- Read from file
95  virtual bool read(const fileName&);
96 
97 };
98 
99 
100 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
101 
102 } // End namespace fileFormats
103 } // End namespace Foam
104 
105 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 
107 #endif
108 
109 // ************************************************************************* //
Foam::fileName
A class for handling file names.
Definition: fileName.H:69
Foam::fileFormats::extendedFeatureEdgeMeshFormat::New
static autoPtr< edgeMesh > New(const fileName &name)
Read file and return surface.
Definition: extendedFeatureEdgeMeshFormat.H:79
Foam::fileFormats::extendedFeatureEdgeMeshFormat
Provide a means of reading extendedFeatureEdgeMesh as featureEdgeMesh.
Definition: extendedFeatureEdgeMeshFormat.H:52
edgeMesh.H
Foam::name
word name(const complex &c)
Return string representation of complex.
Definition: complex.C:76
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: HashPtrTable.H:53
Foam::fileFormats::extendedFeatureEdgeMeshFormat::read
virtual bool read(const fileName &)
Read from file.
Definition: extendedFeatureEdgeMeshFormat.C:46
Foam::fileFormats::extendedFeatureEdgeMeshFormat::~extendedFeatureEdgeMeshFormat
virtual ~extendedFeatureEdgeMeshFormat()=default
Destructor.
Foam::edgeMesh
Mesh data needed to do the Finite Area discretisation.
Definition: edgeFaMesh.H:52