DOF

class fuse.dof.DOF(pairing, kernel, entity=None, attachment=None, target_space=None, g=None, immersed=False, generation=None, sub_id=None, cell=None, entity_o=False)

Bases: object

__init__(pairing, kernel, entity=None, attachment=None, target_space=None, g=None, immersed=False, 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, target_space, 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)

with_kernel(kernel)

A copy of this DOF acting through a different kernel.

immerse(entity, attachment, target_space, g, triple)

This DOF immersed on entity. target_space is a derivative trace (TrGrad, TrHess), or None to trace through the kernel’s action.

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.

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.