discretize.operators.InnerProducts

Inheritance diagram of InnerProducts
class discretize.operators.InnerProducts[source]

Class for constructing inner product matrices.

InnerProducts is a mixin class for constructing inner product matrices, their inverses and their derivatives with respect to model parameters. The InnerProducts class is inherited by all discretize mesh classes. In practice, we don’t create instances of the InnerProducts class in order to construct inner product matrices, their inverses or their derivatives. These quantities are instead constructed from instances of discretize meshes using the appropriate method.

Methods

getEdgeInnerProduct(*args, **kwargs)

getEdgeInnerProduct has been deprecated.

getEdgeInnerProductDeriv(*args, **kwargs)

getEdgeInnerProductDeriv has been deprecated.

getFaceInnerProduct(*args, **kwargs)

getFaceInnerProduct has been deprecated.

getFaceInnerProductDeriv(*args, **kwargs)

getFaceInnerProductDeriv has been deprecated.

get_edge_inner_product([model, ...])

Generate the edge inner product matrix or its inverse.

get_edge_inner_product_deriv(model[, ...])

Function handle to multiply vector with derivative of edge inner product matrix (or its inverse).

get_face_inner_product([model, ...])

Generate the face inner product matrix or its inverse.

get_face_inner_product_deriv(model[, ...])

Function handle to multiply vector with derivative of face inner product matrix (or its inverse).