OpenFOAM: API Guide
v2112
The open source CFD toolbox
eagerGAMGProcAgglomeration.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 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::eagerGAMGProcAgglomeration
28
29
Description
30
'Eager' processor agglomeration of GAMGAgglomerations: at every
31
level agglomerates 'mergeLevels' number of processors onto the
32
minimum processor number.
33
34
SourceFiles
35
eagerGAMGProcAgglomeration.C
36
37
\*---------------------------------------------------------------------------*/
38
39
#ifndef eagerGAMGProcAgglomeration_H
40
#define eagerGAMGProcAgglomeration_H
41
42
#include "
GAMGProcAgglomeration.H
"
43
#include "
DynamicList.H
"
44
45
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46
47
namespace
Foam
48
{
49
50
class
GAMGAgglomeration;
51
52
/*---------------------------------------------------------------------------*\
53
Class eagerGAMGProcAgglomeration Declaration
54
\*---------------------------------------------------------------------------*/
55
56
class
eagerGAMGProcAgglomeration
57
:
58
public
GAMGProcAgglomeration
59
{
60
// Private data
61
62
//- Agglpmeration level
63
const
label mergeLevels_;
64
65
DynamicList<label>
comms_;
66
67
// Private Member Functions
68
69
//- No copy construct
70
eagerGAMGProcAgglomeration
71
(
72
const
eagerGAMGProcAgglomeration
&
73
) =
delete
;
74
75
//- No copy assignment
76
void
operator=(
const
eagerGAMGProcAgglomeration
&) =
delete
;
77
78
79
public
:
80
81
//- Runtime type information
82
TypeName
(
"eager"
);
83
84
85
// Constructors
86
87
//- Construct given agglomerator and controls
88
eagerGAMGProcAgglomeration
89
(
90
GAMGAgglomeration
& agglom,
91
const
dictionary
&
controlDict
92
);
93
94
95
//- Destructor
96
virtual
~eagerGAMGProcAgglomeration
();
97
98
99
// Member Functions
100
101
//- Modify agglomeration. Return true if modified
102
virtual
bool
agglomerate
();
103
104
};
105
106
107
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
108
109
}
// End namespace Foam
110
111
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112
113
#endif
114
115
// ************************************************************************* //
Foam::eagerGAMGProcAgglomeration
'Eager' processor agglomeration of GAMGAgglomerations: at every level agglomerates 'mergeLevels' numb...
Definition:
eagerGAMGProcAgglomeration.H:55
GAMGProcAgglomeration.H
Foam::GAMGAgglomeration
Geometric agglomerated algebraic multigrid agglomeration class.
Definition:
GAMGAgglomeration.H:64
Foam::DynamicList< label >
controlDict
runTime controlDict().readEntry("adjustTimeStep"
Definition:
debug.C:143
Foam::eagerGAMGProcAgglomeration::agglomerate
virtual bool agglomerate()
Modify agglomeration. Return true if modified.
Definition:
eagerGAMGProcAgglomeration.C:78
Foam::dictionary
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Definition:
dictionary.H:123
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::eagerGAMGProcAgglomeration::~eagerGAMGProcAgglomeration
virtual ~eagerGAMGProcAgglomeration()
Destructor.
Definition:
eagerGAMGProcAgglomeration.C:64
Foam::eagerGAMGProcAgglomeration::TypeName
TypeName("eager")
Runtime type information.
DynamicList.H
Foam::GAMGProcAgglomeration
Processor agglomeration of GAMGAgglomerations.
Definition:
GAMGProcAgglomeration.H:54
src
OpenFOAM
matrices
lduMatrix
solvers
GAMG
GAMGProcAgglomerations
eagerGAMGProcAgglomeration
eagerGAMGProcAgglomeration.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.