Assign ony members of abstract integrator_object type.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(integrator_object), | intent(inout) | :: | lhs | Left hand side. |
||
class(integrator_object), | intent(in) | :: | rhs | Right hand side. |
subroutine assign_abstract(lhs, rhs)
!< Assign ony members of abstract [[integrator_object]] type.
class(integrator_object), intent(inout) :: lhs !< Left hand side.
class(integrator_object), intent(in) :: rhs !< Right hand side.
if (allocated(rhs%description_ )) lhs%description_ = rhs%description_
lhs%error = rhs%error
if (allocated(rhs%error_message)) lhs%error_message = rhs%error_message
endsubroutine assign_abstract