FreeFOAM The Cross-Platform CFD Toolkit
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 
27 
28 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
29 
30 template<class Type>
32 {
33  return name_;
34 }
35 
36 
37 template<class Type>
39 {
40  return mesh_;
41 }
42 
43 
44 template<class Type>
46 {
47  return active_;
48 }
49 
50 
51 template<class Type>
53 {
54  return timeStart_;
55 }
56 
57 
58 template<class Type>
60 {
61  return duration_;
62 }
63 
64 
65 template<class Type>
67 {
68  return timeStart_ + duration_;
69 }
70 
71 
72 template<class Type>
75 {
76  return volumeMode_;
77 }
78 
79 
80 template<class Type>
81 inline const typename Foam::TimeActivatedExplicitSource<Type>::
82 selectionModeType&
84 {
85  return selectionMode_;
86 }
87 
88 
89 template<class Type>
90 inline const Foam::List<Foam::point>&
92 {
93  return points_;
94 }
95 
96 
97 template<class Type>
98 inline const Foam::word&
100 {
101  return cellSetName_;
102 }
103 
104 
105 template<class Type>
107 {
108  return V_;
109 }
110 
111 
112 template<class Type>
113 inline const Foam::labelList&
115 {
116  return cells_;
117 }
118 
119 
120 template<class Type>
122 fieldNameValuePair>&
124 {
125  return fieldData_;
126 }
127 
128 
129 template<class Type>
130 inline const Foam::labelList&
132 {
133  return fieldIds_;
134 }
135 
136 
137 template<class Type>
139 {
140  return name_;
141 }
142 
143 
144 template<class Type>
146 {
147  return active_;
148 }
149 
150 
151 template<class Type>
153 {
154  return timeStart_;
155 }
156 
157 
158 template<class Type>
160 {
161  return duration_;
162 }
163 
164 
165 template<class Type>
168 {
169  return volumeMode_;
170 }
171 
172 
173 template<class Type>
176 {
177  return selectionMode_;
178 }
179 
180 
181 template<class Type>
184 {
185  return points_;
186 }
187 
188 
189 template<class Type>
191 {
192  return cellSetName_;
193 }
194 
195 
196 template<class Type>
198 {
199  return V_;
200 }
201 
202 
203 template<class Type>
205 {
206  return cells_;
207 }
208 
209 
210 template<class Type>
213 {
214  return fieldData_;
215 }
216 
217 
218 template<class Type>
220 {
221  return fieldIds_;
222 }
223 
224 
225 // ************************ vim: set sw=4 sts=4 et: ************************ //