[MITgcm-support] [EXTERNAL] identifying connected regions
Menemenlis, Dimitris (US 329B)
dimitris.menemenlis at jpl.nasa.gov
Mon Feb 7 15:06:23 EST 2022
Hi Dan, I don't know answer to first part of your question.
The gather routines you are looking for are located in MITgcm/eesupp/src/gather* and their opposite, scatter*
Dimitris
________________________________________
From: MITgcm-support <mitgcm-support-bounces at mitgcm.org> on behalf of Daniel Goldberg <dan.goldberg at ed.ac.uk>
Sent: Monday, February 7, 2022 5:25:54 AM
To: MITgcm-support at mitgcm.org
Subject: [EXTERNAL] [MITgcm-support] identifying connected regions
Hello -
I am curious if any part of model/src or a package implements an
algorithm to identify connected regions of a 2D (or 3D) array?
If not, i feel this might be best solved in serial, and am wondering
if there are utilities to gather processor tiles to a single 2D array
(and broadcast such an array to tiles) that should be used or are
ideal to use. I am aware that something like this must be done with
useSingleCpuIO but am not sure if this is the best template to follow.
Many thanks
Dan
--
Daniel Goldberg, PhD (he/him)
Reader in Glaciology
School of Geosciences, University of Edinburgh
Geography Building, Drummond Street, Edinburgh EH8 9XP
em: dan.goldberg at ed.ac.uk
web: https://urldefense.us/v3/__https://www.geos.ed.ac.uk/homes/dgoldber__;!!PvBDto6Hs4WbVuu7!eDL5CbnYAKmBLwl3jcZEWTX2lsdVQJbPpOI1bdlK236gsNml72lStCBKeXNmtKAc5q64eKcqJto$
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
_______________________________________________
MITgcm-support mailing list
MITgcm-support at mitgcm.org
https://urldefense.us/v3/__http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!eDL5CbnYAKmBLwl3jcZEWTX2lsdVQJbPpOI1bdlK236gsNml72lStCBKeXNmtKAc5q64BGCe0WU$
More information about the MITgcm-support
mailing list