Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Model), | intent(in) | :: | this | |||
real(kind=prec), | intent(in) | :: | dsdx(1:this%nvar) | |||
real(kind=prec), | intent(in) | :: | nhat |
pure function pbc1d_Generic_Model(this,dsdx,nhat) result(extDsdx)
class(Model),intent(in) :: this
real(prec),intent(in) :: dsdx(1:this%nvar)
real(prec),intent(in) :: nhat
real(prec) :: extDsdx(1:this%nvar)
! Local
integer :: ivar
do ivar = 1,this%nvar
extDsdx(ivar) = dsdx(ivar)
enddo
endfunction pbc1d_Generic_Model