TrapezoidalQR

About the TrapezoidalQR class

The WaveBlocks Project

@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016 R. Bourquin @license: Modified BSD License

Inheritance diagram

Inheritance diagram of TrapezoidalQR

Class documentation

class WaveBlocksND.TrapezoidalQR(left, right, number_nodes, options={})[source]

This class implements a trapezoidal quadrature rule.

get_description()[source]

Return a description of this quadrature rule object. A description is a dict containing all key-value pairs necessary to reconstruct the current instance. A description never contains any data.

get_dimension()
Returns:The space dimension D of the quadrature rule.
get_nodes()[source]

Returns the quadrature nodes \gamma_i.

Returns:An array containing the quadrature nodes \gamma_i.
get_number_nodes()
Returns:The number of quadrature nodes denoted by |\Gamma| that are part of this quadrature rule \Gamma = (\gamma, \omega).
get_weights()[source]

Returns the quadrature weights \omega_i.

Returns:An array containing the quadrature weights \omega_i.