[Developers] patch: AEIThorns/BSSN_MoL: add new boundary option "nothing at all"

Erik Schnetter schnetter at aei.mpg.de
Sat May 14 12:04:16 CDT 2005


On Saturday 14 May 2005 18:15, Jonathan Thornburg wrote:
> Hi,
>
> As of current CVS, AEIThorns/BSSN_MoL has a number of different
> boundary options, all implemented via thorn Boundary.  Unfortunately,
> * Boundary doesn't (yet) grok multiple patches: it aborts with a
> level-0 error if an attempt is made to register multiple boundary
> conditions for the same face of "the" grid.

Yes, this functionality is missing.

> * BSSN_MoL schedules code in src/Constraints.F in local mode, so it
>    will run once for each patch... and this code calls
>     Boundary_SelectGroupForBC()  to register a boundary condition

This routine needs to be called in level mode.  If necessary, the 
calling function needs to be split.  Would this alone correct the 
problem?

> I propose the enclosed patch to "fix" this behavior:

[schnipp]

> Are there any objections to my applying this patch?

If scheduling things in level mode correct the problem, then this should 
be done.  If the interactions between BSSN_MoL and Boundary are too 
complex, then your workaround would be fine.

Which boundary condition do you want to use in the end?  I assume "none" 
would work, and Dirichlet and von Neumann as well.  Radiation and Robin 
probably have problems, but can be written much more elegantly on a 
spherical grid anyway.

-erik

-- 
Erik Schnetter <schnetter at aei.mpg.de>   http://www.aei.mpg.de/~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: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.cactuscode.org/pipermail/developers/attachments/20050514/301df24a/attachment-0002.bin 


More information about the Developers mailing list