Operator =.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(riemann_pattern_compressible_object), | intent(inout) | :: | lhs | Left hand side. |
||
| class(riemann_pattern_object), | intent(in) | :: | rhs | Right hand side. |
pure subroutine rpat_assign_rpat(lhs, rhs)
!< Operator `=`.
class(riemann_pattern_compressible_object), intent(inout) :: lhs !< Left hand side.
class(riemann_pattern_object), intent(in) :: rhs !< Right hand side.
select type(rhs)
class is(riemann_pattern_compressible_object)
lhs%eos_1 = rhs%eos_1
lhs%r_1 = rhs%r_1
lhs%u_1 = rhs%u_1
lhs%p_1 = rhs%p_1
lhs%a_1 = rhs%a_1
lhs%eos_4 = rhs%eos_4
lhs%r_4 = rhs%r_4
lhs%u_4 = rhs%u_4
lhs%p_4 = rhs%p_4
lhs%a_4 = rhs%a_4
lhs%u23 = rhs%u23
lhs%p23 = rhs%p23
lhs%r_2 = rhs%r_2
lhs%a_2 = rhs%a_2
lhs%r_3 = rhs%r_3
lhs%a_3 = rhs%a_3
lhs%s_1 = rhs%s_1
lhs%s_2 = rhs%s_2
lhs%s_3 = rhs%s_3
lhs%s_4 = rhs%s_4
endselect
endsubroutine rpat_assign_rpat