Skip to content

Commit 2369a36

Browse files
committed
Updating documentation
1 parent 4821803 commit 2369a36

3 files changed

Lines changed: 17 additions & 15 deletions

File tree

doc/contents/apdx_generators.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ Note: expected format for Map is `(key: String, value: openfluid::core::Value)`
1919

2020
## Floating-point variables
2121

22-
*The non-scalar double generator can be used either with a single value for all, or a value for each cell of the container. Eg, for every time step and every unit of the given unit class, for a generator of vector of size 4 containing doubles:
23-
- "3" will produce as variable value \[3.0, 3.0, 3.0, 3.0\]
22+
*The non-scalar double generator can be used either with a single value for all, or a value for each cell of the container If a single value is given, a parameter `varsize` is required with expected dimension (eg "[3]" for a vector or "[2,4]" for a matrix).
23+
24+
An example for every time step and every unit of the given unit class, for a generator of vector of size 4 containing doubles:
25+
- "3" with `varsize` parameter being `[4]` will produce as variable value \[3.0, 3.0, 3.0, 3.0\]
2426
- "[1,4,2.2,3]" will produce as variable value \[1.0, 4.0, 2.2, 3.0\]
2527

2628
An option is available for the random generator, to be able to have identical or different values inside the container.

doc/contents/dev_srccode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,8 @@ _Example of call of the fortran subroutine from the initializeRun method (e.g. F
761761

762762

763763
The compilation and linking of Fortran source code is automatically done
764-
when adding fortran source files to the SIM_FORTRAN variable in the CMake.in.config file
765-
(See @ref dev_createsim_exmpl_config).
764+
when adding fortran source files to the `FORTRAN_FILES` variable in the src/CMakeLists.txt file
765+
(See @ref dev_createsim_exmpl_src_cmakelists).
766766

767767

768768
## Embedding R code {#dev_srccode_R}

resources/translations/openfluid-fr_FR.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -339,40 +339,40 @@
339339
<message>
340340
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="363"/>
341341
<source>Container dimensions may not be finished</source>
342-
<translation>Le dimensions du conteneur n'est peut-être pas terminée</translation>
342+
<translation>Le dimensions du conteneur n&apos;est peut-être pas terminée</translation>
343343
</message>
344344
<message>
345345
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="368"/>
346346
<source>Bad format for container dimensions</source>
347347
<translation>Format incorrect pour les dimensions du conteneur</translation>
348348
</message>
349349
<message>
350-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="528"/>
351-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="553"/>
350+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="529"/>
351+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="554"/>
352352
<source>Select sources file</source>
353353
<translation>Sélectionner le fichier des sources</translation>
354354
</message>
355355
<message>
356-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="530"/>
357-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="555"/>
358-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="580"/>
356+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="531"/>
357+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="556"/>
358+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="581"/>
359359
<source>All files (*.*)</source>
360360
<translation>Tous les fichiers (*.*)</translation>
361361
</message>
362362
<message>
363-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="538"/>
364-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="563"/>
365-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="588"/>
363+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="539"/>
364+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="564"/>
365+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="589"/>
366366
<source>Choosen file is not located in the input dataset of the project</source>
367367
<translation>Le fichier choisi n&apos;est pas dans le jeu de données d&apos;entrée du projet</translation>
368368
</message>
369369
<message>
370-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="578"/>
370+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="579"/>
371371
<source>Select distribution file</source>
372372
<translation>Sélectionner le fichier de distribution</translation>
373373
</message>
374374
<message>
375-
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="613"/>
375+
<location filename="../../src/apps/openfluid-builder/model/AddGeneratorDialog.cpp" line="614"/>
376376
<source>Data file not working</source>
377377
<translation>Le fichier de données ne fonctionne pas</translation>
378378
</message>

0 commit comments

Comments
 (0)