Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Burgers1D_t), | intent(in) | :: | this | |||
real(kind=prec), | intent(in) | :: | s(1:this%solution%nvar) |
pure function entropy_func_Burgers1D_t(this,s) result(e)
class(Burgers1D_t),intent(in) :: this
real(prec),intent(in) :: s(1:this%solution%nvar)
real(prec) :: e
e = 0.5_prec*s(1)*s(1)
endfunction entropy_func_Burgers1D_t