OpenFOAM
13
The OpenFOAM Foundation
none_fvMeshTopoChanger.C
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration | Website: https://openfoam.org
5
\\ / A nd | Copyright (C) 2021-2024 OpenFOAM Foundation
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
License
9
This file is part of OpenFOAM.
10
11
OpenFOAM is free software: you can redistribute it and/or modify it
12
under the terms of the GNU General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
OpenFOAM 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 OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23
24
\*---------------------------------------------------------------------------*/
25
26
#include "
none_fvMeshTopoChanger.H
"
27
#include "
addToRunTimeSelectionTable.H
"
28
29
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
30
31
namespace
Foam
32
{
33
namespace
fvMeshTopoChangers
34
{
35
defineTypeNameAndDebug
(
none
, 0);
36
addToRunTimeSelectionTable
(
fvMeshTopoChanger
,
none
,
fvMesh
);
37
}
38
}
39
40
41
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
42
43
Foam::fvMeshTopoChangers::none::none
(
fvMesh
&
mesh
)
44
:
45
fvMeshTopoChanger
(
mesh
)
46
{}
47
48
49
Foam::fvMeshTopoChangers::none::none
(
fvMesh
&
mesh
,
const
dictionary
&
dict
)
50
:
51
fvMeshTopoChanger
(
mesh
)
52
{}
53
54
55
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
56
57
Foam::fvMeshTopoChangers::none::~none
()
58
{}
59
60
61
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
62
63
bool
Foam::fvMeshTopoChangers::none::update
()
64
{
65
return
false
;
66
}
67
68
69
// ************************************************************************* //
addToRunTimeSelectionTable.H
Macros for easy insertion into run-time selection tables.
Foam::dictionary
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Definition:
dictionary.H:162
Foam::fvMeshTopoChanger
Abstract base class for fvMesh topology changers.
Definition:
fvMeshTopoChanger.H:54
Foam::fvMeshTopoChangers::none
Dummy fvMeshTopoChanger which does not move the mesh points.
Definition:
none_fvMeshTopoChanger.H:53
Foam::fvMeshTopoChangers::none::none
none(fvMesh &mesh)
Construct from fvMesh.
Definition:
none_fvMeshTopoChanger.C:43
Foam::fvMeshTopoChangers::none::update
virtual bool update()
Dummy update function which does not change the mesh.
Definition:
none_fvMeshTopoChanger.C:63
Foam::fvMeshTopoChangers::none::~none
~none()
Destructor.
Definition:
none_fvMeshTopoChanger.C:57
Foam::fvMesh
Mesh data needed to do the Finite Volume discretisation.
Definition:
fvMesh.H:96
mesh
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
Foam::fvMeshTopoChangers::defineTypeNameAndDebug
defineTypeNameAndDebug(list, 0)
Foam::fvMeshTopoChangers::addToRunTimeSelectionTable
addToRunTimeSelectionTable(fvMeshTopoChanger, list, fvMesh)
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.H:214
none_fvMeshTopoChanger.H
dict
dictionary dict
Definition:
searchingEngine.H:14
src
finiteVolume
fvMesh
fvMeshTopoChangers
none
none_fvMeshTopoChanger.C
Generated by
1.9.1