Changes between Version 9 and Version 10 of AstroBearObjectTracers


Ignore:
Timestamp:
10/22/12 12:49:50 (12 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • AstroBearObjectTracers

    v9 v10  
    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
    1313First, 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.