shapefunc Interface

public interface shapefunc

Construct shape functions, e.g. shapefunc(q, 2), shapefunc(q, 1, [SHP_FIN, SHP_INF]) or shapefunc(q, 2, family=SHP_SERENDIPITY, nodes=perm)


Module Procedures

private pure function new_shapefunc(q, order, infin, family, nodes) result(self)

Construct shape functions of order order at the points of q; see set

Arguments

Type IntentOptional Attributes Name
type(cubature), intent(in) :: q

Cubature on the reference element

integer, intent(in) :: order

Polynomial order

integer, intent(in), optional :: infin(:)

Infinitude, SHP_FIN, SHP_INF or SHP_CHP, size 1 or q%dim

integer, intent(in), optional :: family

SHP_LAGRANGE (default) or SHP_SERENDIPITY

integer, intent(in), optional :: nodes(:)

Node ordering: nodes(k) is the default number of node k

Return Value type(shapefunc)