discretize.operators.InnerProducts#

- class discretize.operators.InnerProducts[source]#
Class for constructing inner product matrices.
InnerProductsis a mixin class for constructing inner product matrices, their inverses and their derivatives with respect to model parameters. TheInnerProductsclass is inherited by alldiscretizemesh classes. In practice, we don’t create instances of theInnerProductsclass in order to construct inner product matrices, their inverses or their derivatives. These quantities are instead constructed from instances ofdiscretizemeshes using the appropriate method.Methods
get_edge_inner_product([model, ...])Generate the edge inner product matrix or its inverse.
get_edge_inner_product_deriv(model[, ...])Get a function handle to multiply vector with derivative of edge inner product matrix (or its inverse).
get_edge_inner_product_surface([model, ...])Generate the edge inner product surface matrix or its inverse.
Get a function handle to multiply a vector with derivative of edge inner product surface matrix (or its inverse).
get_face_inner_product([model, ...])Generate the face inner product matrix or its inverse.
get_face_inner_product_deriv(model[, ...])Get a function handle to multiply a vector with derivative of face inner product matrix (or its inverse).