Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
finiteVolume
cfdTools
general
fieldSources
timeActivatedExplicitSource
TimeActivatedExplicitSourceI.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) 2010-2010 OpenCFD Ltd.
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
#include "
TimeActivatedExplicitSource_.H
"
27
28
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
29
30
template
<
class
Type>
31
inline
const
Foam::word
&
Foam::TimeActivatedExplicitSource<Type>::name
()
const
32
{
33
return
name_;
34
}
35
36
37
template
<
class
Type>
38
inline
const
Foam::fvMesh
&
Foam::TimeActivatedExplicitSource<Type>::mesh
()
const
39
{
40
return
mesh_;
41
}
42
43
44
template
<
class
Type>
45
inline
bool
Foam::TimeActivatedExplicitSource<Type>::active
()
const
46
{
47
return
active_;
48
}
49
50
51
template
<
class
Type>
52
inline
Foam::scalar
Foam::TimeActivatedExplicitSource<Type>::timeStart
()
const
53
{
54
return
timeStart_;
55
}
56
57
58
template
<
class
Type>
59
inline
Foam::scalar
Foam::TimeActivatedExplicitSource<Type>::duration
()
const
60
{
61
return
duration_;
62
}
63
64
65
template
<
class
Type>
66
inline
Foam::scalar
Foam::TimeActivatedExplicitSource<Type>::timeEnd
()
const
67
{
68
return
timeStart_ + duration_;
69
}
70
71
72
template
<
class
Type>
73
inline
const
typename
Foam::TimeActivatedExplicitSource<Type>::volumeModeType
&
74
Foam::TimeActivatedExplicitSource<Type>::volumeMode
()
const
75
{
76
return
volumeMode_;
77
}
78
79
80
template
<
class
Type>
81
inline
const
typename
Foam::TimeActivatedExplicitSource<Type>
::
82
selectionModeType&
83
Foam::TimeActivatedExplicitSource<Type>::selectionMode
()
const
84
{
85
return
selectionMode_;
86
}
87
88
89
template
<
class
Type>
90
inline
const
Foam::List<Foam::point>
&
91
Foam::TimeActivatedExplicitSource<Type>::points
()
const
92
{
93
return
points_;
94
}
95
96
97
template
<
class
Type>
98
inline
const
Foam::word
&
99
Foam::TimeActivatedExplicitSource<Type>::cellSetName
()
const
100
{
101
return
cellSetName_;
102
}
103
104
105
template
<
class
Type>
106
inline
Foam::scalar
Foam::TimeActivatedExplicitSource<Type>::V
()
const
107
{
108
return
V_;
109
}
110
111
112
template
<
class
Type>
113
inline
const
Foam::labelList
&
114
Foam::TimeActivatedExplicitSource<Type>::cells
()
const
115
{
116
return
cells_;
117
}
118
119
120
template
<
class
Type>
121
inline
const
Foam::List<typename Foam::TimeActivatedExplicitSource<Type>
::
122
fieldNameValuePair>&
123
Foam::TimeActivatedExplicitSource<Type>::fieldData
()
const
124
{
125
return
fieldData_;
126
}
127
128
129
template
<
class
Type>
130
inline
const
Foam::labelList
&
131
Foam::TimeActivatedExplicitSource<Type>::fieldIds
()
const
132
{
133
return
fieldIds_;
134
}
135
136
137
template
<
class
Type>
138
inline
Foam::word
&
Foam::TimeActivatedExplicitSource<Type>::name
()
139
{
140
return
name_;
141
}
142
143
144
template
<
class
Type>
145
inline
bool
&
Foam::TimeActivatedExplicitSource<Type>::active
()
146
{
147
return
active_;
148
}
149
150
151
template
<
class
Type>
152
inline
Foam::scalar&
Foam::TimeActivatedExplicitSource<Type>::timeStart
()
153
{
154
return
timeStart_;
155
}
156
157
158
template
<
class
Type>
159
inline
Foam::scalar&
Foam::TimeActivatedExplicitSource<Type>::duration
()
160
{
161
return
duration_;
162
}
163
164
165
template
<
class
Type>
166
inline
typename
Foam::TimeActivatedExplicitSource<Type>::volumeModeType
&
167
Foam::TimeActivatedExplicitSource<Type>::volumeMode
()
168
{
169
return
volumeMode_;
170
}
171
172
173
template
<
class
Type>
174
inline
typename
Foam::TimeActivatedExplicitSource<Type>::selectionModeType
&
175
Foam::TimeActivatedExplicitSource<Type>::selectionMode
()
176
{
177
return
selectionMode_;
178
}
179
180
181
template
<
class
Type>
182
inline
Foam::List<Foam::point>
&
183
Foam::TimeActivatedExplicitSource<Type>::points
()
184
{
185
return
points_;
186
}
187
188
189
template
<
class
Type>
190
inline
Foam::word
&
Foam::TimeActivatedExplicitSource<Type>::cellSetName
()
191
{
192
return
cellSetName_;
193
}
194
195
196
template
<
class
Type>
197
inline
Foam::scalar&
Foam::TimeActivatedExplicitSource<Type>::V
()
198
{
199
return
V_;
200
}
201
202
203
template
<
class
Type>
204
inline
Foam::labelList
&
Foam::TimeActivatedExplicitSource<Type>::cells
()
205
{
206
return
cells_;
207
}
208
209
210
template
<
class
Type>
211
inline
Foam::List<typename Foam::TimeActivatedExplicitSource<Type>::fieldNameValuePair
>&
212
Foam::TimeActivatedExplicitSource<Type>::fieldData
()
213
{
214
return
fieldData_;
215
}
216
217
218
template
<
class
Type>
219
inline
Foam::labelList
&
Foam::TimeActivatedExplicitSource<Type>::fieldIds
()
220
{
221
return
fieldIds_;
222
}
223
224
225
// ************************ vim: set sw=4 sts=4 et: ************************ //