Changes between Version 14 and Version 15 of AstroBearObjectTracers


Ignore:
Timestamp:
10/22/12 12:58:41 (12 years ago)
Author:
Jonathan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • AstroBearObjectTracers

    v14 v15  
    1111CALL !AddTracer(!MyClump%iTracer, "!ClumpTracer")
    1212
    13 First, this call passes in a non-zero integer to index the tracer in q, which is assigned in the routine !AddTracer by identifying the next empty slot in q. Second, the name of the tracer is passed in, which is here called "!ClumpTracer". This name is recognized by a visualization program such as Visit as a new variable.
     13The AddTracer routine first makes space in the q array for a new tracer and then returns the index of that slot in the first parameter - in this case !MyClump%iTracer.   So !MyClump%iTracer now stores the index in q of what will be the 'clump tracer'. Second, the name of the tracer is passed in, which is here called "!ClumpTracer". This name is recognized by a visualization program such as Visit as a new variable.
    1414
    1515Next, the tracer is distributed throughout the clump by the line in clumps.f90: