Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / src / thermophysicalModels / specie / reaction / reactionRate / LandauTellerReactionRate / LandauTellerReactionRate.H
blob690e148414b71a9e332347bd0ccdd80fc3c4d649
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     | Version:     3.2
5     \\  /    A nd           | Web:         http://www.foam-extend.org
6      \\/     M anipulation  | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation, either version 3 of the License, or (at your
14     option) any later version.
16     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 Class
25     Foam::LandauTellerReactionRate
27 Description
28     Landau-Teller reaction rate.
30 SourceFiles
31     LandauTellerReactionRateI.H
33 \*---------------------------------------------------------------------------*/
35 #ifndef LandauTellerReactionRate_H
36 #define LandauTellerReactionRate_H
38 #include "scalarField.H"
39 #include "typeInfo.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 namespace Foam
46 /*---------------------------------------------------------------------------*\
47                            Class LandauTellerReactionRate Declaration
48 \*---------------------------------------------------------------------------*/
50 class LandauTellerReactionRate
52     // Private data
54         scalar A_;
55         scalar beta_;
56         scalar Ta_;
57         scalar B_;
58         scalar C_;
60 public:
62     // Constructors
64         //- Construct from components
65         inline LandauTellerReactionRate
66         (
67             const scalar A,
68             const scalar beta,
69             const scalar Ta,
70             const scalar B,
71             const scalar C
72         );
74         //- Construct from Istream
75         inline LandauTellerReactionRate
76         (
77             const speciesTable& species,
78             Istream& is
79         );
82     // Member Functions
84         //- Return the type name
85         static word type()
86         {
87             return "LandauTeller";
88         }
90         inline scalar operator()
91         (
92             const scalar T,
93             const scalar p,
94             const scalarField& c
95         ) const;
98     // Ostream Operator
100         inline friend Ostream& operator<<
101         (
102             Ostream&,
103             const LandauTellerReactionRate&
104         );
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 } // End namespace Foam
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
114 #include "LandauTellerReactionRateI.H"
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118 #endif
120 // ************************************************************************* //