jsitaraman / tioga

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

Revert "Complete removal of get_amr_index_xyz and left-over porder-related variables" #26

Closed sayerhs closed 4 years ago

sayerhs commented 4 years ago

Reverts jsitaraman/tioga#25

This commit breaks AMR connectivity when nf > 0

sayerhs commented 4 years ago

@ashesh2512 I am revering #25 as this breaks when nf > 0. Please submit a new pull request.

sayerhs commented 4 years ago

@ashesh2512 Looking at the error message (snippet below), it triggers this logic here:

https://github.com/jsitaraman/tioga/blob/f90a2892a3d5ae9435292fb0b6c56cad1a3c6378/src/CartBlock.C#L227-L236

#tioga: index =35495
#tioga: nf =3
#tioga: dims[0] =32
#tioga: dims[1] =32
#tioga: dims[2] =32
73896 0 1024131310 77992 0 0