--
lp:~fiat-core/fiat/fiat-new
https://code.launchpad.net/~fiat-core/fiat/fiat-new
You are subscribed to branch lp:~fiat-core/fiat/fiat-new.
To unsubscribe from this branch go to https://code.launchpad.net/~fiat-core/fiat/fiat-new/+edit-subscription.
=== modified file 'FIAT_NEW/quadrature.py'
--- FIAT_NEW/quadrature.py 2010-01-08 13:01:22 +0000
+++ FIAT_NEW/quadrature.py 2010-01-12 12:55:32 +0000
@@ -21,13 +21,15 @@
class GaussJacobiQuadratureLineRule( QuadratureRule ):
"""Gauss-Jacobi quadature rule determined by Jacobi weights a and b
using m roots of m:th order Jacobi polynomial."""
- def __init__( self , ref_el , a , b , m ):
+# def __init__( self , ref_el , a , b , m ):
+ def __init__( self , ref_el , m ):
# this gives roots on the default (-1,1) reference element
- (xs_ref,ws_ref) = compute_gauss_jacobi_rule( a , b , m )
+# (xs_ref,ws_ref) = compute_gauss_jacobi_rule( a , b , m )
+ (xs_ref,ws_ref) = compute_gauss_jacobi_rule( 0. , 0. , m )
Ref1 = reference_element.DefaultLine()
- A,b = reference_element.make_affine_mapping( Ref1.get_vertices , \
- ref_el.get_vertices )
+ A,b = reference_element.make_affine_mapping( Ref1.get_vertices() , \
+ ref_el.get_vertices() )
mapping = lambda x: numpy.dot( A , x ) + b