Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
SWIFTsim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
70
Issues
70
List
Boards
Labels
Milestones
Merge Requests
13
Merge Requests
13
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SWIFT
SWIFTsim
Commits
5145b5ea
Commit
5145b5ea
authored
May 12, 2017
by
James Willis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test125cellsPerturbed.sh as a test.
parent
d41e1912
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
2 deletions
+50
-2
tests/Makefile.am
tests/Makefile.am
+2
-2
tests/test125cellsPerturbed.sh
tests/test125cellsPerturbed.sh
+24
-0
tests/test125cellsPerturbed.sh.in
tests/test125cellsPerturbed.sh.in
+24
-0
No files found.
tests/Makefile.am
View file @
5145b5ea
...
...
@@ -22,7 +22,7 @@ AM_LDFLAGS = ../src/.libs/libswiftsim.a $(HDF5_LDFLAGS) $(HDF5_LIBS) $(FFTW_LIBS
# List of programs and scripts to run in the test suite
TESTS
=
testGreetings testMaths testReading.sh testSingle testKernel testSymmetry
\
testPair.sh testPairPerturbed.sh test27cells.sh test27cellsPerturbed.sh
\
testParser.sh testSPHStep test125cells.sh testFFT
\
testParser.sh testSPHStep test125cells.sh test
125cellsPerturbed.sh test
FFT
\
testAdiabaticIndex testRiemannExact testRiemannTRRS testRiemannHLLC
\
testMatrixInversion testThreadpool testDump testLogger
\
testVoronoi1D testVoronoi2D testVoronoi3D
...
...
@@ -92,6 +92,6 @@ testLogger_SOURCES = testLogger.c
# Files necessary for distribution
EXTRA_DIST
=
testReading.sh makeInput.py testPair.sh testPairPerturbed.sh
\
test27cells.sh test27cellsPerturbed.sh testParser.sh
\
test125cells.sh testParserInput.yaml difffloat.py
\
test125cells.sh test
125cells.sh test
ParserInput.yaml difffloat.py
\
tolerance_125.dat tolerance_27_normal.dat tolerance_27_perturbed.dat
\
tolerance_pair_normal.dat tolerance_pair_perturbed.dat
tests/test125cellsPerturbed.sh
0 → 100755
View file @
5145b5ea
#!/bin/bash
for
v
in
{
0..3
}
do
for
p
in
{
0..2
}
do
echo
""
rm
-f
brute_force_125_perturbed.dat swift_dopair_125_perturbed.dat
echo
"./test125cells -n 6 -r 1 -d 0.1 -v
$v
-p
$p
-f perturbed"
./test125cells
-n
6
-r
1
-d
0.1
-v
$v
-p
$p
-f
perturbed
if
[
-e
brute_force_125_perturbed.dat
]
then
python ./difffloat.py brute_force_125_perturbed.dat swift_dopair_125_perturbed.dat ./tolerance_125_perturbed.dat 6
else
exit
1
fi
done
done
exit
$?
tests/test125cellsPerturbed.sh.in
0 → 100755
View file @
5145b5ea
#!/bin/bash
for
v
in
{
0..3
}
do
for
p
in
{
0..2
}
do
echo
""
rm
-f
brute_force_125_perturbed.dat swift_dopair_125_perturbed.dat
echo
"./test125cells -n 6 -r 1 -d 0.1 -v
$v
-p
$p
-f perturbed"
./test125cells
-n
6
-r
1
-d
0.1
-v
$v
-p
$p
-f
perturbed
if
[
-e
brute_force_125_perturbed.dat
]
then
python @srcdir@/difffloat.py brute_force_125_perturbed.dat swift_dopair_125_perturbed.dat @srcdir@/tolerance_125_perturbed.dat 6
else
exit
1
fi
done
done
exit
$?
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment