1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
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.
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
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/>.
24 \*---------------------------------------------------------------------------*/
26 #include "TimeActivatedExplicitSource.H"
28 // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
31 inline const Foam::word& Foam::TimeActivatedExplicitSource<Type>::name() const
38 inline const Foam::fvMesh& Foam::TimeActivatedExplicitSource<Type>::mesh() const
45 inline bool Foam::TimeActivatedExplicitSource<Type>::active() const
52 inline Foam::scalar Foam::TimeActivatedExplicitSource<Type>::timeStart() const
59 inline Foam::scalar Foam::TimeActivatedExplicitSource<Type>::duration() const
66 inline Foam::scalar Foam::TimeActivatedExplicitSource<Type>::timeEnd() const
68 return timeStart_ + duration_;
73 inline const typename Foam::TimeActivatedExplicitSource<Type>::volumeModeType&
74 Foam::TimeActivatedExplicitSource<Type>::volumeMode() const
81 inline const typename Foam::TimeActivatedExplicitSource<Type>::
83 Foam::TimeActivatedExplicitSource<Type>::selectionMode() const
85 return selectionMode_;
90 inline const Foam::List<Foam::point>&
91 Foam::TimeActivatedExplicitSource<Type>::points() const
98 inline const Foam::word&
99 Foam::TimeActivatedExplicitSource<Type>::cellSetName() const
106 inline Foam::scalar Foam::TimeActivatedExplicitSource<Type>::V() const
113 inline const Foam::labelList&
114 Foam::TimeActivatedExplicitSource<Type>::cells() const
121 inline const Foam::List<typename Foam::TimeActivatedExplicitSource<Type>::
123 Foam::TimeActivatedExplicitSource<Type>::fieldData() const
130 inline const Foam::labelList&
131 Foam::TimeActivatedExplicitSource<Type>::fieldIds() const
138 inline Foam::word& Foam::TimeActivatedExplicitSource<Type>::name()
145 inline bool& Foam::TimeActivatedExplicitSource<Type>::active()
152 inline Foam::scalar& Foam::TimeActivatedExplicitSource<Type>::timeStart()
159 inline Foam::scalar& Foam::TimeActivatedExplicitSource<Type>::duration()
166 inline typename Foam::TimeActivatedExplicitSource<Type>::volumeModeType&
167 Foam::TimeActivatedExplicitSource<Type>::volumeMode()
174 inline typename Foam::TimeActivatedExplicitSource<Type>::selectionModeType&
175 Foam::TimeActivatedExplicitSource<Type>::selectionMode()
177 return selectionMode_;
182 inline Foam::List<Foam::point>&
183 Foam::TimeActivatedExplicitSource<Type>::points()
190 inline Foam::word& Foam::TimeActivatedExplicitSource<Type>::cellSetName()
197 inline Foam::scalar& Foam::TimeActivatedExplicitSource<Type>::V()
204 inline Foam::labelList& Foam::TimeActivatedExplicitSource<Type>::cells()
213 typename Foam::TimeActivatedExplicitSource<Type>::fieldNameValuePair
215 Foam::TimeActivatedExplicitSource<Type>::fieldData()
222 inline Foam::labelList& Foam::TimeActivatedExplicitSource<Type>::fieldIds()
228 // ************************************************************************* //