steadyStateD2dt2Scheme.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 Class
25  Foam::fv::steadyStateD2dt2Scheme
26 
27 Description
28  SteadyState d2dt2 which returns 0.
29 
30 SourceFiles
31  steadyStateD2dt2Scheme.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef steadyStateD2dt2Scheme_H
36 #define steadyStateD2dt2Scheme_H
37 
38 #include "d2dt2Scheme.H"
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
42 namespace Foam
43 {
44 
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 
47 namespace fv
48 {
49 
50 /*---------------------------------------------------------------------------*\
51  Class steadyStateD2dt2Scheme Declaration
52 \*---------------------------------------------------------------------------*/
53 
54 template<class Type>
56 :
57  public fv::d2dt2Scheme<Type>
58 {
59 public:
60 
61  //- Runtime type information
62  TypeName("steadyState");
63 
64 
65  // Constructors
66 
67  //- Construct from mesh
69  :
70  d2dt2Scheme<Type>(mesh)
71  {}
72 
73  //- Construct from mesh and Istream
75  :
76  d2dt2Scheme<Type>(mesh, is)
77  {}
78 
79  //- Disallow default bitwise copy construction
81 
82 
83  // Member Functions
84 
85  //- Return mesh reference
86  const fvMesh& mesh() const
87  {
89  }
90 
92  (
93  const VolField<Type>&
94  );
95 
97  (
98  const volScalarField&,
99  const VolField<Type>&
100  );
101 
103  (
104  const VolField<Type>&
105  );
106 
108  (
109  const dimensionedScalar&,
110  const VolField<Type>&
111  );
112 
114  (
115  const volScalarField&,
116  const VolField<Type>&
117  );
118 
119 
120  // Member Operators
121 
122  //- Disallow default bitwise assignment
123  void operator=(const steadyStateD2dt2Scheme&) = delete;
124 };
125 
126 
127 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 
129 } // End namespace fv
130 
131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
132 
133 } // End namespace Foam
134 
135 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
136 
137 #ifdef NoRepository
138  #include "steadyStateD2dt2Scheme.C"
139 #endif
140 
141 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
142 
143 #endif
144 
145 // ************************************************************************* //
Generic GeometricField class.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition: Istream.H:60
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:99
Abstract base class for d2dt2 schemes.
Definition: d2dt2Scheme.H:67
const fvMesh & mesh() const
Return mesh reference.
Definition: d2dt2Scheme.H:129
SteadyState d2dt2 which returns 0.
steadyStateD2dt2Scheme(const fvMesh &mesh)
Construct from mesh.
void operator=(const steadyStateD2dt2Scheme &)=delete
Disallow default bitwise assignment.
const fvMesh & mesh() const
Return mesh reference.
tmp< fvMatrix< Type > > fvmD2dt2(const VolField< Type > &)
TypeName("steadyState")
Runtime type information.
tmp< VolField< Type > > fvcD2dt2(const VolField< Type > &)
A class for managing temporary objects.
Definition: tmp.H:55
Namespace for OpenFOAM.
labelList fv(nPoints)