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

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

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

revision 1399 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 1400 by gross, Thu Jan 24 06:04:31 2008 UTC
# Line 2190  class LameEquation(LinearPDE): Line 2190  class LameEquation(LinearPDE):
2190       else:       else:
2191          raise IllegalCoefficient,"illegal coefficient %s requested for general PDE."%name          raise IllegalCoefficient,"illegal coefficient %s requested for general PDE."%name
2192    
2193    def LinearSinglePDE(domain,debug=False):
2194       """
2195       defines a single linear PDEs
2196    
2197       @param domain: domain of the PDE
2198       @type domain: L{Domain<escript.Domain>}
2199       @param debug: if True debug informations are printed.
2200       @rtype: L{LinearPDE}
2201       """
2202       return LinearPDE(domain,numEquations=1,numSolutions=1,debug=debug)
2203    
2204    def LinearPDESystem(domain,debug=False):
2205       """
2206       defines a system of linear PDEs
2207    
2208       @param domain: domain of the PDE
2209       @type domain: L{Domain<escript.Domain>}
2210       @param debug: if True debug informations are printed.
2211       @rtype: L{LinearPDE}
2212       """
2213       return LinearPDE(domain,numEquations=domain.getDim(),numSolutions=domain.getDim(),debug=debug)

Legend:
Removed from v.1399  
changed lines
  Added in v.1400

  ViewVC Help
Powered by ViewVC 1.1.26