Quadrature

About the Quadrature 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 Quadrature

Class documentation

class WaveBlocksND.Quadrature[source]

This class is an abstract interface to quadratures in general.

get_description()[source]

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

get_qr()[source]

Return the QuadratureRule subclass instance used for quadrature.

Returns:The current instance of the quadrature rule.
set_qr(QR)[source]

Set the QuadratureRule subclass instance used for quadrature.

Parameters:QR – The new QuadratureRule instance.