Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gihanmudalige committed Dec 12, 2013
1 parent e4041c1 commit 722050e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apps/c/airfoil/README.md
Expand Up @@ -36,8 +36,8 @@ The various parallel versions of Airfoil should be compared against the single-t
reference implementation) to ascertain the correctness of the results. The p_q array holds the final result and as such
will be the data array to compare. One way to achieve this is to use :

'op_print_dat_to_txtfile(p_q, "out_grid_seq.dat"); //ASCI'
'op_print_dat_to_binfile(p_q, "out_grid_seq.bin"); //Binary'
`op_print_dat_to_txtfile(p_q, "out_grid_seq.dat"); //ASCI`
`op_print_dat_to_binfile(p_q, "out_grid_seq.bin"); //Binary`

For example after the end of the 1000 iterations in the airfoil code and then use the code in compare.cpp and
comparebin.cpp to compare the text file or binary file with the reference implementation.
Expand All @@ -47,7 +47,8 @@ precision. For the single precision version, answers should be very close. A sum
residual is printed out by default every 100 iterations. This in double precision for the first 1000 iterations should
be exactly:

'100 5.02186e-04
```
100 5.02186e-04
200 3.41746e-04
300 2.63430e-04
400 2.16288e-04
Expand All @@ -57,4 +58,4 @@ be exactly:
800 1.27627e-04
900 1.15810e-04
1000 1.06011e-04

```

0 comments on commit 722050e

Please sign in to comment.