Open donnaaboise opened 6 years ago
Problem is in my code that is calling this routine - See #129.
Some routines in forestclaw2d.h are legal to allow from ghost cells, others are not. I need to improve documentation and put in more assertions.
The convention is that routines in forestclaw2d.h taking blockno, patchno are legal for local patches only. Whenever fclaw2d_patch_t * is passed (i.e., to the transforms), ghosts are fine, too. The iterator callbacks are called for local patches by construction.
I have the parallel implementation working for the conservative fix, but am running into assertion errors in the
normal_match
routine. If I don't call this routine, the code runs on multiple processors, and maintains conservation. But including thenormal_match
call causes an assertion failure at this line: