Commit 437b024b authored by Alex Breuer's avatar Alex Breuer
Browse files

Added revised Gaussian hill benchmark using 1) an explosive source, 2)...

Added revised Gaussian hill benchmark using 1) an explosive source, 2) acoustics and elastics, 3) different mesh resolutions, and 4) different heights.
parent 3f536b2d
# Gaussian Hill Model in 2D
This directory contains input and output for a Gaussian hill model in two dimensions.
Details on the benchmark description are given in:
The benchmark is motivated by:
Zhang, Wei, and Xiaofei Chen.
"Traction image method for irregular free surface boundaries in finite difference seismic wave simulation."
Geophysical Journal International 167.1 (2006): 337-353.
......
ghill_2d_*_*_*.xml filter=lfs diff=lfs merge=lfs -text
# Configurations for the Gaussian Hill Benchmark
This directory contains the runtime configurations used as input for EDGE.
```
bash configs.sh 2>&1 | tee configs.sh.log
```
#!/bin/bash
##
# @file This file is part of EDGE.
#
# @author Alexander Breuer (anbreuer AT ucsd.edu)
#
# @section LICENSE
# Copyright (c) 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
# Generates the configs for the two-dimensional Gaussian Hill problem.
##
hostname
echo "$(date) generating configs"
for type in acoustic elastic
do
for height in 2000 5000
do
for msh in 500 400 300 200 100
do
cp ghill_2d_${type}.xml.tmpl ghill_2d_${height}_${type}_${msh}.xml
sed -i "s/TEMPLATE_HEIGHT/${height}/" ghill_2d_${height}_${type}_${msh}.xml
sed -i "s/TEMPLATE_CL/${msh}/" ghill_2d_${height}_${type}_${msh}.xml
done
done
done
echo "configs generated"
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