Skip to content

Commit

Permalink
Add link to an example for tutorial-specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisH authored Sep 2, 2024
1 parent 88d01ca commit 2994a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/community/community-contribute-to-precice.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ There are several helper scripts and functions in `tools/`; using these will mak

### Tutorial-specific codes

In case a tutorial-specific code example is needed for this tutorial, and this can be reused among participants, add that in `solver-<code>/`.
In case a tutorial-specific code example is needed for this tutorial, and this can be reused among participants, add that in `solver-<code>/`. See, for example, the [partitioned heat conduction tutorial](https://github.com/precice/tutorials/tree/develop/partitioned-heat-conduction).

You don't need to have a participant-specific configuration file in a participant case (even though that would be nice). Instead, you can hard-code the configuration of each participant in the code and select the respective participant via a command-line argument. A case-specific `run.sh` that provides the participant as command-line argument is enough.

Expand Down

0 comments on commit 2994a6e

Please sign in to comment.