Package esys :: Package finley :: Module finleybench :: Class RegularFinleyProblem
[show private | hide private]
[frames | no frames]

Type RegularFinleyProblem

      object --+        
               |        
BenchmarkProblem --+    
                   |    
       FinleyProblem --+
                       |
                      RegularFinleyProblem

Known Subclasses:
AnisotropicProblem, AnisotropicSystem, LaplaceProblem

base class for finley problem on a rectangular mesh
Method Summary
  __init__(self, n, order, dim, num_equations)
sets up a recangular mesh in finley on a unit cube/square
escript.Domain getDomain(self)
returns the unit square/cube with a rectangular mesh
    Inherited from FinleyProblem
LinearPDE,escript.Data getTestProblem(self, domain)
returns a PDEto be solved and an exact solution
pair of float run(self, options)
creates a domain and a PDE on this domain, solves it (with the given options) and returns the elapsed time and the error.
    Inherited from BenchmarkProblem
str __str__(self)
returns the name of the benchmark suite
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Method Details

__init__(self, n=1, order=1, dim=2, num_equations=1)
(Constructor)

sets up a recangular mesh in finley on a unit cube/square
Parameters:
n - number of elements in each spactial direction
           (type=2 or 3)
order - element order
           (type=1 or 2)
dim - spatial dimension
Overrides:
esys.escript.benchmark.BenchmarkProblem.__init__

getDomain(self)

returns the unit square/cube with a rectangular mesh
Returns:
a domain
           (type=escript.Domain)
Overrides:
esys.finley.finleybench.FinleyProblem.getDomain

Generated by Epydoc 2.1 on Thu Apr 27 11:16:19 2006 http://epydoc.sf.net