Removed seismic tests relying on old structured mesh interface.

parent 653ee35b
<?xml version="1.0" encoding="UTF-8"?>
<!--
@file This file is part of EDGE.
@author Alexander Breuer (anbreuer AT ucsd.edu)
@section LICENSE
Copyright (c) 2016-2018, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@section DESCRIPTION
CI setup for the elastic wave equations using a hex8r mesh.
-->
<edge>
<build>
<element_type>hex8r</element_type>
<equations>elastic</equations>
</build>
<cfr>
<mesh>
<n_elements>
<x>7</x>
<y>7</y>
<z>7</z>
</n_elements>
<size>
<x>100</x>
<y>100</y>
<z>100</z>
</size>
</mesh>
<velocity_model>
<domain>
<half_space>
<origin>
<x>0</x>
<y>0</y>
<z>-9999</z>
</origin>
<normal>
<x>0</x>
<y>0</y>
<z>1</z>
</normal>
</half_space>
<rho>1</rho>
<lambda>2</lambda>
<mu>1</mu>
</domain>
</velocity_model>
<setups>
<!-- Sets up plane waves as a combination of eigenvectors in diagonal direction n=(1,1,1).
The choice of r8 is non-unique, since cs has two eigenvalues.
-->
<initial_values>
<!-- k = 2pi/50 -->
<![CDATA[
var sqrtI := { 1.0/sqrt(3.0) };
var k := ( 2.0 * pi ) / 50.0;
var scale := sin( x*k + y*k + z*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r1[9] := {};
var r8[9] := {};
r1[0] := 4.0 * sqrtI;
r1[1] := 4.0 * sqrtI;
r1[2] := 4.0 * sqrtI;
r1[3] := 1.0 * sqrtI;
r1[4] := 1.0 * sqrtI;
r1[5] := 1.0 * sqrtI;
r1[6] := 1.0;
r1[7] := 1.0;
r1[8] := 1.0;
r8[0] := 2.0 * sqrtI;
r8[1] := 0.0;
r8[2] := -2.0 * sqrtI;
r8[3] := 1.0 * sqrtI;
r8[4] := -1.0 * sqrtI;
r8[5] := 0.0;
r8[6] := -1.0;
r8[7] := 0.0;
r8[8] := 1.0;
q := (r1 + r8) * scale;
]]>
<!-- k = 4pi/50 -->
<![CDATA[
var sqrtI := { 1.0/sqrt(3.0) };
var k := ( 4.0 * pi ) / 50.0;
var scale := sin( x*k + y*k + z*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r1[9] := {};
var r8[9] := {};
r1[0] := 4.0 * sqrtI;
r1[1] := 4.0 * sqrtI;
r1[2] := 4.0 * sqrtI;
r1[3] := 1.0 * sqrtI;
r1[4] := 1.0 * sqrtI;
r1[5] := 1.0 * sqrtI;
r1[6] := 1.0;
r1[7] := 1.0;
r1[8] := 1.0;
r8[0] := 2.0 * sqrtI;
r8[1] := 0.0;
r8[2] := -2.0 * sqrtI;
r8[3] := 1.0 * sqrtI;
r8[4] := -1.0 * sqrtI;
r8[5] := 0.0;
r8[6] := -1.0;
r8[7] := 0.0;
r8[8] := 1.0;
q := (r1 + r8) * scale;
]]>
<!-- k = 8pi/50 -->
<![CDATA[
var sqrtI := { 1.0/sqrt(3.0) };
var k := ( 8.0 * pi ) / 50.0;
var scale := sin( x*k + y*k + z*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r1[9] := {};
var r8[9] := {};
r1[0] := 4.0 * sqrtI;
r1[1] := 4.0 * sqrtI;
r1[2] := 4.0 * sqrtI;
r1[3] := 1.0 * sqrtI;
r1[4] := 1.0 * sqrtI;
r1[5] := 1.0 * sqrtI;
r1[6] := 1.0;
r1[7] := 1.0;
r1[8] := 1.0;
r8[0] := 2.0 * sqrtI;
r8[1] := 0.0;
r8[2] := -2.0 * sqrtI;
r8[3] := 1.0 * sqrtI;
r8[4] := -1.0 * sqrtI;
r8[5] := 0.0;
r8[6] := -1.0;
r8[7] := 0.0;
r8[8] := 1.0;
q := (r1 + r8) * scale;
]]>
<!-- k = 16pi/50 -->
<![CDATA[
var sqrtI := { 1.0/sqrt(3.0) };
var k := ( 16.0 * pi ) / 50.0;
var scale := sin( x*k + y*k + z*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r1[9] := {};
var r8[9] := {};
r1[0] := 4.0 * sqrtI;
r1[1] := 4.0 * sqrtI;
r1[2] := 4.0 * sqrtI;
r1[3] := 1.0 * sqrtI;
r1[4] := 1.0 * sqrtI;
r1[5] := 1.0 * sqrtI;
r1[6] := 1.0;
r1[7] := 1.0;
r1[8] := 1.0;
r8[0] := 2.0 * sqrtI;
r8[1] := 0.0;
r8[2] := -2.0 * sqrtI;
r8[3] := 1.0 * sqrtI;
r8[4] := -1.0 * sqrtI;
r8[5] := 0.0;
r8[6] := -1.0;
r8[7] := 0.0;
r8[8] := 1.0;
q := (r1 + r8) * scale;
]]>
</initial_values>
<end_time>27.19</end_time>
</setups>
<output>
<wave_field>
<type>vtk_binary</type>
<file>output/wave_field</file>
<int>10.0</int>
</wave_field>
<error_norms>
<!-- Reference values are identical to initial values-->
<reference_values>
<!-- k = 2pi/50 -->
<![CDATA[
var sqrtI := { 1.0/sqrt(3.0) };
var k := ( 2.0 * pi ) / 50.0;
var scale := sin( x*k + y*k + z*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r1[9] := {};
var r8[9] := {};
r1[0] := 4.0 * sqrtI;
r1[1] := 4.0 * sqrtI;
r1[2] := 4.0 * sqrtI;
r1[3] := 1.0 * sqrtI;
r1[4] := 1.0 * sqrtI;
r1[5] := 1.0 * sqrtI;
r1[6] := 1.0;
r1[7] := 1.0;
r1[8] := 1.0;
r8[0] := 2.0 * sqrtI;
r8[1] := 0.0;
r8[2] := -2.0 * sqrtI;
r8[3] := 1.0 * sqrtI;
r8[4] := -1.0 * sqrtI;
r8[5] := 0.0;
r8[6] := -1.0;
r8[7] := 0.0;
r8[8] := 1.0;
q := (r1 + r8) * scale;
]]>
<!-- k = 4pi/50 -->
<![CDATA[
var sqrtI := { 1.0/sqrt(3.0) };
var k := ( 4.0 * pi ) / 50.0;
var scale := sin( x*k + y*k + z*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r1[9] := {};
var r8[9] := {};
r1[0] := 4.0 * sqrtI;
r1[1] := 4.0 * sqrtI;
r1[2] := 4.0 * sqrtI;
r1[3] := 1.0 * sqrtI;
r1[4] := 1.0 * sqrtI;
r1[5] := 1.0 * sqrtI;
r1[6] := 1.0;
r1[7] := 1.0;
r1[8] := 1.0;
r8[0] := 2.0 * sqrtI;
r8[1] := 0.0;
r8[2] := -2.0 * sqrtI;
r8[3] := 1.0 * sqrtI;
r8[4] := -1.0 * sqrtI;
r8[5] := 0.0;
r8[6] := -1.0;
r8[7] := 0.0;
r8[8] := 1.0;
q := (r1 + r8) * scale;
]]>
<!-- k = 8pi/50 -->
<![CDATA[
var sqrtI := { 1.0/sqrt(3.0) };
var k := ( 8.0 * pi ) / 50.0;
var scale := sin( x*k + y*k + z*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r1[9] := {};
var r8[9] := {};
r1[0] := 4.0 * sqrtI;
r1[1] := 4.0 * sqrtI;
r1[2] := 4.0 * sqrtI;
r1[3] := 1.0 * sqrtI;
r1[4] := 1.0 * sqrtI;
r1[5] := 1.0 * sqrtI;
r1[6] := 1.0;
r1[7] := 1.0;
r1[8] := 1.0;
r8[0] := 2.0 * sqrtI;
r8[1] := 0.0;
r8[2] := -2.0 * sqrtI;
r8[3] := 1.0 * sqrtI;
r8[4] := -1.0 * sqrtI;
r8[5] := 0.0;
r8[6] := -1.0;
r8[7] := 0.0;
r8[8] := 1.0;
q := (r1 + r8) * scale;
]]>
<!-- k = 16pi/50 -->
<![CDATA[
var sqrtI := { 1.0/sqrt(3.0) };
var k := ( 16.0 * pi ) / 50.0;
var scale := sin( x*k + y*k + z*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r1[9] := {};
var r8[9] := {};
r1[0] := 4.0 * sqrtI;
r1[1] := 4.0 * sqrtI;
r1[2] := 4.0 * sqrtI;
r1[3] := 1.0 * sqrtI;
r1[4] := 1.0 * sqrtI;
r1[5] := 1.0 * sqrtI;
r1[6] := 1.0;
r1[7] := 1.0;
r1[8] := 1.0;
r8[0] := 2.0 * sqrtI;
r8[1] := 0.0;
r8[2] := -2.0 * sqrtI;
r8[3] := 1.0 * sqrtI;
r8[4] := -1.0 * sqrtI;
r8[5] := 0.0;
r8[6] := -1.0;
r8[7] := 0.0;
r8[8] := 1.0;
q := (r1 + r8) * scale;
]]>
</reference_values>
<type>sout_file</type>
<file>errors.xml</file>
</error_norms>
</output>
</cfr>
</edge>
<?xml version="1.0" encoding="UTF-8"?>
<!--
@file This file is part of EDGE.
@author Alexander Breuer (anbreuer AT ucsd.edu)
@section LICENSE
Copyright (c) 2016-2018, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@section DESCRIPTION
CI setup for the elastic wave equations using a quad4r mesh.
-->
<edge>
<build>
<element_type>quad4r</element_type>
<equations>elastic</equations>
</build>
<cfr>
<mesh>
<n_elements>
<x>4</x>
<y>5</y>
</n_elements>
<size>
<x>100</x>
<y>100</y>
</size>
</mesh>
<velocity_model>
<domain>
<half_space>
<origin>
<x>0</x>
<y>-9999</y>
</origin>
<normal>
<x>0</x>
<y>1</y>
</normal>
</half_space>
<rho>1</rho>
<lambda>2</lambda>
<mu>1</mu>
</domain>
</velocity_model>
<setups>
<initial_values>
<![CDATA[
var n[2] := { 1.0/sqrt(2.0), 1.0/sqrt(2.0) };
var k := ( 2.0 * pi ) / 25.0;
var scale := sin( x*k + y*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r2[5] := {};
var r5[5] := {};
r2[0] := -2.0 * mu * n[0] * n[1];
r2[1] := 2.0 * mu * n[0] * n[1];
r2[2] := mu * ( n[0]*n[0] - n[1]*n[1]);
r2[3] := -n[1] * cs;
r2[4] := n[0] * cs;
r5[0] := lambda + 2.0 * mu * n[0] * n[0];
r5[1] := lambda + 2.0 * mu * n[1] * n[1];
r5[2] := 2.0 * mu * n[0] * n[1];
r5[3] := -n[0] * cp;
r5[4] := -n[1] * cp;
q := (r2 + r5) * scale;
]]>
</initial_values>
<end_time>24.9</end_time>
</setups>
<output>
<wave_field>
<type>vtk_binary</type>
<file>output/wave_field</file>
<int>10.0</int>
</wave_field>
<error_norms>
<reference_values>
<![CDATA[
var n[2] := { 1.0/sqrt(2.0), 1.0/sqrt(2.0) };
var k := ( 2.0 * pi ) / 25.0;
var scale := sin( x*k + y*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r2[5] := {};
var r5[5] := {};
r2[0] := -2.0 * mu * n[0] * n[1];
r2[1] := 2.0 * mu * n[0] * n[1];
r2[2] := mu * ( n[0]*n[0] - n[1]*n[1]);
r2[3] := -n[1] * cs;
r2[4] := n[0] * cs;
r5[0] := lambda + 2.0 * mu * n[0] * n[0];
r5[1] := lambda + 2.0 * mu * n[1] * n[1];
r5[2] := 2.0 * mu * n[0] * n[1];
r5[3] := -n[0] * cp;
r5[4] := -n[1] * cp;
q := (r2 + r5) * scale;
]]>
</reference_values>
<type>sout_file</type>
<file>errors.xml</file>
</error_norms>
</output>
</cfr>
</edge>
<?xml version="1.0" encoding="UTF-8"?>
<!--
@file This file is part of EDGE.
@author Alexander Breuer (anbreuer AT ucsd.edu)
@section LICENSE
Copyright (c) 2016-2018, Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@section DESCRIPTION
CI setup for the elastic wave equations using a regular tet4 mesh.
-->
<edge>
<build>
<element_type>tet4</element_type>
<equations>elastic</equations>
</build>
<cfr>
<mesh>
<n_elements>
<x>8</x>
<y>8</y>
<z>8</z>
</n_elements>
<size>
<x>100</x>
<y>100</y>
<z>100</z>
</size>
</mesh>
<velocity_model>
<domain>
<half_space>
<origin>
<x>0</x>
<y>0</y>
<z>-9999</z>
</origin>
<normal>
<x>0</x>
<y>0</y>
<z>1</z>
</normal>
</half_space>
<rho>1</rho>
<lambda>2</lambda>
<mu>1</mu>
</domain>
</velocity_model>
<setups>
<!-- Sets up plane waves as a combination of eigenvectors in diagonal direction n=(1,1,1).
The choice of r8 is non-unique, since cs has two eigenvalues.
-->
<initial_values>
<![CDATA[
var sqrtI := { 1.0/sqrt(3.0) };
var k := ( 2.0 * pi ) / 50.0;
var scale := sin( x*k + y*k + z*k );
var mu := 1.0;
var lambda := 2.0;
var rho := 1.0;
var cs := sqrt( mu / rho );
var cp := sqrt( (lambda + 2*mu) / rho );
var r1[9] := {};
var r8[9] := {};
r1[0] := 4.0 * sqrtI;
r1[1] := 4.0 * sqrtI;
r1[2] := 4.0 * sqrtI;
r1[3] := 1.0 * sqrtI;
r1[4] := 1.0 * sqrtI;
r1[5] := 1.0 * sqrtI;
r1[6] := 1.0;
r1[7] := 1.0;
r1[8] := 1.0;
r8[0] := 2.0 * sqrtI;
r8[1] := 0.0;
r8[2] := -2.0 * sqrtI;
r8[3] := 1.0 * sqrtI;
r8[4] := -1.0 * sqrtI;
r8[5] := 0.0;
r8[6] := -1.0;
r8[7] := 0.0;
r8[8] := 1.0;
q := (r1 + r8) * scale;
]]>
</initial_values>
<end_time>14.8</end_time>
</setups>
<output>
<wave_field>
<type>vtk_binary</type>