/[escript]/trunk/escript/py_src/flows.py
ViewVC logotype

Diff of /trunk/escript/py_src/flows.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1673 by gross, Thu Jul 24 22:28:50 2008 UTC revision 1841 by gross, Fri Oct 3 03:57:52 2008 UTC
# Line 1  Line 1 
1  # $Id:$  
2  #  ########################################################
 #######################################################  
 #  
 #       Copyright 2008 by University of Queensland  
3  #  #
4  #                http://esscc.uq.edu.au  # Copyright (c) 2003-2008 by University of Queensland
5  #        Primary Business: Queensland, Australia  # Earth Systems Science Computational Center (ESSCC)
6  #  Licensed under the Open Software License version 3.0  # http://www.uq.edu.au/esscc
 #     http://www.opensource.org/licenses/osl-3.0.php  
7  #  #
8  #######################################################  # Primary Business: Queensland, Australia
9    # Licensed under the Open Software License version 3.0
10    # http://www.opensource.org/licenses/osl-3.0.php
11  #  #
12    ########################################################
13    
14    __copyright__="""Copyright (c) 2003-2008 by University of Queensland
15    Earth Systems Science Computational Center (ESSCC)
16    http://www.uq.edu.au/esscc
17    Primary Business: Queensland, Australia"""
18    __license__="""Licensed under the Open Software License version 3.0
19    http://www.opensource.org/licenses/osl-3.0.php"""
20    __url__="http://www.uq.edu.au/esscc/escript-finley"
21    
22  """  """
23  Some models for flow  Some models for flow
# Line 24  Some models for flow Line 31  Some models for flow
31  """  """
32    
33  __author__="Lutz Gross, l.gross@uq.edu.au"  __author__="Lutz Gross, l.gross@uq.edu.au"
 __copyright__="""  Copyright (c) 2008 by ACcESS MNRF  
                     http://www.access.edu.au  
                 Primary Business: Queensland, Australia"""  
 __license__="""Licensed under the Open Software License version 3.0  
              http://www.opensource.org/licenses/osl-3.0.php"""  
 __url__="http://www.iservo.edu.au/esys"  
 __version__="$Revision:$"  
 __date__="$Date:$"  
34    
35  from escript import *  from escript import *
36  import util  import util
# Line 72  class StokesProblemCartesian_DC(Homogene Line 71  class StokesProblemCartesian_DC(Homogene
71    
72        def initialize(self,f=Data(),fixed_u_mask=Data(),eta=1,surface_stress=Data()):        def initialize(self,f=Data(),fixed_u_mask=Data(),eta=1,surface_stress=Data()):
73          self.eta=eta          self.eta=eta
74          A =self.__pde_u.createCoefficientOfGeneralPDE("A")          A =self.__pde_u.createCoefficient("A")
75      self.__pde_u.setValue(A=Data())      self.__pde_u.setValue(A=Data())
76          for i in range(self.domain.getDim()):          for i in range(self.domain.getDim()):
77          for j in range(self.domain.getDim()):          for j in range(self.domain.getDim()):
# Line 176  class StokesProblemCartesian(Homogeneous Line 175  class StokesProblemCartesian(Homogeneous
175    
176        def initialize(self,f=Data(),fixed_u_mask=Data(),eta=1,surface_stress=Data()):        def initialize(self,f=Data(),fixed_u_mask=Data(),eta=1,surface_stress=Data()):
177          self.eta=eta          self.eta=eta
178          A =self.__pde_u.createCoefficientOfGeneralPDE("A")          A =self.__pde_u.createCoefficient("A")
179      self.__pde_u.setValue(A=Data())      self.__pde_u.setValue(A=Data())
180          for i in range(self.domain.getDim()):          for i in range(self.domain.getDim()):
181          for j in range(self.domain.getDim()):          for j in range(self.domain.getDim()):

Legend:
Removed from v.1673  
changed lines
  Added in v.1841

  ViewVC Help
Powered by ViewVC 1.1.26