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