Changes between Version 6 and Version 7 of AstroBearObjectTracers


Ignore:
Timestamp:
10/22/12 12:47:26 (12 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • AstroBearObjectTracers

    v6 v7  
    99To add a tracer to the clump object, one must assign a slot in q to hold the tracer. This is done by adding the following to !ProblemModuleInit in problem.f90:
    1010
    11 CALL AddTracer(MyClump%iTracer, "ClumpTracer")
     11CALL !AddTracer(!MyClump%iTracer, "!ClumpTracer")
    1212
    13 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, as well as the name of the tracer, here "ClumpTracer". This name is then recognized by a visualization program such as Visit as a new variable.
     13This 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, as well as the name of the tracer, here "!ClumpTracer". This name is then 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:
    1616
    17 IF (Clump%iTracer .ne. 0) s(Clump%iTracer) = s(1)
     17IF (!Clump%iTracer .ne. 0) s(!Clump%iTracer) = s(1)
    1818
    1919This line says, if there is an assigned slot in q for the tracer, than assign as that tracer's value, s(1), where s(1) is defined earlier in clumps.f90 as: