fvSolution.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) 2011 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::fvSolution
28 
29 Description
30  Selector class for finite volume solution solution.
31  fvMesh is derived from fvSolution so that all fields have access to the
32  fvSolution from the mesh reference they hold.
33 
34 \*---------------------------------------------------------------------------*/
35 
36 #ifndef fvSolution_H
37 #define fvSolution_H
38 
39 #include "solution.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 /*---------------------------------------------------------------------------*\
47  Class fvSolution Declaration
48 \*---------------------------------------------------------------------------*/
49 
50 class fvSolution
51 :
52  public solution
53 {
54  // Private Member Functions
55 
56  //- No copy construct
57  fvSolution(const fvSolution&) = delete;
58 
59  //- No copy assignment
60  void operator=(const fvSolution&) = delete;
61 
62 
63 public:
64 
65  // Constructors
66 
67  //- Construct for objectRegistry
68  fvSolution(const objectRegistry& obr)
69  :
70  solution(obr, "fvSolution")
71  {}
72 };
73 
74 
75 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
76 
77 } // End namespace Foam
78 
79 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
80 
81 #endif
82 
83 // ************************************************************************* //
Foam::solution
Selector class for relaxation factors, solver type and solution.
Definition: solution.H:50
Foam::objectRegistry
Registry of regIOobjects.
Definition: objectRegistry.H:60
Foam::fvSolution::fvSolution
fvSolution(const objectRegistry &obr)
Construct for objectRegistry.
Definition: fvSolution.H:67
Foam::fvSolution
Selector class for finite volume solution solution. fvMesh is derived from fvSolution so that all fie...
Definition: fvSolution.H:49
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
solution.H