Skip to content

Commit

Permalink
Use default network from preCICE
Browse files Browse the repository at this point in the history
  • Loading branch information
davidscn committed Sep 19, 2024
1 parent 8a5c1b7 commit 9e042db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/mapping-tester/config-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<use-data name="Data" />
</mesh>

<m2n:sockets acceptor="A" connector="B" network="{{ network }}" exchange-directory="." />
<m2n:sockets acceptor="A" connector="B"{% if network %} network="{{ network }}"{% endif %} exchange-directory="." />

<participant name="A">
<provide-mesh name="A-Mesh" />
Expand Down
2 changes: 1 addition & 1 deletion tools/mapping-tester/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def as_iter(something):

def generateCases(setup):
meshes = setup["general"]["meshes"]
network = setup["general"].get("network", "lo")
network = setup["general"].get("network")
syncmode = setup["general"].get("synchronize", "false")

cases = []
Expand Down

0 comments on commit 9e042db

Please sign in to comment.