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