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-2019 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  (
94  );
95 
97  (
98  const volScalarField&,
100  );
101 
103  (
105  );
106 
108  (
109  const dimensionedScalar&,
111  );
112 
114  (
115  const volScalarField&,
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 // ************************************************************************* //
TypeName("steadyState")
Runtime type information.
Abstract base class for d2dt2 schemes.
Definition: d2dt2Scheme.H:64
tmp< fvMatrix< Type > > fvmD2dt2(const GeometricField< Type, fvPatchField, volMesh > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Definition: Istream.H:57
Generic GeometricField class.
labelList fv(nPoints)
const fvMesh & mesh() const
Return mesh reference.
Definition: d2dt2Scheme.H:129
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcD2dt2(const GeometricField< Type, fvPatchField, volMesh > &)
steadyStateD2dt2Scheme(const fvMesh &mesh)
Construct from mesh.
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:78
void operator=(const steadyStateD2dt2Scheme &)=delete
Disallow default bitwise assignment.
A class for managing temporary objects.
Definition: PtrList.H:53
const fvMesh & mesh() const
Return mesh reference.
SteadyState d2dt2 which returns 0.
Namespace for OpenFOAM.