[Users] Thorn for coupled equations

Erik Schnetter schnetter at gmail.com
Mon Feb 7 12:50:12 CST 2022


Nicholas

Are you writing your thorn via Kranc, or are you writing it in C/C++/Fortran?

There is a schedule group "AddToTmunu". You should schedule a routine
there that modifies (adds to) the Tmunu variables, as there might be
several sources of stress-energy. Particular to Kranc, you will need
to (a) determine how to access the Tmumu variables, and (b) set up the
correct scheduling to ensure that the routine is called at the right
time.

If you are looking for details then we can schedule a Zoom call to discuss.

-erik

On Mon, Feb 7, 2022 at 12:50 PM Nick Olsen <n.olsen.3.711 at gmail.com> wrote:
>
> Hello everyone
>
> I have been trying to write a thorn to couple the Klein-Gordon equations to the 3+1 Einstein equations. I can't figure out the details on how to make the thorn tell the ET how to update T_munu according to the evolution equations. I've been trying to write the thorn with Kranc without much luck, as Kranc isn't telling me anything when it does fail. I have attached the .m of the attempted thorn here. If anyone has any input or suggestions it would be greatly appreciated.
>
> Nicholas Olsen
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users



-- 
Erik Schnetter <schnetter at gmail.com>
http://www.perimeterinstitute.ca/personal/eschnetter/


More information about the Users mailing list