Operator =
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cell_object), | intent(inout) | :: | lhs | Left hand side. |
||
type(cell_object), | intent(in) | :: | rhs | Right hand side. |
pure subroutine cell_assign_cell(lhs, rhs)
!< Operator `=`.
class(cell_object), intent(inout) :: lhs !< Left hand side.
type(cell_object), intent(in) :: rhs !< Right hand side.
lhs%center = rhs%center
lhs%volume = rhs%volume
endsubroutine cell_assign_cell