# sfepy.discrete.common.extmods.crefcoors module

class sfepy.discrete.common.extmods.crefcoors.CBasisContext

sfepy.discrete.common.extmods.crefcoors.evaluate_in_rc(out, ref_coors, cells, status, source_vals, conn, diff, _ctx)

  Evaluate source field DOF values or gradients in the given reference element coordinates using the given interpolation.

  1. Evaluate basis functions or gradients of basis functions in the reference coordinates. For gradients, tranform the values to the material coordinates. 2. Interpolate source values using the basis functions/gradients.

  Interpolation uses field approximation connectivity.

sfepy.discrete.common.extmods.crefcoors.find_ref_coors(ref_coors, cells, status, coors, cmesh, candidates, offsets, allow_extrapolation, qp_eps, close_limit, _ctx)

sfepy.discrete.common.extmods.crefcoors.find_ref_coors_convex(ref_coors, cells, status, coors, cmesh, centroids, normals0, normals1, ics, allow_extrapolation, qp_eps, close_limit, _ctx)