Assign one real to an advection field.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrand_ladvection), | intent(inout) | :: | lhs | Left hand side. |
||
real(kind=R_P), | intent(in) | :: | rhs(1:) | Right hand side. |
pure subroutine assign_real(lhs, rhs)
!< Assign one real to an advection field.
class(integrand_ladvection), intent(inout) :: lhs !< Left hand side.
real(R_P), intent(in) :: rhs(1:) !< Right hand side.
lhs%u = rhs
endsubroutine assign_real