| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Model), | intent(in) | :: | this | |||
| real(kind=prec), | intent(in) | :: | s(1:this%nvar) | |||
| real(kind=prec), | intent(in) | :: | nhat(1:3) |
pure function hbc3d_Generic_Model(this,s,nhat) result(exts)
class(Model),intent(in) :: this
real(prec),intent(in) :: s(1:this%nvar)
real(prec),intent(in) :: nhat(1:3)
real(prec) :: exts(1:this%nvar)
exts = 0.0_prec
if(.false.) then ! suppress unused-dummy-argument warnings for default implementation
exts = s; exts(1) = exts(1)+nhat(1)
endif
endfunction hbc3d_Generic_Model