matplotlib 3.5.1

ParametersReturns
get_Kff_and_Ff(self, J, ecc, triangles, Uc)

Build the global Kff matrix in cco format. Build the full Ff vec Ff = - Kfc x Uc.

Parameters

*J* is a (N x 2 x 2) array of jacobian matrices (jacobian matrix at :
triangle first apex) :
*ecc* is a (N x 3 x 1) array (array of column-matrices) of triangle :
eccentricities :
*triangles* is a (N x 3) array of nodes indexes. :
*Uc* is (N x 3) array of imposed displacements at nodes :

Returns

(Kff_rows, Kff_cols, Kff_vals) Kff matrix in coo format - Duplicate
(row, col) entries must be summed.
Ff: force vector - dim npts * 3

Build K and F for the following elliptic formulation: minimization of curvature energy with value of function at node imposed and derivatives 'free'.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/tri/triinterpolate.py#914
type: <class 'function'>
Commit: