initialize overlap mapping
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(mimic_communicator), | intent(inout) | :: | this | |||
type(maps_type), | dimension(:) | :: | overlap_maps | list of overlap_maps |
subroutine init_overlaps(this, overlap_maps)
class(mimic_communicator), intent(inout) :: this
!> list of overlap_maps
type(maps_type), dimension(:) :: overlap_maps
if (allocated(this%overlap_maps)) deallocate(this%overlap_maps)
allocate(this%overlap_maps(size(overlap_maps)))
this%overlap_maps = overlap_maps
end subroutine init_overlaps