From tradke at aei.mpg.de Mon Mar 17 10:35:15 2008 From: tradke at aei.mpg.de (Thomas Radke) Date: Mon, 17 Mar 2008 17:35:15 +0100 Subject: [Patches] [Developers] PATCH: add new schedule bin CCTK_EVOL_CONTROL Message-ID: <47DE9DC3.3080303@aei.mpg.de> > On Oct 11, 2007, at 09:49:45, Thomas Radke wrote: > >> Hi, >> >> following up the thread "when to schedule steering methods" on the >> developers mailing list >> (http://www.cactuscode.org/old/pipermail/developers/2007-October/005439.html ), >> here is the according patch (for the flesh and PUGH) to add a new >> schedule bin at the very end of an evolution step. As the documentation >> says, it should be used for routines which potentially alter the status >> of the simulation, eg. by interaction with users to steer runtime >> parameters. >> >> Note that I changed the name of the new bin from STEER to EVOL_CONTROL >> which I thought would be more appropriate. But I'm open for better >> suggestions. > > > > I think your patch adds the bin directly after poststep, which is before analysis, and thus not at the "very end". Sorry about that ! The corrected patch is appended (to the patches mailing list). -- Cheers, Thomas. -------------- next part -------------- A non-text attachment was scrubbed... Name: CCTK_EVOL_CONTROL.patch Type: text/x-patch Size: 3913 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/patches/attachments/20080317/36cc8c3a/attachment.bin From schnetter at cct.lsu.edu Wed Mar 19 19:48:09 2008 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Wed, 19 Mar 2008 20:48:09 -0500 Subject: [Patches] Problems with 4D grid arrays Message-ID: Cactus has currently a problem if one uses grid arrays of dimension D while grid functions have a dimension less than D. During initialisation, Cactus sets cctk_dim to the largest dimension of all grid variables in all active thorns. This is arguably wrong; cctk_dim should be set to the (maximum) dimension of the grid functions. The enclosed patch adds a new function to the flesh CCTK_MaxGFDim which returns the (maximum) dimension of all grid functions. This function is used to set cctk_dim. -erik -- Erik Schnetter http://www.cct.lsu.edu/~eschnett/ 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: maxgfdim.diff Type: application/octet-stream Size: 4206 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/patches/attachments/20080319/9274fc68/attachment-0001.obj -------------- next part -------------- From tradke at aei.mpg.de Tue Mar 25 07:01:13 2008 From: tradke at aei.mpg.de (Thomas Radke) Date: Tue, 25 Mar 2008 14:01:13 +0100 Subject: [Patches] [Developers] PATCH: add new schedule bin CCTK_EVOL_CONTROL In-Reply-To: <1D2852B3-A99B-4E00-B51B-4F97FD623967@cct.lsu.edu> References: <47DE9DC3.3080303@aei.mpg.de> <1D2852B3-A99B-4E00-B51B-4F97FD623967@cct.lsu.edu> Message-ID: <47E8F799.5080602@aei.mpg.de> Another fix of my latest patch which now actually compiles ;-) -- Cheers, Thomas. -------------- next part -------------- A non-text attachment was scrubbed... Name: CCTK_EVOL_CONTROL.patch Type: text/x-patch Size: 4241 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/patches/attachments/20080325/54563c83/attachment.bin