next up previous contents
Next: Data Types and Sizes Up: Advanced Thorn Writing Previous: Naming Conventions   Contents

General Naming Conventions

The following naming conventions are followed by the flesh and the supported Cactus arrangements. They are not compulsory, but if followed, will allow for a homogeneous code.

  • Parameters: lower case (except for acronyms) with words separated by an underscore. Examples: my_first_parameter, solve_PDE_equation.

  • Filenames and routine names: Prefixed by thorn name with an underscore, then capitalised words, with no spaces. Examples: MyThorn_StartUpRoutine, BestSolver_InitialDataForPDE.