discretize.operators.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. TheInnerProducts
class is inherited by alldiscretize
mesh classes. In practice, we don’t create instances of theInnerProducts
class in order to construct inner product matrices, their inverses or their derivatives. These quantities are instead constructed from instances ofdiscretize
meshes 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).
Galleries and Tutorials using discretize.operators.InnerProducts
#
Plot Mirrored Cylindrically Symmetric Model
Basic Forward 2D DC Resistivity
Plotting: Streamline thickness
Nodal Dirichlet Poisson solution