[Carpet] Regridding & Recomposing

Erik Schnetter schnetter at cct.lsu.edu
Thu Feb 1 01:05:57 CET 2007


On Jan 24, 2007, at 11:12:26, Bela Szilagyi wrote:

> So, at this point, we are saying that in Carpet::CallRegrid() the  
> following
> hold:
>
> 1) did_regrid is set to true if, e.g., I request nothing but a  
> reflevel
> deactivation
>
> 2) did_recompose is set to true iff changes were made within a  
> refinement
> level.

I see your point.  Yes, this was an error.

I'm unsure whether the postregrid routines should be called on all  
levels when the grid structure has changed, or only on the level that  
changed.  Looking at existing use of that bin, it seems that it  
should be called on all levels.  That means in turn that it is  
expensive to change the grid hierarchy piecemeal -- changing it level- 
by-level means that postregrid is run for all levels for each level,  
i.e., L^2 times if there are L levels.  I guess that's up to the  
regridding routine to get right.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20070131/694d51df/attachment.pgp 


More information about the developers mailing list