sfepy.discrete.fem.linearizer module
Linearization of higher order solutions for the purposes of visualization.
-
sfepy.discrete.fem.linearizer.create_output(eval_dofs, eval_coors, n_el, ps, min_level=0, max_level=2, eps=0.0001)[source]
Create mesh with linear elements that approximates DOFs returned by
eval_dofs() corresponding to a higher order approximation with a relative
precision given by eps. The DOFs are evaluated in physical coordinates
returned by eval_coors().
-
sfepy.discrete.fem.linearizer.get_eval_coors(coors, conn, ps)[source]
Get default function for evaluating physical coordinates given a list of
elements and reference element coordinates.
-
sfepy.discrete.fem.linearizer.get_eval_dofs(dofs, dof_conn, ps, ori=None)[source]
Get default function for evaluating field DOFs given a list of elements and
reference element coordinates.