All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fvmSup.H
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) 2011-2022 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 InNamespace
25  Foam::fvm
26 
27 Description
28  Calculate the matrix for implicit and explicit sources.
29 
30 SourceFiles
31  fvmSup.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef fvmSup_H
36 #define fvmSup_H
37 
38 #include "volFieldsFwd.H"
39 #include "zeroField.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 template<class Type> class fvMatrix;
47 
48 /*---------------------------------------------------------------------------*\
49  Namespace fvm functions Declaration
50 \*---------------------------------------------------------------------------*/
51 
52 namespace fvm
53 {
54  // Explicit source
55 
56  template<class Type>
58  (
60  const VolField<Type>&
61  );
62 
63  template<class Type>
65  (
67  const VolField<Type>&
68  );
69 
70  template<class Type>
72  (
73  const tmp<VolField<Type>>&,
74  const VolField<Type>&
75  );
76 
77  template<class Type>
79  (
80  const zero&,
81  const VolField<Type>&
82  );
83 
84 
85  // Implicit source
86 
87  template<class Type>
89  (
91  const VolField<Type>&
92  );
93 
94  template<class Type>
96  (
98  const VolField<Type>&
99  );
100 
101  template<class Type>
103  (
104  const tmp<volScalarField>&,
105  const VolField<Type>&
106  );
107 
108 
109  template<class Type>
111  (
112  const dimensionedScalar&,
113  const VolField<Type>&
114  );
115 
116 
117  template<class Type>
119  (
120  const zero&,
121  const VolField<Type>&
122  );
123 
124 
125  // Implicit/Explicit source depending on sign of coefficient
126 
127  template<class Type>
129  (
131  const VolField<Type>&
132  );
133 
134  template<class Type>
136  (
138  const VolField<Type>&
139  );
140 
141  template<class Type>
143  (
144  const tmp<volScalarField>&,
145  const VolField<Type>&
146  );
147 
148  template<class Type>
150  (
151  const zero&,
152  const VolField<Type>&
153  );
154 
155 
156  // Explicit and implicit sources provided as a pair
157 
158  template<class Type>
160  (
162  const VolField<Type>&
163  );
164 }
165 
166 
167 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
168 
169 } // End namespace Foam
170 
171 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
172 
173 #ifdef NoRepository
174  #include "fvmSup.C"
175 #endif
176 
177 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
178 
179 #endif
180 
181 // ************************************************************************* //
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
An ordered pair of two objects of type <T> with first() and second() elements.
Definition: Pair.H:65
A class for managing temporary objects.
Definition: tmp.H:55
A class representing the concept of a field of 0 used to avoid unnecessary manipulations for objects ...
Definition: zeroField.H:53
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Definition: zero.H:50
tmp< fvMatrix< Type > > Su(const DimensionedField< Type, volMesh > &, const VolField< Type > &)
tmp< fvMatrix< Type > > S(const Pair< tmp< volScalarField::Internal >> &, const VolField< Type > &)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const VolField< Type > &)
Namespace for OpenFOAM.