OpenFOAM
4.1
The OpenFOAM Foundation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
thermophysicalModels
specie
reaction
reactionRate
infiniteReactionRate
infiniteReactionRateI.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 | Copyright (C) 2011-2012 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
\*---------------------------------------------------------------------------*/
25
26
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
27
28
inline
Foam::infiniteReactionRate::infiniteReactionRate
()
29
{}
30
31
32
inline
Foam::infiniteReactionRate::infiniteReactionRate
33
(
34
const
speciesTable
&,
35
const
dictionary
&
36
)
37
{}
38
39
40
inline
void
Foam::infiniteReactionRate::write
(
Ostream
& os)
const
41
{}
42
43
44
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
45
46
inline
Foam::scalar Foam::infiniteReactionRate::operator()
47
(
48
const
scalar
p
,
49
const
scalar,
50
const
scalarField
&
51
)
const
52
{
53
return
(1);
54
}
55
56
57
inline
Foam::Ostream
& Foam::operator<<
58
(
59
Ostream
& os,
60
const
infiniteReactionRate
& rr
61
)
62
{
63
os <<
token::BEGIN_LIST
64
<<
token::END_LIST
;
65
return
os;
66
}
67
68
69
// ************************************************************************* //
Foam::dictionary
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition:
dictionary.H:137
Foam::token::END_LIST
Definition:
token.H:103
Foam::infiniteReactionRate::write
void write(Ostream &os) const
Write to stream.
Definition:
infiniteReactionRateI.H:40
Foam::token::BEGIN_LIST
Definition:
token.H:102
Foam::Field< scalar >
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Definition:
Ostream.H:53
Foam::infiniteReactionRate::infiniteReactionRate
infiniteReactionRate()
Null constructor.
Definition:
infiniteReactionRateI.H:28
Foam::hashedWordList
A wordList with hashed indices for faster lookup by name.
Definition:
hashedWordList.H:57
Foam::infiniteReactionRate
infinite reaction rate.
Definition:
infiniteReactionRate.H:56
p
volScalarField & p
Definition:
createFieldRefs.H:4
Generated by
1.8.11