Skip to content

Commit

Permalink
Apply preCICE config formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis committed Feb 20, 2024
1 parent 1ad9294 commit 8ff3d51
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 47 deletions.
7 changes: 0 additions & 7 deletions examples/lci_2d/precice-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@

<participant name="A">
<provide-mesh name="A-Mesh" />

<write-data name="Data" mesh="A-Mesh" />
</participant>

<participant name="B">
<receive-mesh name="A-Mesh" from="A" />

<provide-mesh name="B-Mesh" />

<read-data name="Data" mesh="B-Mesh" />

<mapping:linear-cell-interpolation
constraint="consistent"
direction="read"
Expand All @@ -38,11 +34,8 @@

<coupling-scheme:parallel-explicit>
<participants first="A" second="B" />

<max-time value="1.0" />

<time-window-size value="1" />

<exchange data="Data" mesh="A-Mesh" from="A" to="B" />
</coupling-scheme:parallel-explicit>
</precice-configuration>
7 changes: 0 additions & 7 deletions examples/lci_3d/precice-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@

<participant name="A">
<provide-mesh name="A-Mesh" />

<write-data name="Data" mesh="A-Mesh" />
</participant>

<participant name="B">
<receive-mesh name="A-Mesh" from="A" />

<provide-mesh name="B-Mesh" />

<read-data name="Data" mesh="B-Mesh" />

<mapping:linear-cell-interpolation
constraint="consistent"
direction="read"
Expand All @@ -38,11 +34,8 @@

<coupling-scheme:parallel-explicit>
<participants first="A" second="B" />

<max-time value="1.0" />

<time-window-size value="1" />

<exchange data="Data" mesh="A-Mesh" from="A" to="B" />
</coupling-scheme:parallel-explicit>
</precice-configuration>
8 changes: 0 additions & 8 deletions examples/nn/precice-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,14 @@

<participant name="A">
<provide-mesh name="A-Mesh" />

<write-data name="Data" mesh="A-Mesh" />
</participant>

<participant name="B">
<receive-mesh name="A-Mesh" from="A" />

<provide-mesh name="B-Mesh" />

<read-data name="Data" mesh="B-Mesh" />

<mapping:nearest-neighbor constraint="consistent" direction="read" from="A-Mesh" to="B-Mesh" />

<!-- <mapping:nearest-projection constraint="consistent" direction="read" from="A-Mesh" to="B-Mesh" /> -->
<!-- <mapping:rbf-gaussian shape-parameter="4" constraint="consistent" direction="read" from="A-Mesh" to="B-Mesh" x-dead="false" y-dead="false" z-dead="false" /> -->
<!-- <mapping:rbf-gaussian shape-parameter="5600" solver-rtol="1e-9" constraint="consistent" direction="read" from="A-Mesh" to="B-Mesh" x-dead="true" y-dead="false" z-dead="false" polynomial="separate" preallocation="tree"/> -->
Expand All @@ -40,11 +35,8 @@

<coupling-scheme:parallel-explicit>
<participants first="A" second="B" />

<max-time value="1.0" />

<time-window-size value="1" />

<exchange data="Data" mesh="A-Mesh" from="A" to="B" />
</coupling-scheme:parallel-explicit>
</precice-configuration>
7 changes: 0 additions & 7 deletions examples/nng_scalar/precice-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@

<participant name="A">
<provide-mesh name="A-Mesh" />

<write-data name="Data" mesh="A-Mesh" />
</participant>

<participant name="B">
<receive-mesh name="A-Mesh" from="A" />

<provide-mesh name="B-Mesh" />

<read-data name="Data" mesh="B-Mesh" />

<mapping:nearest-neighbor-gradient
constraint="consistent"
direction="read"
Expand All @@ -38,11 +34,8 @@

<coupling-scheme:parallel-explicit>
<participants first="A" second="B" />

<max-time value="1.0" />

<time-window-size value="1" />

<exchange data="Data" mesh="A-Mesh" from="A" to="B" />
</coupling-scheme:parallel-explicit>
</precice-configuration>
7 changes: 0 additions & 7 deletions examples/nng_vector/precice-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,13 @@

<participant name="A">
<provide-mesh name="A-Mesh" />

<write-data name="Data" mesh="A-Mesh" />
</participant>

<participant name="B">
<receive-mesh name="A-Mesh" from="A" />

<provide-mesh name="B-Mesh" />

<read-data name="Data" mesh="B-Mesh" />

<mapping:nearest-neighbor-gradient
constraint="consistent"
direction="read"
Expand All @@ -38,11 +34,8 @@

<coupling-scheme:parallel-explicit>
<participants first="A" second="B" />

<max-time value="1.0" />

<time-window-size value="1" />

<exchange data="Data" mesh="A-Mesh" from="A" to="B" />
</coupling-scheme:parallel-explicit>
</precice-configuration>
11 changes: 0 additions & 11 deletions examples/replay_mode/precice-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,16 @@

<participant name="Fluid">
<provide-mesh name="Fluid-Mesh" />

<receive-mesh name="Solid-Mesh" from="Solid" />

<read-data name="Displacement" mesh="Fluid-Mesh" />

<write-data name="Force" mesh="Fluid-Mesh" />

<mapping:rbf-global-direct
direction="read"
from="Solid-Mesh"
to="Fluid-Mesh"
constraint="consistent">
<basis-function:thin-plate-splines />
</mapping:rbf-global-direct>

<mapping:rbf-global-direct
direction="write"
from="Fluid-Mesh"
Expand All @@ -45,23 +40,17 @@

<participant name="Solid">
<provide-mesh name="Solid-Mesh" />

<read-data name="Force" mesh="Solid-Mesh" />

<write-data name="Displacement" mesh="Solid-Mesh" />

<watch-point mesh="Solid-Mesh" name="Flap-Tip" coordinate="0.25;0.0" />
</participant>

<m2n:sockets acceptor="Fluid" connector="Solid" exchange-directory="." />

<coupling-scheme:serial-explicit>
<time-window-size value="2.5e-1" />

<max-time value="2.5" />

<participants first="Fluid" second="Solid" />

<exchange data="Force" mesh="Solid-Mesh" from="Fluid" to="Solid" />
<exchange data="Displacement" mesh="Solid-Mesh" from="Solid" to="Fluid" />
</coupling-scheme:serial-explicit>
Expand Down

0 comments on commit 8ff3d51

Please sign in to comment.