Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
728d7eec
Commit
728d7eec
authored
Mar 27, 2016
by
Matthieu Schaller
Browse files
Tests now also all run to completion in minimal and default hydro modes
parent
0cbd5e4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/testSingle.c
View file @
728d7eec
...
...
@@ -91,8 +91,8 @@ int main(int argc, char *argv[]) {
p2
.
force
.
POrho2
=
p2
.
u
*
(
const_hydro_gamma
-
1
.
0
f
)
/
p2
.
rho
;
/* Dump a header. */
printParticle_single
(
&
p1
,
NULL
);
printParticle_single
(
&
p2
,
NULL
);
//
printParticle_single(&p1, NULL);
//
printParticle_single(&p2, NULL);
printf
(
"# r a_1 udt_1 a_2 udt_2
\n
"
);
/* Loop over the different radii. */
...
...
tests/tolerance.dat
View file @
728d7eec
# ID pos_x pos_y pos_z v_x v_y v_z rho rho_dh wcount wcount_dh div_v curl_vx curl_vy curl_vz
0 1e-6 1e-6 1e-6 1e-6 1e-6 1e-6 1e-5 1e-5 2e-5 3e-4 1e-5 1e-5 1e-5 1e-5
0 1e-6 1e-6 1e-6 1e-6 1e-6 1e-6 1e-5 1e-5 1e-5 1e-5 1e-4 1e-4 1e-4 1e-4
0 1e-6 1e-6 1e-6 1e-6 1e-6 1e-6 1e-5 1
.2
e-5 1e-5 1e-5 1e-4 1e-4 1e-4 1e-4
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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