next up previous contents
Next: For thorns which need Up: CalcTmunu Previous: Background   Contents

For matter thorns

To make use of the CalcTmunu interface, simply place the lines
INCLUDES HEADER: <MyThorn_CalcTmunu_temps.inc> in CalcTmunu_temps.inc
INCLUDES SOURCE: <MyThorn_CalcTmunu.inc> in CalcTmunu.inc
in your thorn's interface.ccl file, and declare your thorn to be friends with ADMCoupling. Then provide the files <MyThorn_CalcTmunu_temps.inc> and <MyThorn_CalcTmunu.inc> somewhere in your thorn's source code. We expect to add a sample matter thorn to CactusEinstein soon, which will illustrate the use of this.