ImmersedDOF¶
- class fuse.dof.ImmersedDOF(pairing, kernel, entity=None, attachment=None, target_space=None, g=None, triple=None, generation=None, sub_id=None, cell=None, entity_o=False)¶
Bases:
DOF- __init__(pairing, kernel, entity=None, attachment=None, target_space=None, g=None, triple=None, generation=None, sub_id=None, cell=None, entity_o=False)¶
Methods
__init__(pairing, kernel[, entity, ...])add_context(dof_gen, cell, g[, overall_id, ...])convert_to_fiat(ref_el, interpolant_degree)dict_id()eval(fn[, trace])immerse(entity, attachment, trace, g)This DOF immersed on
entity.lift_direction()The direction an immersed DOF's kernel is lifted along: the tangent of a flat form on an edge or the normal of a hodge form, or None.
lifted_action()The kernel's action, resolved on the entity the DOF is defined on and, for an immersed DOF, lifted into the cell.
tabulate(Qpts)to_quadrature(arg_degree, value_shape)trace(fn)The trace of
fnon the entity, the dual of the kernel's lift.with_kernel(kernel)A copy of this DOF acting through a different kernel.
- immerse(entity, attachment, trace, g)¶
This DOF immersed on
entity.target_spaceis a derivative trace (TrGrad,TrHess), or None to trace through the kernel’s action.
- trace(fn)¶
The trace of
fnon the entity, the dual of the kernel’s lift.
- with_kernel(kernel)¶
A copy of this DOF acting through a different kernel.
The generation dict is copied but its generators are shared, so the copy is grouped with the original by
_entity_associations.