The OASIS Coupler Forum

  HOME

Global grid not fully covered by subdomains

Up to Specific issues in real coupled models

Posted by Anonymous at November 8 2016

Hi,

I was wondering if something like the following can be handled by OASIS3-mct:

Let's say we have a global grid of 20x20 points consisting of water and land. The domain is divided into box subdomains with a size of e.g. 5x5. The subdomains cover only areas with water. 00000000000000000000 00000000000000000000 00111112222233333000 00111112222233333000 00111112222233333000 00111112222233333000 00111112222233333000 00000004444400000000 00000004444400000000 00000004444400000000 00000004444400000000 00000004444400000000 00555556666600000000 00555556666600000000 00555556666600000000 00555556666600000000 00555556666600000000 00000000000000000000 00000000000000000000 00000000000000000000

Therefore the global grid is not fully divided into subdomains. In the above example I have 6 processes, and every process should be involved in the coupling. I have the global offset and the extension of every subdomain, but the sum of all is not the global grid. Can OASIS handle this?

Cheers, Xaver

Posted by Anonymous at November 14 2016

Hi Xaver,

Yes there is an functionality that allows you to do that using the optional argument isize of oasis_def_partition :

CALL oasis_def_partition (il_part_id, ig_paral, ierror, isize=total number of point of the domain)

You have a description of the routine in the User Guide https://oasis.cerfacs.fr/wp-content/uploads/sites/114/2021/02/GLOBC-TR-oasis3mct_UserGuide3.0_052015.pdf, section 2.2.3

You can also have a look at the forum discussion : https://www.cerfacs.fr/site-oasis/forum/oa_main.php?c=122

Best regards, Laure
Reply to this