/[escript]/trunk/modellib/py_src/geometry.py
ViewVC logotype

Diff of /trunk/modellib/py_src/geometry.py

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

temp/modellib/py_src/geometry.py revision 1387 by trankine, Fri Jan 11 07:45:26 2008 UTC trunk/modellib/py_src/geometry.py revision 2061 by jfenwick, Wed Nov 19 03:40:21 2008 UTC
# Line 1  Line 1 
1    
2    ########################################################
3  #  #
4  # $Id$  # Copyright (c) 2003-2008 by University of Queensland
5  #  # Earth Systems Science Computational Center (ESSCC)
6  #######################################################  # http://www.uq.edu.au/esscc
 #  
 #           Copyright 2003-2007 by ACceSS MNRF  
 #       Copyright 2007 by University of Queensland  
 #  
 #                http://esscc.uq.edu.au  
 #        Primary Business: Queensland, Australia  
 #  Licensed under the Open Software License version 3.0  
 #     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  __copyright__="""  Copyright (c) 2006 by ACcESS MNRF  Earth Systems Science Computational Center (ESSCC)
16                      http://www.access.edu.au  http://www.uq.edu.au/esscc
17                  Primary Business: Queensland, Australia"""  Primary Business: Queensland, Australia"""
18  __license__="""Licensed under the Open Software License version 3.0  __license__="""Licensed under the Open Software License version 3.0
19               http://www.opensource.org/licenses/osl-3.0.php"""  http://www.opensource.org/licenses/osl-3.0.php"""
20    __url__="http://www.uq.edu.au/esscc/escript-finley"
21    
22  from esys.escript import *  from esys.escript import *
23  from esys.escript.modelframe import Model,ParameterSet  from esys.escript.modelframe import Model,ParameterSet
# Line 226  class ConstrainerOverBox(Model): Line 223  class ConstrainerOverBox(Model):
223            return the values used to constrain a solution            return the values used to constrain a solution
224    
225            @return: values to be used at the locations of the constraints. If            @return: values to be used at the locations of the constraints. If
226                    L{value} is not given C{None} is rerturned.                    C{value} is not given C{None} is rerturned.
227            @rtype: L{escript.Scalar}            @rtype: L{escript.Scalar}
228            """            """
229            if self.__location_of_constraint == None: self.__setOutput()            if self.__location_of_constraint == None: self.__setOutput()
# Line 308  class ScalarConstrainerOverBox(Model): Line 305  class ScalarConstrainerOverBox(Model):
305            return the values used to constrain a solution            return the values used to constrain a solution
306    
307            @return: values to be used at the locations of the constraints. If            @return: values to be used at the locations of the constraints. If
308                    L{value} is not given C{None} is rerturned.                    C{value} is not given C{None} is rerturned.
309            @rtype: L{escript.Scalar}            @rtype: L{escript.Scalar}
310            """            """
311            if self.__location_of_constraint == None: self.__setOutput()            if self.__location_of_constraint == None: self.__setOutput()
# Line 384  class VectorConstrainerOverBox(Model): Line 381  class VectorConstrainerOverBox(Model):
381            return the values used to constrain a solution            return the values used to constrain a solution
382    
383            @return: values to be used at the locations of the constraints. If            @return: values to be used at the locations of the constraints. If
384                    L{value} is not given C{None} is rerturned.                    C{value} is not given C{None} is rerturned.
385            @rtype: L{escript.Vector}            @rtype: L{escript.Vector}
386            """            """
387            if self.__location_of_constraint == None: self.__setOutput()            if self.__location_of_constraint == None: self.__setOutput()
# Line 471  class ConstrainerAtBoxVertex(Model): Line 468  class ConstrainerAtBoxVertex(Model):
468            return the values used to constrain a solution            return the values used to constrain a solution
469    
470            @return: values to be used at the locations of the constraints. If            @return: values to be used at the locations of the constraints. If
471                    L{value} is not given C{None} is rerturned.                    C{value} is not given C{None} is rerturned.
472            @rtype: L{escript.Scalar}            @rtype: L{escript.Scalar}
473            """            """
474            if self.__location_of_constraint == None: self.__setOutput()            if self.__location_of_constraint == None: self.__setOutput()
# Line 531  class ScalarConstrainerAtBoxVertex(Model Line 528  class ScalarConstrainerAtBoxVertex(Model
528            return the values used to constrain a solution            return the values used to constrain a solution
529    
530            @return: values to be used at the locations of the constraints. If            @return: values to be used at the locations of the constraints. If
531                    L{value} is not given C{None} is rerturned.                    C{value} is not given C{None} is rerturned.
532            @rtype: L{escript.Scalar}            @rtype: L{escript.Scalar}
533            """            """
534            if self.__location_of_constraint == None: self.__setOutput()            if self.__location_of_constraint == None: self.__setOutput()
# Line 582  class VectorConstrainerAtBoxVertex(Model Line 579  class VectorConstrainerAtBoxVertex(Model
579            return the values used to constrain a solution            return the values used to constrain a solution
580    
581            @return: values to be used at the locations of the constraints. If            @return: values to be used at the locations of the constraints. If
582                    L{value} is not given C{None} is rerturned.                    C{value} is not given C{None} is rerturned.
583            @rtype: L{escript.Vector}            @rtype: L{escript.Vector}
584            """            """
585            if self.__location_of_constraint == None: self.__setOutput()            if self.__location_of_constraint == None: self.__setOutput()

Legend:
Removed from v.1387  
changed lines
  Added in v.2061

  ViewVC Help
Powered by ViewVC 1.1.26