# Diff of /trunk/escript/py_src/linearPDEs.py

revision 1859 by gross, Wed Oct 8 03:03:37 2008 UTC revision 2061 by jfenwick, Wed Nov 19 03:40:21 2008 UTC
# Line 118  class PDECoef(object): Line 118  class PDECoef(object):
118         @type pattern: C{tuple} of L{BY_EQUATION}, L{BY_SOLUTION}, L{BY_DIM}         @type pattern: C{tuple} of L{BY_EQUATION}, L{BY_SOLUTION}, L{BY_DIM}
119         @param altering: indicates what part of the PDE is altered if the coefficiennt is altered         @param altering: indicates what part of the PDE is altered if the coefficiennt is altered
120         @type altering: one of L{OPERATOR}, L{RIGHTHANDSIDE}, L{BOTH}         @type altering: one of L{OPERATOR}, L{RIGHTHANDSIDE}, L{BOTH}
@param reduced: indicates if reduced
@type reduced: C{bool}
121         """         """
122         super(PDECoef, self).__init__()         super(PDECoef, self).__init__()
123         self.what=where         self.what=where
# Line 497  class LinearProblem(object): Line 495  class LinearProblem(object):
495
496         use         use
497
498           self.introduceCoefficients(A=PDECoef(...),B=PDECoef(...))         self.introduceCoefficients(A=PDECoef(...),B=PDECoef(...))
499
500         to introduce the coefficients M{A} ans M{B}.         to introduce the coefficients M{A} ans M{B}.
501         """         """
# Line 950  class LinearProblem(object): Line 948  class LinearProblem(object):
948        test two coefficients for resciprocal symmetry        test two coefficients for resciprocal symmetry
949
950        @param name0: name of the first coefficient        @param name0: name of the first coefficient
951        @type name: C{str}        @type name0: C{str}
952        @param name1: name of the second coefficient        @param name1: name of the second coefficient
953        @type name: C{str}        @type name1: C{str}
954        @param verbose: if equal to True or not present a report on coefficients which are breaking the symmetry is printed.        @param verbose: if equal to True or not present a report on coefficients which are breaking the symmetry is printed.
955        @type verbose: C{bool}        @type verbose: C{bool}
956        @return:  True if coefficients C{name0} and C{name1}  are resciprocally symmetric.        @return:  True if coefficients C{name0} and C{name1}  are resciprocally symmetric.

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