From schnetter at cct.lsu.edu Sun Apr 6 23:16:07 2008 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Sun, 6 Apr 2008 23:16:07 -0500 Subject: [Patches] If clauses in schedule Message-ID: <5AE220A5-2FF9-4082-AF8D-FBB01C34433A@cct.lsu.edu> Schedule items in Cactus can have WHILE clauses, which means that they are executed while a certain condition are true. I suggest to add IF clauses, which would mean that they are executed only if a certain condition is true. The syntax is equivalent to WHILE clauses. This is different from the existing if statements, which are only evaluated once at startup. The new if clauses are evaluated every time the schedule is traversed. -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: schedule-if.diff Type: application/octet-stream Size: 28104 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/patches/attachments/20080406/1e3f2d3f/attachment-0001.obj -------------- next part -------------- From schnetter at cct.lsu.edu Wed Apr 9 23:33:08 2008 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Wed, 9 Apr 2008 23:33:08 -0500 Subject: [Patches] Storing gauge time derivatives in ADMBase Message-ID: <7187E9BE-6642-40DE-A0CE-04BCE5A98C9A@cct.lsu.edu> The ADMBase variables store currently the 3-metric, lapse, shift, and extrinsic curvature. They do not store the time derivatives of lapse and shift, which makes it impossible to calculate the time derivative of the 4-metric from the ADMBase variables. This is a shortcoming, since almost all current evolution systems require these, including common BSSN gauge conditions and harmonic evolution schemes. (In many cases, initial data assume that these additional time derivatives are zero to get around this issue.) The enclosed patch adds grid functions for dtlapse and dtbetax, dtbetay, and dtbetaz. It also adds a few state variables so that codes can determine whether these variables have storage; storage is off by default for backwards compatibility. This is similar to the shift vector, which also has no storage by default. -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: admbase.diff Type: application/octet-stream Size: 10432 bytes Desc: not available Url : http://www.cactuscode.org/pipermail/patches/attachments/20080409/313e4743/attachment.obj -------------- next part -------------- From schnetter at cct.lsu.edu Tue Apr 15 14:39:45 2008 From: schnetter at cct.lsu.edu (Erik Schnetter) Date: Tue, 15 Apr 2008 14:39:45 -0500 Subject: [Patches] Storing gauge time derivatives in ADMBase In-Reply-To: <7187E9BE-6642-40DE-A0CE-04BCE5A98C9A@cct.lsu.edu> References: <7187E9BE-6642-40DE-A0CE-04BCE5A98C9A@cct.lsu.edu> Message-ID: On Apr 9, 2008, at 23:33:08, Erik Schnetter wrote: > The ADMBase variables store currently the 3-metric, lapse, shift, > and extrinsic curvature. They do not store the time derivatives of > lapse and shift, which makes it impossible to calculate the time > derivative of the 4-metric from the ADMBase variables. This is a > shortcoming, since almost all current evolution systems require > these, including common BSSN gauge conditions and harmonic evolution > schemes. (In many cases, initial data assume that these additional > time derivatives are zero to get around this issue.) > > The enclosed patch adds grid functions for dtlapse and dtbetax, > dtbetay, and dtbetaz. It also adds a few state variables so that > codes can determine whether these variables have storage; storage is > off by default for backwards compatibility. This is similar to the > shift vector, which also has no storage by default. I have applied this patch. -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.