|
From: Klaus W. <kl...@fl...> - 2009-02-10 20:39:19
|
Tingxing Dong,
I believe that comments in PARAMESH like the following are
confusing because they only describe some, but not all situations.
> idest selects the storage space in data_1blk.fh which is to be used
> in this call. If the leaf node is having its guardcells filled then
> set this to 1, if its parent is being filled set it to 2.
This comment really only applies to guard cell filling, during processing
of amr_1blk_guardcell. In the routine amr_prolong, the two slots in
unk1 (and facevar{x,y,z}1, etc.) are used differently: slot 1 holds
the parent block of a newly created leaf block; the new leaf block
is assembled in slot 2.
I hope this helps,
Klaus
|