Changes between Version 15 and Version 16 of AstroBearObjectTracers
- Timestamp:
- 10/22/12 13:49:36 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AstroBearObjectTracers
v15 v16 11 11 CALL !AddTracer(!MyClump%iTracer, "!ClumpTracer") 12 12 13 The 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.13 The !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. 14 14 15 15 Next, the tracer is distributed throughout the clump by the line in clumps.f90: