Skip to content
Snippets Groups Projects
Commit bda5465b authored by Tom Fischer's avatar Tom Fischer
Browse files

[T] Update tests for multiple meshes + geometry

parent 6f251026
No related branches found
No related tags found
No related merge requests found
Showing
with 93 additions and 16 deletions
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProject> <OpenGeoSysProject>
<mesh>cube_1x1x1_hex_1e0.vtu</mesh> <meshes>
<mesh>cube_1x1x1_hex_1e0.vtu</mesh>
<mesh>cube_1x1x1_hex_1e0_left.vtu</mesh>
</meshes>
<geometry>cube_1x1x1.gml</geometry> <geometry>cube_1x1x1.gml</geometry>
<processes> <processes>
<include file="SteadyStateDiffusion.xml"/> <include file="SteadyStateDiffusion.xml"/>
......
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProjectDiff base_file="cube_1e0.prj"> <OpenGeoSysProjectDiff base_file="cube_1e0.prj">
<!-- <replace sel="/*/mesh/text()">cube_1x1x1_hex_1e0.vtu</replace> -->
<replace sel="/*/time_loop/output/prefix/text()" after_includes="true">1e0_{:meshname}</replace> <replace sel="/*/time_loop/output/prefix/text()" after_includes="true">1e0_{:meshname}</replace>
</OpenGeoSysProjectDiff> </OpenGeoSysProjectDiff>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<OpenGeoSysProject> <OpenGeoSysProject>
<mesh>cube_1x1x1_hex_1e0.vtu</mesh> <meshes>
<mesh>cube_1x1x1_hex_1e0.vtu</mesh>
<mesh>cube_1x1x1_hex_1e0_left.vtu</mesh>
</meshes>
<geometry>cube_1x1x1.gml</geometry> <geometry>cube_1x1x1.gml</geometry>
<processes> <processes>
<process> <process>
......
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProjectDiff base_file="cube_1e0.prj"> <OpenGeoSysProjectDiff base_file="cube_1e0.prj">
<replace sel="/*/mesh/text()">cube_1x1x1_hex_1e1.vtu</replace> <replace sel="/*/meshes/mesh[1]/text()">cube_1x1x1_hex_1e1.vtu</replace>
<replace sel="/*/meshes/mesh[2]/text()">cube_1x1x1_hex_1e1_left.vtu</replace>
<replace sel="/*/time_loop/output/meshes/mesh/text()" after_includes="true">cube_1x1x1_hex_1e1</replace> <replace sel="/*/time_loop/output/meshes/mesh/text()" after_includes="true">cube_1x1x1_hex_1e1</replace>
<replace sel="/*/time_loop/output/prefix/text()" after_includes="true">1e1_{:meshname}</replace> <replace sel="/*/time_loop/output/prefix/text()" after_includes="true">1e1_{:meshname}</replace>
<add sel="/*/process_variables/process_variable/boundary_conditions/boundary_condition[1]/type" after_includes="true" pos="before">
<mesh>cube_1x1x1_hex_1e1_left</mesh>
</add>
<remove sel="/*/process_variables/process_variable/boundary_conditions/boundary_condition[1]/geometrical_set" />
<remove sel="/*/process_variables/process_variable/boundary_conditions/boundary_condition[1]/geometry" />
</OpenGeoSysProjectDiff> </OpenGeoSysProjectDiff>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<OpenGeoSysProject> <OpenGeoSysProject>
<mesh>cube_1x1x1_hex_1e1.vtu</mesh> <meshes>
<mesh>cube_1x1x1_hex_1e1.vtu</mesh>
<mesh>cube_1x1x1_hex_1e1_left.vtu</mesh>
</meshes>
<geometry>cube_1x1x1.gml</geometry> <geometry>cube_1x1x1.gml</geometry>
<processes> <processes>
<process> <process>
...@@ -200,8 +203,7 @@ ...@@ -200,8 +203,7 @@
<initial_condition>p0</initial_condition> <initial_condition>p0</initial_condition>
<boundary_conditions> <boundary_conditions>
<boundary_condition> <boundary_condition>
<geometrical_set>cube_1x1x1_geometry</geometrical_set> <mesh>cube_1x1x1_hex_1e1_left</mesh>
<geometry>left</geometry>
<type>Dirichlet</type> <type>Dirichlet</type>
<parameter>p_Dirichlet_left</parameter> <parameter>p_Dirichlet_left</parameter>
</boundary_condition> </boundary_condition>
......
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProjectDiff base_file="cube_1e0.prj"> <OpenGeoSysProjectDiff base_file="cube_1e0.prj">
<replace sel="/*/mesh/text()">cube_1x1x1_hex_1e2.vtu</replace> <replace sel="/*/meshes/mesh[1]/text()">cube_1x1x1_hex_1e2.vtu</replace>
<replace sel="/*/meshes/mesh[2]/text()">cube_1x1x1_hex_1e2_left.vtu</replace>
<replace sel="/*/time_loop/output/meshes/mesh/text()" after_includes="true">cube_1x1x1_hex_1e2</replace> <replace sel="/*/time_loop/output/meshes/mesh/text()" after_includes="true">cube_1x1x1_hex_1e2</replace>
<replace sel="/*/time_loop/output/prefix/text()" after_includes="true">1e2_{:meshname}</replace> <replace sel="/*/time_loop/output/prefix/text()" after_includes="true">1e2_{:meshname}</replace>
<add sel="/*/process_variables/process_variable/boundary_conditions/boundary_condition[1]/type" after_includes="true" pos="before">
<mesh>cube_1x1x1_hex_1e2_left</mesh>
</add>
<remove sel="/*/process_variables/process_variable/boundary_conditions/boundary_condition[1]/geometrical_set" />
<remove sel="/*/process_variables/process_variable/boundary_conditions/boundary_condition[1]/geometry" />
</OpenGeoSysProjectDiff> </OpenGeoSysProjectDiff>
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProjectDiff base_file="cube_1e0.prj"> <OpenGeoSysProjectDiff base_file="cube_1e0.prj">
<remove sel="/*/meshes" />
<add sel="/*/processes" after_includes="true" pos="before"> <add sel="/*/processes" after_includes="true" pos="before">
<meshes> <meshes>
<mesh>cube_1x1x1_hex_1e2.vtu</mesh> <mesh>cube_1x1x1_hex_1e2.vtu</mesh>
...@@ -8,7 +9,6 @@ ...@@ -8,7 +9,6 @@
<mesh>cube_1x1x1_hex_1e2_inner_bar_domain.vtu</mesh> <mesh>cube_1x1x1_hex_1e2_inner_bar_domain.vtu</mesh>
</meshes> </meshes>
</add> </add>
<remove sel="/*/mesh" />
<remove sel="/*/geometry" /> <remove sel="/*/geometry" />
<replace sel="/*/time_loop/output/prefix/text()" after_includes="true">{:meshname}_3d_submesh_output_test</replace> <replace sel="/*/time_loop/output/prefix/text()" after_includes="true">{:meshname}_3d_submesh_output_test</replace>
<replace sel="/*/time_loop/output/meshes/mesh/text()" after_includes="true">cube_1x1x1_hex_1e2</replace> <replace sel="/*/time_loop/output/meshes/mesh/text()" after_includes="true">cube_1x1x1_hex_1e2</replace>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<OpenGeoSysProject> <OpenGeoSysProject>
<mesh>cube_1x1x1_hex_1e2.vtu</mesh> <meshes>
<mesh>cube_1x1x1_hex_1e2.vtu</mesh>
<mesh>cube_1x1x1_hex_1e2_left.vtu</mesh>
</meshes>
<geometry>cube_1x1x1.gml</geometry> <geometry>cube_1x1x1.gml</geometry>
<processes> <processes>
<process> <process>
...@@ -200,8 +203,7 @@ ...@@ -200,8 +203,7 @@
<initial_condition>p0</initial_condition> <initial_condition>p0</initial_condition>
<boundary_conditions> <boundary_conditions>
<boundary_condition> <boundary_condition>
<geometrical_set>cube_1x1x1_geometry</geometrical_set> <mesh>cube_1x1x1_hex_1e2_left</mesh>
<geometry>left</geometry>
<type>Dirichlet</type> <type>Dirichlet</type>
<parameter>p_Dirichlet_left</parameter> <parameter>p_Dirichlet_left</parameter>
</boundary_condition> </boundary_condition>
......
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<OpenGeoSysProjectDiff base_file="cube_1e0.prj"> <OpenGeoSysProjectDiff base_file="cube_1e0.prj">
<replace sel="/*/mesh/text()">cube_1x1x1_hex_1e3.vtu</replace> <replace sel="/*/meshes/mesh[1]/text()">cube_1x1x1_hex_1e3.vtu</replace>
<replace sel="/*/meshes/mesh[2]/text()">cube_1x1x1_hex_1e3_left.vtu</replace>
<replace sel="/*/time_loop/output/meshes/mesh/text()" after_includes="true">cube_1x1x1_hex_1e3</replace> <replace sel="/*/time_loop/output/meshes/mesh/text()" after_includes="true">cube_1x1x1_hex_1e3</replace>
<replace sel="/*/time_loop/output/prefix/text()" after_includes="true">1e3_{:meshname}</replace> <replace sel="/*/time_loop/output/prefix/text()" after_includes="true">1e3_{:meshname}</replace>
<add sel="/*/process_variables/process_variable/boundary_conditions/boundary_condition[1]/type" after_includes="true" pos="before">
<mesh>cube_1x1x1_hex_1e3_left</mesh>
</add>
<remove sel="/*/process_variables/process_variable/boundary_conditions/boundary_condition[1]/geometrical_set" />
<remove sel="/*/process_variables/process_variable/boundary_conditions/boundary_condition[1]/geometry" />
</OpenGeoSysProjectDiff> </OpenGeoSysProjectDiff>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<OpenGeoSysProject> <OpenGeoSysProject>
<mesh>cube_1x1x1_hex_1e3.vtu</mesh> <meshes>
<mesh>cube_1x1x1_hex_1e3.vtu</mesh>
<mesh>cube_1x1x1_hex_1e3_left.vtu</mesh>
</meshes>
<geometry>cube_1x1x1.gml</geometry> <geometry>cube_1x1x1.gml</geometry>
<processes> <processes>
<process> <process>
...@@ -200,8 +203,7 @@ ...@@ -200,8 +203,7 @@
<initial_condition>p0</initial_condition> <initial_condition>p0</initial_condition>
<boundary_conditions> <boundary_conditions>
<boundary_condition> <boundary_condition>
<geometrical_set>cube_1x1x1_geometry</geometrical_set> <mesh>cube_1x1x1_hex_1e3_left</mesh>
<geometry>left</geometry>
<type>Dirichlet</type> <type>Dirichlet</type>
<parameter>p_Dirichlet_left</parameter> <parameter>p_Dirichlet_left</parameter>
</boundary_condition> </boundary_condition>
......
<?xml version="1.0"?>
<VTKFile type="UnstructuredGrid" version="1.0" byte_order="LittleEndian" header_type="UInt64">
<UnstructuredGrid>
<Piece NumberOfPoints="4" NumberOfCells="1" >
<PointData>
<DataArray type="UInt64" Name="bulk_node_ids" format="appended" RangeMin="0" RangeMax="6" offset="0" />
</PointData>
<CellData>
<DataArray type="UInt64" Name="bulk_element_ids" format="appended" RangeMin="0" RangeMax="0" offset="56" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="1.4142135624" offset="80" />
</Points>
<Cells>
<DataArray type="Int64" Name="connectivity" format="appended" RangeMin="" RangeMax="" offset="220" />
<DataArray type="Int64" Name="offsets" format="appended" RangeMin="" RangeMax="" offset="276" />
<DataArray type="UInt8" Name="types" format="appended" RangeMin="" RangeMax="" offset="300" />
</Cells>
</Piece>
</UnstructuredGrid>
<AppendedData encoding="base64">
_IAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAABAAAAAAAAAAGAAAAAAAAAA==CAAAAAAAAAAAAAAAAAAAAA==YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8D8AAAAAAAAAAAAAAAAAAPA/AAAAAAAA8D8=IAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAADAAAAAAAAAA==CAAAAAAAAAAEAAAAAAAAAA==AQAAAAAAAAAJ
</AppendedData>
</VTKFile>
<?xml version="1.0"?>
<VTKFile type="UnstructuredGrid" version="1.0" byte_order="LittleEndian" header_type="UInt64">
<UnstructuredGrid>
<Piece NumberOfPoints="9" NumberOfCells="4" >
<PointData>
<DataArray type="UInt64" Name="bulk_node_ids" format="appended" RangeMin="0" RangeMax="24" offset="0" />
</PointData>
<CellData>
<DataArray type="UInt64" Name="bulk_element_ids" format="appended" RangeMin="0" RangeMax="6" offset="108" />
</CellData>
<Points>
<DataArray type="Float64" Name="Points" NumberOfComponents="3" format="appended" RangeMin="0" RangeMax="1.4142135624" offset="164" />
</Points>
<Cells>
<DataArray type="Int64" Name="connectivity" format="appended" RangeMin="" RangeMax="" offset="464" />
<DataArray type="Int64" Name="offsets" format="appended" RangeMin="" RangeMax="" offset="648" />
<DataArray type="UInt8" Name="types" format="appended" RangeMin="" RangeMax="" offset="704" />
</Cells>
</Piece>
</UnstructuredGrid>
<AppendedData encoding="base64">
_SAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAABgAAAAAAAAAJAAAAAAAAAAwAAAAAAAAADwAAAAAAAAASAAAAAAAAABUAAAAAAAAAGAAAAAAAAAA=IAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAABAAAAAAAAAAGAAAAAAAAAA==2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAPA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4D8AAAAAAAAAAAAAAAAAAOA/AAAAAAAA4D8AAAAAAAAAAAAAAAAAAPA/AAAAAAAA4D8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA8D8AAAAAAAAAAAAAAAAAAOA/AAAAAAAA8D8AAAAAAAAAAAAAAAAAAPA/AAAAAAAA8D8=gAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAEAAAAAAAAAAIAAAAAAAAAAQAAAAAAAAAEAAAAAAAAAAUAAAAAAAAABAAAAAAAAAADAAAAAAAAAAYAAAAAAAAABwAAAAAAAAAFAAAAAAAAAAQAAAAAAAAABwAAAAAAAAAIAAAAAAAAAA==IAAAAAAAAAAEAAAAAAAAAAgAAAAAAAAADAAAAAAAAAAQAAAAAAAAAA==BAAAAAAAAAAJCQkJ
</AppendedData>
</VTKFile>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment