xref: /phasta/phSolver/common/shphex.c (revision f34e7d5c3a49cb906a9e07fd0f29f9302f3124dc)
1 /* fortran wrapper for C function HexShapeAndDrv which returns
2    the shape functions and their derivatives for tets
3    */
4 #include <FCMangle.h>
5 
6 int HexShapeAndDrv(int p,double par[3],double N[],double dN[][3]);
7 
8 #define shphex FortranCInterface_GLOBAL_(shphex, SHPHEX)
9 void shphex(int *p, double par[], double N[], double dN[][3])
10 {
11 
12   HexShapeAndDrv(*p,par,N,dN);
13 
14 }
15