Frees the MPI data type.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(lagrangian_set), | intent(inout) | :: | this |
impure subroutine lagrangian_set_FreeMPIType(this) !> Frees the MPI data type. implicit none class(lagrangian_set), intent(inout) :: this ! Work variables integer :: ierr if (this%is_initialized) then if (this%MPI_TYPE.ne.MPI_DATATYPE_NULL) & call MPI_TYPE_FREE(this%MPI_TYPE,ierr) end if return end subroutine lagrangian_set_FreeMPIType