jsitaraman / tioga

Tioga is a library for overset grid assembly on parallel distributed systems
GNU Lesser General Public License v3.0
67 stars 36 forks source link

Generalize AMR patch support in TIOGA #49

Closed sayerhs closed 4 years ago

sayerhs commented 4 years ago

Update CartGrid interface to support two objectives:

Ensure that there is a valid AMRMeshInfo object on host and device even when using the legacy AMR mesh registration interface.

Introduce a new tioga::preprocess_amr_data that will ensure that a valid CartGrid instance exists on all MPI ranks visible to TIOGA even if the AMR solver is running on a subset of MPI processes.

sayerhs commented 4 years ago

@ashesh2512 @michaeljbrazell Can you both also please look at this PR to make sure I didn't miss anything? The objective here is to be able to run AMR-Wind and Nalu-Wind on non-overlapping sub-communicators.

ashesh2512 commented 4 years ago

@sayerhs I went through the changes, and they look complete to me!