subroutine Init_SEMHex(myGeom,interp,nElem)
implicit none
class(SEMHex),intent(out) :: myGeom
type(Lagrange),pointer,intent(in) :: interp
integer,intent(in) :: nElem
myGeom%nElem = nElem
call myGeom%x%Init(interp=interp, &
nVar=1, &
nElem=nElem)
call myGeom%x%meta(1)%SetName("x")
call myGeom%dxds%Init(interp=interp, &
nVar=1, &
nElem=nElem)
call myGeom%dsdx%Init(interp=interp, &
nVar=1, &
nElem=nElem)
call myGeom%nHat%Init(interp=interp, &
nVar=1, &
nElem=nElem)
call myGeom%nScale%Init(interp=interp, &
nVar=1, &
nElem=nElem)
call myGeom%J%Init(interp=interp, &
nVar=1, &
nElem=nElem)
endsubroutine Init_SEMHex