Operator =
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrator_ms_runge_kutta_ssp), | intent(inout) | :: | lhs | Left hand side. |
||
class(integrator_object), | intent(in) | :: | rhs | Right hand side. |
subroutine integr_assign_integr(lhs, rhs)
!< Operator `=`.
class(integrator_ms_runge_kutta_ssp), intent(inout) :: lhs !< Left hand side.
class(integrator_object), intent(in) :: rhs !< Right hand side.
call lhs%assign_multistage_multistep(rhs=rhs)
select type(rhs)
class is (integrator_ms_runge_kutta_ssp)
if (allocated(rhs%A )) lhs%A = rhs%A
if (allocated(rhs%Ahat)) lhs%Ahat = rhs%Ahat
if (allocated(rhs%B )) lhs%B = rhs%B
if (allocated(rhs%Bhat)) lhs%Bhat = rhs%Bhat
if (allocated(rhs%D )) lhs%D = rhs%D
if (allocated(rhs%Q )) lhs%Q = rhs%Q
endselect
endsubroutine integr_assign_integr