OpenFOAM: API Guide
v2006
The open source CFD toolbox
staticFvMesh.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) 2011-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::staticFvMesh
28
29
Description
30
Foam::staticFvMesh
31
32
SourceFiles
33
staticFvMesh.C
34
35
\*---------------------------------------------------------------------------*/
36
37
#ifndef staticFvMesh_H
38
#define staticFvMesh_H
39
40
#include "
dynamicFvMesh.H
"
41
42
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43
44
namespace
Foam
45
{
46
47
/*---------------------------------------------------------------------------*\
48
Class staticFvMesh Declaration
49
\*---------------------------------------------------------------------------*/
50
51
class
staticFvMesh
52
:
53
public
dynamicFvMesh
54
{
55
// Private Member Functions
56
57
//- No copy construct
58
staticFvMesh
(
const
staticFvMesh
&) =
delete
;
59
60
//- No copy assignment
61
void
operator=(
const
staticFvMesh
&) =
delete
;
62
63
64
public
:
65
66
//- Runtime type information
67
TypeName
(
"staticFvMesh"
);
68
69
70
// Constructors
71
72
//- Construct from IOobject
73
staticFvMesh
(
const
IOobject
& io);
74
75
//- Construct from components without boundary.
76
// Boundary is added using addFvPatches() member function
77
staticFvMesh
78
(
79
const
IOobject
& io,
80
pointField
&&
points
,
81
faceList
&&
faces
,
82
labelList
&& allOwner,
83
labelList
&& allNeighbour,
84
const
bool
syncPar =
true
85
);
86
87
88
//- Destructor
89
~staticFvMesh
() =
default
;
90
91
92
// Member Functions
93
94
//- Is mesh dynamic
95
virtual
bool
dynamic
()
const
96
{
97
return
false
;
98
}
99
100
//- Dummy update function which does not change the mesh
101
virtual
bool
update
();
102
};
103
104
105
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106
107
}
// End namespace Foam
108
109
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110
111
#endif
112
113
// ************************************************************************* //
Foam::polyMesh::points
virtual const pointField & points() const
Return raw points.
Definition:
polyMesh.C:1038
Foam::IOobject
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Definition:
IOobject.H:104
Foam::staticFvMesh
Foam::staticFvMesh.
Definition:
staticFvMesh.H:50
Foam::dynamicFvMesh
Abstract base class for geometry and/or topology changing fvMesh.
Definition:
dynamicFvMesh.H:78
Foam::Field< vector >
Foam::staticFvMesh::~staticFvMesh
~staticFvMesh()=default
Destructor.
Foam::staticFvMesh::TypeName
TypeName("staticFvMesh")
Runtime type information.
Foam::staticFvMesh::dynamic
virtual bool dynamic() const
Is mesh dynamic.
Definition:
staticFvMesh.H:94
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::polyMesh::faces
virtual const faceList & faces() const
Return raw faces.
Definition:
polyMesh.C:1063
Foam::List< face >
dynamicFvMesh.H
Foam::staticFvMesh::update
virtual bool update()
Dummy update function which does not change the mesh.
Definition:
staticFvMesh.C:72
src
dynamicFvMesh
staticFvMesh
staticFvMesh.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.