get physical quantities from simulation result in specific physics module
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | w(nw_phys) | |||
| real(kind=dp), | intent(in) | :: | x(1:ndim) |
pure real(dp) function get_rho(w, x) result(rho) real(dp), intent(in) :: w(nw_phys) real(dp), intent(in) :: x(1:ndim) rho = w(iw_rho) end function get_rho