.clr file format

General File Structure

The Keyword concept allows a very flexible file structuring: it is not necessary to give the separate pieces of information in a certain sequence. Layers need not be defined in the sequence given by depth (or radius). Discontinuities need not be defined between the layers they separate. The planets radius does not have to be defined first. Comments may be nearly everywhere. Enjoy!

The only important point is that layers are defined by a couple of lines which are grouped by start and end Modifiers. This is necessary to make sure that velocities, densities etc. are connected in the right way.

May be I'm repeating myself, but it is indeed important to understand that the .clr file format is not organized by format strings. Instead, a .clr file consist of lines, and lines consist of tokens, separated by whitespace.


eof.