Patch: tut-09.html: Minor Typos

Jeffrey Oldham oldham at codesourcery.com
Mon Mar 26 21:43:11 UTC 2001


Mon Mar 26 13:42:25 2001  Jeffrey D. Oldham <oldham at codesourcery.com>
	* tut-09.html: Fix minor typographical errors.
	Fix line number references.
	(Summary): Change "particles" to typewriter font.  Correct
	possessive of singular <tt>Particles</tt>.  Change second
	parameter of "deferredDestroy" to match the following text.

Tested on	Netscape 4.76 on Linux
Reviewed by	Julian Cummings

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: tut-09.html
===================================================================
RCS file: /home/pooma/Repository/r2/docs/tut-09.html,v
retrieving revision 1.1
diff -c -p -r1.1 tut-09.html
*** tut-09.html	2001/03/19 16:11:14	1.1
--- tut-09.html	2001/03/26 21:40:15
*************** then randomize the balls' initial positi
*** 869,881 ****
  
  <p>Lines 103-110 are the most novel part of this simulation, as they
  create reflecting boundary conditions for the simulation, and add them
! to the <tt>balls</tt> object.  Lines 103-108 defines where particles
  bounce; again, this is done in a dimension-independent fashion in
! order to make code evolution as easy as possible.  Line 104 turns
  <tt>upper</tt> and <tt>lower</tt> into a reversing boundary condition,
! which line 105 then adds to <tt>balls</tt>.  The main simulation
  loop now consists of nothing more than advancing the balls in each
! time step, and calling <tt>sync()</tt> to enforce the boundary
  conditions.
  
  <!---------------------------------------------------------------------->
--- 869,881 ----
  
  <p>Lines 103-110 are the most novel part of this simulation, as they
  create reflecting boundary conditions for the simulation, and add them
! to the <tt>balls</tt> object.  Lines 103-108 define where particles
  bounce; again, this is done in a dimension-independent fashion in
! order to make code evolution as easy as possible.  Line 109 turns
  <tt>upper</tt> and <tt>lower</tt> into a reversing boundary condition,
! which line 110 then adds to <tt>balls</tt>.  The main simulation
  loop now consists of nothing more than advancing the balls in each
! time step, and calling <tt>applyBoundaryCondition()</tt> to enforce the boundary
  conditions.
  
  <!---------------------------------------------------------------------->
*************** list below summarizes the most important
*** 892,898 ****
  <ul>
  
  <li><tt>Particles<PL>::initialize(PL &layout)</tt>:
! Initialize the particles object with the given particle layout.  This
  should be used if the <tt>Particles</tt> object was created with the
  default constructor.
  
--- 892,898 ----
  <ul>
  
  <li><tt>Particles<PL>::initialize(PL &layout)</tt>:
! Initialize the <tt>Particles</tt> object with the given particle layout.  This
  should be used if the <tt>Particles</tt> object was created with the
  default constructor.
  
*************** Return the number of registered attribut
*** 909,918 ****
  
  <li><tt>addAttribute(attrib)</tt>:
  Add the given attribute (should be a <tt>DynamicArray</tt> of the
! proper engine type) to the <tt>Particles</tt>' attribute list.
  
  <li><tt>removeAttribute(attrib)</tt>:
! Remove the given attribute from the <tt>Particles</tt>' attribute
  list.
  
  <li><tt>sync(posattrib)</tt>:
--- 909,918 ----
  
  <li><tt>addAttribute(attrib)</tt>:
  Add the given attribute (should be a <tt>DynamicArray</tt> of the
! proper engine type) to the <tt>Particles</tt>'s attribute list.
  
  <li><tt>removeAttribute(attrib)</tt>:
! Remove the given attribute from the <tt>Particles</tt>'s attribute
  list.
  
  <li><tt>sync(posattrib)</tt>:
*************** Destroy any particles that were specifie
*** 933,939 ****
  
  <li><tt>renumber()</tt>:
  Recalculate the per-patch and total domain of the system by inspecting
! the <tt>Particles</tt>' attribute layout.
  
  <li><tt>create(N, patch, renum)</tt>:
  Create <em>N</em> particles in the specified patch (and optionally
--- 933,939 ----
  
  <li><tt>renumber()</tt>:
  Recalculate the per-patch and total domain of the system by inspecting
! the <tt>Particles</tt>'s attribute layout.
  
  <li><tt>create(N, patch, renum)</tt>:
  Create <em>N</em> particles in the specified patch (and optionally
*************** renumber.  The domain may be a one-dimen
*** 951,957 ****
  numbers or a list of index numbers.  (See the note below on the
  <tt>patchId</tt> parameter.)
  
! <li><tt>deferredDestroy(domain, patch)</tt>:
  Put the indices of the particles in the given domain in the deferred
  destroy list of the <tt>Particles</tt> object, so that they will be
  destroyed by the next call to <tt>performDestroy()</tt>.
--- 951,957 ----
  numbers or a list of index numbers.  (See the note below on the
  <tt>patchId</tt> parameter.)
  
! <li><tt>deferredDestroy(domain, patchId)</tt>:
  Put the indices of the particles in the given domain in the deferred
  destroy list of the <tt>Particles</tt> object, so that they will be
  destroyed by the next call to <tt>performDestroy()</tt>.


More information about the pooma-dev mailing list