next up previous contents
Next: Creating a Thorn Up: Anatomy of a Thorn Previous: Anatomy of a Thorn   Contents

Thorns

A thorn consists of a subdirectory of an arrangement containing four administrative files:

interface.ccl
the Cactus interface, which defines the grid functions, variables, etc. See Appendix E2.2.
param.ccl
the parameters introduced by this thorn, and the parameters needed from other thorns. See Appendix E2.3.
schedule.ccl
scheduling information for routines called by the flesh. See Appendix E2.4.
configuration.ccl
configuration options for the thorn. See Appendix E2.5.

Thorns can also contain

  • a subdirectory called src, which should hold source files and compilation instructions for the thorn
  • a subdirectory src/include for include files
  • a README containing a brief description of the thorn
  • a doc directory for documentation
  • a par directory for example parameter files
  • a test subdirectory may also be added, to hold the thorn's test suite. See Section B9.5 for details.