Package hedge :: Package models
[hide private]
[frames] | no frames]

Source Code for Package hedge.models

 1  """Base classes for operators.""" 
 2   
 3  from __future__ import division 
 4   
 5  __copyright__ = "Copyright (C) 2007 Andreas Kloeckner" 
 6   
 7  __license__ = """ 
 8  This program is free software: you can redistribute it and/or modify 
 9  it under the terms of the GNU General Public License as published by 
10  the Free Software Foundation, either version 3 of the License, or 
11  (at your option) any later version. 
12   
13  This program is distributed in the hope that it will be useful, 
14  but WITHOUT ANY WARRANTY; without even the implied warranty of 
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
16  GNU General Public License for more details. 
17   
18  You should have received a copy of the GNU General Public License 
19  along with this program.  If not, see U{http://www.gnu.org/licenses/}. 
20  """ 
21   
22   
23   
24   
25 -class Operator(object):
26 """A base class for Discontinuous Galerkin operators. 27 28 You may derive your own operators from this class, but, at present 29 this class provides no functionality. Its function is merely as 30 documentation, to group related classes together in an inheritance 31 tree. 32 """ 33 pass
34 35 36 37
38 -class TimeDependentOperator(Operator):
39 """A base class for time-dependent Discontinuous Galerkin operators. 40 41 You may derive your own operators from this class, but, at present 42 this class provides no functionality. Its function is merely as 43 documentation, to group related classes together in an inheritance 44 tree. 45 """ 46 pass
47