![]() |
The scientific documentation of simulators is important to clearly describe the scientific concepts and methods applied in source code of simulators. In order to facilitate the writing and maintenance of these documentation, OpenFLUID provides the Sim2Doc system for simulators designers and developers.
The Sim2Doc system uses the simulator signature and an optional LaTeX -formatted text to build a PDF or HTML document. The LaTeX -formatted text can be placed in the main file of the simulator source code, into a single C++ comment block, and between the <sim2doc>
and </sim2doc>
tags.
Example of a part of source code including sim2doc informations:
The final document can be generated using the OpenFLUID Sim2Doc buddy, included in the OpenFLUID command line program. See also Buddies command line for available options.
Example of OpenFLUID command line to generate the PDF document using the Sim2Doc tool: