![]() |
The scientific documentation of simulators is very important to clearly understand 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. If present, the LaTeX -formatted text is 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 for available options.
Example of generation of the PDF document using Sim2Doc tool: