[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: Revise Manual Example Codes
From: |
Jeffrey Oldham |
Subject: |
Patch: Revise Manual Example Codes |
Date: |
Tue, 11 Dec 2001 12:25:01 -0800 |
User-agent: |
Mutt/1.2.5i |
The example (tutorial) programs changed to become more consistent,
easier to use, and, most importantly, more correct. These are stored
in examples/Manual/Doof2d/.
2001-Dec-11 Jeffrey D. Oldham <address@hidden>
* Doof2d-Array-distributed.cpp: Remove <iostream>, which is not
used.
(DoofNinePt): Fix typo in comment.
(main): Revise to use command-line arguments and Informs, not
standard IO. Modify to ensure domain size is a multiple of the
number of processors. Add blockAndEvaluate().
* Doof2d-Array-element.cpp (main): Replace data-parallel
initialization with loops. Fix typo in comments. Remove
unnecessary blockAndEvaluate().
* Doof2d-Array-parallel.cpp (main): Add
blockAndEvaluate(). Fix typo in comment.
* Doof2d-Array-stencil.cpp (DoofNinePt):
Fix typo in comment.
(main): Add blockAndEvaluate().
* Doof2d-C-element.cpp (main): Fix typo in comment.
* Doof2d-Field-distributed.cpp: Remove <iostream>, which is not
used.
(main): Revise to use command-line arguments and Informs, not
standard IO. Modify to ensure domain size is a multiple of the
number of processors. Add blockAndEvaluate(). Fix typo in
comment.
* Doof2d-Field-parallel.cpp (main): Revise input to use cin, not
hard-coded constants. Add blockAndEvaluate(). Fix typo in
comment.
Applied to mainline
Thanks,
Jeffrey D. Oldham
address@hidden
differences-2001Dec11.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch: Revise Manual Example Codes,
Jeffrey Oldham <=