| 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)
extDsdx = dsdx
if(.false.) extDsdx(1) = extDsdx(1)+nhat ! suppress unused-dummy-argument warning for default implementation
endfunction pbc1d_Generic_Model