Skip to content

Commit

Permalink
Move dimensions attribute to mesh tag
Browse files Browse the repository at this point in the history
  • Loading branch information
davidscn committed Aug 16, 2023
1 parent c805235 commit 01c91dd
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 31 deletions.
10 changes: 5 additions & 5 deletions examples/Wall_beam/precice-config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<precice-configuration dimensions="2">
<precice-configuration>
<log>
<sink
filter="%Severity% > debug and %Rank% = 0"
Expand All @@ -10,19 +10,19 @@
<data:vector name="Stress" />
<data:vector name="Displacement" />

<mesh name="Fluid-Mesh-Nodes">
<mesh name="Fluid-Mesh-Nodes" dimensions="2">
<use-data name="Displacement" />
</mesh>

<mesh name="Fluid-Mesh-Faces">
<mesh name="Fluid-Mesh-Faces" dimensions="2">
<use-data name="Stress" />
</mesh>

<mesh name="Solid-write">
<mesh name="Solid-write" dimensions="2">
<use-data name="Displacement" />
</mesh>

<mesh name="Solid-read">
<mesh name="Solid-read" dimensions="2">
<use-data name="Stress" />
</mesh>

Expand Down
10 changes: 5 additions & 5 deletions examples/bending_flap/precice-config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<precice-configuration dimensions="3">
<precice-configuration>
<log>
<sink
filter="%Severity% > debug and %Rank% = 0"
Expand All @@ -10,19 +10,19 @@
<data:vector name="Stress" />
<data:vector name="Displacement" />

<mesh name="Fluid-Mesh-Nodes">
<mesh name="Fluid-Mesh-Nodes" dimensions="3">
<use-data name="Displacement" />
</mesh>

<mesh name="Fluid-Mesh-Faces">
<mesh name="Fluid-Mesh-Faces" dimensions="3">
<use-data name="Stress" />
</mesh>

<mesh name="Solid-write">
<mesh name="Solid-write" dimensions="3">
<use-data name="Displacement" />
</mesh>

<mesh name="Solid-read">
<mesh name="Solid-read" dimensions="3">
<use-data name="Stress" />
</mesh>

Expand Down
10 changes: 5 additions & 5 deletions examples/partitioned-heat-conduction/precice-config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<precice-configuration dimensions="2">
<precice-configuration>
<log>
<sink
filter="%Severity% > debug and %Rank% = 0"
Expand All @@ -10,19 +10,19 @@
<data:scalar name="Temperature" />
<data:scalar name="Heat-Flux" />

<mesh name="Dirichlet-read">
<mesh name="Dirichlet-read" dimensions="2">
<use-data name="Temperature" />
</mesh>

<mesh name="Dirichlet-write">
<mesh name="Dirichlet-write" dimensions="2">
<use-data name="Heat-Flux" />
</mesh>

<mesh name="Neumann-read">
<mesh name="Neumann-read" dimensions="2">
<use-data name="Heat-Flux" />
</mesh>

<mesh name="Neumann-write">
<mesh name="Neumann-write" dimensions="2">
<use-data name="Temperature" />
</mesh>

Expand Down
10 changes: 5 additions & 5 deletions examples/tube3d/precice-config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<precice-configuration dimensions="3">
<precice-configuration>
<log>
<sink
filter="%Severity% > debug and %Rank% = 0"
Expand All @@ -10,19 +10,19 @@
<data:vector name="Stress" />
<data:vector name="Displacement" />

<mesh name="Fluid-Mesh-Nodes">
<mesh name="Fluid-Mesh-Nodes" dimensions="3">
<use-data name="Displacement" />
</mesh>

<mesh name="Fluid-Mesh-Faces">
<mesh name="Fluid-Mesh-Faces" dimensions="3">
<use-data name="Stress" />
</mesh>

<mesh name="Solid-write">
<mesh name="Solid-write" dimensions="3">
<use-data name="Displacement" />
</mesh>

<mesh name="Solid-read">
<mesh name="Solid-read" dimensions="3">
<use-data name="Stress" />
</mesh>

Expand Down
6 changes: 3 additions & 3 deletions tests/heat/partitioned-heat-direct-access/precice-config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<precice-configuration dimensions="2">
<precice-configuration>
<log>
<sink
filter="%Severity% > debug and %Rank% = 0"
Expand All @@ -10,11 +10,11 @@
<data:scalar name="Temperature" />
<data:scalar name="Heat-Flux" />

<mesh name="Dirichlet-Mesh">
<mesh name="Dirichlet-Mesh" dimensions="2">
<use-data name="Temperature" />
</mesh>

<mesh name="Neumann-Mesh">
<mesh name="Neumann-Mesh" dimensions="2">
<use-data name="Heat-Flux" />
</mesh>

Expand Down
10 changes: 5 additions & 5 deletions tests/heat/partitioned-heat/precice-config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<precice-configuration dimensions="2">
<precice-configuration>
<log>
<sink
filter="%Severity% > debug and %Rank% = 0"
Expand All @@ -10,19 +10,19 @@
<data:scalar name="Temperature" />
<data:scalar name="Heat-Flux" />

<mesh name="Dirichlet-read">
<mesh name="Dirichlet-read" dimensions="2">
<use-data name="Temperature" />
</mesh>

<mesh name="Dirichlet-write">
<mesh name="Dirichlet-write" dimensions="2">
<use-data name="Heat-Flux" />
</mesh>

<mesh name="Neumann-read">
<mesh name="Neumann-read" dimensions="2">
<use-data name="Heat-Flux" />
</mesh>

<mesh name="Neumann-write">
<mesh name="Neumann-write" dimensions="2">
<use-data name="Temperature" />
</mesh>

Expand Down
6 changes: 3 additions & 3 deletions tests/solid/precice-config_unified.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<precice-configuration dimensions="2">
<precice-configuration>
<log>
<sink
filter="%Severity% > debug and %Rank% = 0"
Expand All @@ -10,12 +10,12 @@
<data:vector name="Stress" />
<data:vector name="Displacement" />

<mesh name="dealii-mesh">
<mesh name="dealii-mesh" dimensions="2">
<use-data name="Displacement" />
<use-data name="Stress" />
</mesh>

<mesh name="tester-mesh">
<mesh name="tester-mesh" dimensions="2">
<use-data name="Displacement" />
<use-data name="Stress" />
</mesh>
Expand Down

0 comments on commit 01c91dd

Please sign in to comment.