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
6e49d4be
Commit
6e49d4be
authored
Dec 05, 2016
by
James Willis
Browse files
Check particles for accuracy.
parent
6cda3b62
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test27cells.c
View file @
6e49d4be
...
...
@@ -522,8 +522,8 @@ int main(int argc, char *argv[]) {
dump_particle_fields
(
outputFileName
,
main_cell
,
cells
);
/* Check serial results against the vectorised results. */
//
if (check_results(main_cell->parts, vec_parts, main_cell->count, threshold))
//
message("Differences found...");
if
(
check_results
(
main_cell
->
parts
,
vec_parts
,
main_cell
->
count
,
threshold
))
message
(
"Differences found..."
);
/* Output timing */
message
(
"Brute force calculation took : %15lli ticks."
,
toc
-
tic
);
...
...
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