Skip to content

Commit

Permalink
Add Rust bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
MakisH committed Feb 8, 2024
1 parent c75efa6 commit 71c4702
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions images/docs/Bindings.drawio
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mxfile host="Electron" modified="2024-02-08T22:09:26.071Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.0.2 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="T7Ite3tnNPYBgIf-CHsq" version="23.0.2" type="device">
<mxfile host="Electron" modified="2024-02-08T22:29:15.408Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.0.2 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="ol_4TWFD8kyj6DHY0vFi" version="23.0.2" type="device">
<diagram id="hYVVODAgU63mohFtX49g" name="Page-1">
<mxGraphModel dx="2001" dy="1787" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
Expand Down Expand Up @@ -49,7 +49,7 @@
<mxPoint x="340" y="310" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="QHRHIjRIj0fhzcaKsaCG-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;dashPattern=1 1;" parent="1" source="QHRHIjRIj0fhzcaKsaCG-14" target="QHRHIjRIj0fhzcaKsaCG-23" edge="1">
<mxCell id="QHRHIjRIj0fhzcaKsaCG-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;entryX=-0.001;entryY=0.579;entryDx=0;entryDy=0;dashed=1;dashPattern=1 1;entryPerimeter=0;" parent="1" source="QHRHIjRIj0fhzcaKsaCG-14" target="QHRHIjRIj0fhzcaKsaCG-23" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="QHRHIjRIj0fhzcaKsaCG-14" value="C solver" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
Expand Down Expand Up @@ -136,12 +136,12 @@
<mxCell id="Ri5KKmGAbXfFG7E4pKZj-7" value="Fortran" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="490" y="120" width="40" height="20" as="geometry" />
</mxCell>
<mxCell id="Ri5KKmGAbXfFG7E4pKZj-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" parent="1" target="QHRHIjRIj0fhzcaKsaCG-34" edge="1">
<mxCell id="Ri5KKmGAbXfFG7E4pKZj-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-40" y="299.97" as="sourcePoint" />
<mxPoint x="190" y="29.97" as="targetPoint" />
<mxPoint x="130" y="120" as="targetPoint" />
<Array as="points">
<mxPoint x="140" y="300" />
<mxPoint x="130" y="300" />
</Array>
</mxGeometry>
</mxCell>
Expand Down Expand Up @@ -212,12 +212,38 @@
<mxCell id="fCn0hWhs9GKEyJ6KPFge-2" value="PreCICE.jl" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="390" y="500" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="_6xte_bvHcVi9WSXcDBz-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="_6xte_bvHcVi9WSXcDBz-3" target="_6xte_bvHcVi9WSXcDBz-4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="_6xte_bvHcVi9WSXcDBz-1" value="Participant.hpp&lt;br&gt;Version.h&lt;br&gt;(span.hpp, ...)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="270" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="_6xte_bvHcVi9WSXcDBz-3" value="Rust solver" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" vertex="1" parent="1">
<mxGeometry x="80" y="500" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="_6xte_bvHcVi9WSXcDBz-2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=-0.006;entryY=0.664;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="QHRHIjRIj0fhzcaKsaCG-34" target="_6xte_bvHcVi9WSXcDBz-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="_6xte_bvHcVi9WSXcDBz-4" value="precice-bridge.cpp" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="-80" y="500" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="_6xte_bvHcVi9WSXcDBz-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="_6xte_bvHcVi9WSXcDBz-4" target="QHRHIjRIj0fhzcaKsaCG-34">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-20" y="460" />
<mxPoint x="70" y="460" />
<mxPoint x="70" y="105" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="_6xte_bvHcVi9WSXcDBz-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.001;entryY=0.388;entryDx=0;entryDy=0;entryPerimeter=0;dashed=1;dashPattern=1 1;" edge="1" parent="1" source="_6xte_bvHcVi9WSXcDBz-3" target="QHRHIjRIj0fhzcaKsaCG-23">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="240" y="530" />
<mxPoint x="240" y="343" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
Expand Down
Binary file modified images/docs/Bindings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 71c4702

Please sign in to comment.