Commit 151a54ed authored by Alex Breuer's avatar Alex Breuer
Browse files

Added HSP1a input data of extended study.

parent aaca2927
......@@ -5,4 +5,7 @@ To the extent possible under law, [Alexander Nikolas Breuer](http://dial3343.org
* `hsp1a_reg_src.nc`
* `hsp1a_uns_src.nc`
* `hsp1a_tet4.numbers`
* `hsp1a_tet4.pdf`
This work is published from: United States.
*.xml filter=lfs diff=lfs merge=lfs -text
# Configuration for the HSP1a benchmark
This directory contains the configurations used as input for EDGE.
```
bash configs.sh 2>&1 | tee configs.sh.log
bash configs_reg.sh 2>&1 | tee configs_reg.sh.log
```
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (anbreuer AT ucsd.edu)
#
# @section LICENSE
# Copyright (c) 2017, 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
# Generates the configs.
#
# Target: Less than 500,000 elements per node.
##
# 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
MESHES=( 100 125 150 175 200 225 250 275 300 350 400 450 500 550 600 650 )
PARTS=( 25 13 8 5 4 3 2 2 1 1 1 1 1 1 1 1 )
echo "$(date) generating configs"
for msh in $(seq 0 15)
do
echo "$(date) setting mesh type and char length for setup ${msh}: tet4, ${MESHES[$msh]}"
cp uns.xml.tmpl tet4_${MESHES[$msh]}.xml
sed -i "s/TEMPLATE_MT/tet4/" tet4_${MESHES[$msh]}.xml
sed -i "s/TEMPLATE_CL_SRC/${MESHES[$msh]}/" tet4_${MESHES[$msh]}.xml
done
for msh in $(seq 0 15)
do
echo "$(date) setting read options for setup ${msh}: CL${MESHES[$msh]}, P${PARTS[$msh]}"
if [[ ${PARTS[$msh]} != 1 ]]
then
sed -i "s/TEMPLATE_READ_OPTIONS/PARALLEL=READ_PART;PARALLEL_RESOLVE_SHARED_ENTS;PARTITION=PARALLEL_PARTITION;/" tet4_${MESHES[$msh]}.xml
sed -i "s/TEMPLATE_MSH/tet4_${MESHES[$msh]}_${PARTS[$msh]}.h5m/" tet4_${MESHES[$msh]}.xml
else
sed -i "s/TEMPLATE_READ_OPTIONS/;/" tet4_${MESHES[$msh]}.xml
sed -i "s/TEMPLATE_MSH/tet4_${MESHES[$msh]}.msh/" tet4_${MESHES[$msh]}.xml
fi
done
echo "configs generated"
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (anbreuer AT ucsd.edu)
#
# @section LICENSE
# Copyright (c) 2017, 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
# Generates the configs for regular meshes
##
# 0 1 2 3 4 5 6 7 8
ELEMENTS=( 256 224 192 176 160 144 128 112 96 )
echo "$(date) generating configs"
for el in $(seq 0 8)
do
echo "$(date) setting up config for #elements: ${el}"
cp reg.xml.tmpl reg_${ELEMENTS[$el]}.xml
sed -i "s/TEMPLATE_EL/${ELEMENTS[$el]}/" reg_${ELEMENTS[$el]}.xml
done
echo "configs generated"
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
......@@ -30,9 +30,9 @@
<cfr>
<mesh>
<n_elements>
<x>52</x>
<y>52</y>
<z>52</z>
<x>TEMPLATE_EL</x>
<y>TEMPLATE_EL</y>
<z>TEMPLATE_EL</z>
</n_elements>
<size>
<x>46000</x>
......@@ -271,7 +271,7 @@
<output>
<receivers>
<path_to_dir>hsp1a_reg_recvs</path_to_dir>
<path_to_dir>hsp1a_reg_recvs_TEMPLATE_EL</path_to_dir>
<freq>0.005</freq>
<receiver>
......@@ -383,11 +383,13 @@
</receiver>
</receivers>
<!-- disabled wave field output for the parameter studies
<wave_field>
<type>vtk_binary</type>
<file>hsp1a_reg/wf</file>
<int>0.1</int>
</wave_field>
-->
</output>
</cfr>
......
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
This source diff could not be displayed because it is stored in LFS. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment