BaseKernel¶
- class fuse.dof.BaseKernel(action=None)¶
Bases:
objectA DOF kernel.
A kernel must be associated with an
action, an instance offuse.actions.KernelAction, that describes the transformation of the kernel value under symmetry.This class also accepts the shorthand H1, HCurl, HDiv or L2 for a form action. Scalar kernels default to H1.
- __init__(action=None)¶
Methods
__init__([action])act(g)Transform the kernel by the symmetry
gof the associated entityaction_matrix(entity)Represents the inverse transform of the entity's basis under a symmetry.
permute(g)with_action(action)A copy of this kernel with
action.Attributes
actiondeclared_action0 for scalar valued kernels, 1 for vector valued ones.
- act(g)¶
Transform the kernel by the symmetry
gof the associated entity
- action_matrix(entity)¶
Represents the inverse transform of the entity’s basis under a symmetry.
This is the inverse transpose of the linear part of the kernel’s symmetry, in the coordinates of
entity.
- property rank¶
0 for scalar valued kernels, 1 for vector valued ones.
- with_action(action)¶
A copy of this kernel with
action.