-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
240 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,80 @@ | ||
<?xml version="1.0"?> | ||
|
||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<precice-configuration> | ||
|
||
<log> | ||
<sink type="stream" output="stdout" filter= "%Severity% > debug" format="preCICE:%ColorizedSeverity% %Message%" enabled="true" /> | ||
<sink | ||
type="stream" | ||
output="stdout" | ||
filter="%Severity% > debug" | ||
format="preCICE:%ColorizedSeverity% %Message%" | ||
enabled="true" /> | ||
</log> | ||
<data:scalar name="scalarDataOne" /> | ||
<data:scalar name="scalarDataTwo" /> | ||
|
||
<data:vector name="vectorDataOne" /> | ||
<data:vector name="vectorDataTwo" /> | ||
<data:scalar name="scalarDataOne" /> | ||
<data:scalar name="scalarDataTwo" /> | ||
<data:vector name="vectorDataOne" /> | ||
<data:vector name="vectorDataTwo" /> | ||
|
||
<mesh name="MeshOne" dimensions="3"> | ||
<use-data name="scalarDataOne" /> | ||
<use-data name="scalarDataTwo" /> | ||
|
||
<use-data name="vectorDataOne" /> | ||
<use-data name="vectorDataTwo" /> | ||
</mesh> | ||
|
||
<mesh name="MeshTwo" dimensions="3"> | ||
<use-data name="scalarDataOne" /> | ||
<use-data name="scalarDataTwo" /> | ||
|
||
<use-data name="vectorDataOne" /> | ||
<use-data name="vectorDataTwo" /> | ||
</mesh> | ||
|
||
<participant name="SolverOne"> | ||
<provide-mesh name="MeshOne"/> | ||
|
||
<provide-mesh name="MeshOne" /> | ||
<write-data name="scalarDataOne" mesh="MeshOne" /> | ||
<write-data name="vectorDataOne" mesh="MeshOne" /> | ||
<read-data name="scalarDataTwo" mesh="MeshOne" /> | ||
<read-data name="vectorDataTwo" mesh="MeshOne" /> | ||
<read-data name="scalarDataTwo" mesh="MeshOne" /> | ||
<read-data name="vectorDataTwo" mesh="MeshOne" /> | ||
</participant> | ||
|
||
<participant name="SolverTwo"> | ||
<receive-mesh name="MeshOne" from="SolverOne"/> | ||
<provide-mesh name="MeshTwo"/> | ||
|
||
<mapping:nearest-neighbor direction="write" from="MeshTwo" to="MeshOne" constraint="conservative"/> | ||
<mapping:nearest-neighbor direction="read" from="MeshOne" to="MeshTwo" constraint="consistent" /> | ||
|
||
<receive-mesh name="MeshOne" from="SolverOne" /> | ||
<provide-mesh name="MeshTwo" /> | ||
<mapping:nearest-neighbor | ||
direction="write" | ||
from="MeshTwo" | ||
to="MeshOne" | ||
constraint="conservative" /> | ||
<mapping:nearest-neighbor | ||
direction="read" | ||
from="MeshOne" | ||
to="MeshTwo" | ||
constraint="consistent" /> | ||
<write-data name="scalarDataTwo" mesh="MeshTwo" /> | ||
<write-data name="vectorDataTwo" mesh="MeshTwo" /> | ||
<read-data name="scalarDataOne" mesh="MeshTwo" /> | ||
<read-data name="vectorDataOne" mesh="MeshTwo" /> | ||
<read-data name="scalarDataOne" mesh="MeshTwo" /> | ||
<read-data name="vectorDataOne" mesh="MeshTwo" /> | ||
</participant> | ||
|
||
<m2n:sockets acceptor="SolverOne" connector="SolverTwo" exchange-directory="."/> | ||
|
||
<coupling-scheme:serial-implicit> | ||
<participants first="SolverOne" second="SolverTwo" /> | ||
<max-time-windows value="2" /> | ||
<time-window-size value="1.0" /> | ||
<max-iterations value="2" /> | ||
|
||
<exchange data="scalarDataOne" mesh="MeshOne" from="SolverOne" to="SolverTwo" /> | ||
<exchange data="vectorDataOne" mesh="MeshOne" from="SolverOne" to="SolverTwo" /> | ||
|
||
<exchange data="scalarDataTwo" mesh="MeshOne" from="SolverTwo" to="SolverOne" initialize="yes"/> | ||
<exchange data="vectorDataTwo" mesh="MeshOne" from="SolverTwo" to="SolverOne" initialize="yes"/> | ||
</coupling-scheme:serial-implicit> | ||
<m2n:sockets acceptor="SolverOne" connector="SolverTwo" exchange-directory="." /> | ||
|
||
<coupling-scheme:serial-implicit> | ||
<participants first="SolverOne" second="SolverTwo" /> | ||
<max-time-windows value="2" /> | ||
<time-window-size value="1.0" /> | ||
<max-iterations value="2" /> | ||
<exchange data="scalarDataOne" mesh="MeshOne" from="SolverOne" to="SolverTwo" /> | ||
<exchange data="vectorDataOne" mesh="MeshOne" from="SolverOne" to="SolverTwo" /> | ||
<exchange | ||
data="scalarDataTwo" | ||
mesh="MeshOne" | ||
from="SolverTwo" | ||
to="SolverOne" | ||
initialize="yes" /> | ||
<exchange | ||
data="vectorDataTwo" | ||
mesh="MeshOne" | ||
from="SolverTwo" | ||
to="SolverOne" | ||
initialize="yes" /> | ||
</coupling-scheme:serial-implicit> | ||
</precice-configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.