Operator =
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrator_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_runge_kutta_ssp), 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_ssp)
lhs%stages = rhs%stages
if (allocated(rhs%alph)) lhs%alph = rhs%alph
if (allocated(rhs%beta)) lhs%beta = rhs%beta
if (allocated(rhs%gamm)) lhs%gamm = rhs%gamm
endselect
endsubroutine integr_assign_integr