Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Geometry1D), | intent(out) | :: | myGeom | |||
type(Lagrange), | intent(in), | pointer | :: | interp | ||
integer, | intent(in) | :: | nElem |
subroutine Init_Geometry1D(myGeom,interp,nElem)
implicit none
class(Geometry1D),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%dxds%Init(interp=interp, &
nVar=1, &
nElem=nElem)
endsubroutine Init_Geometry1D