Changes between Version 14 and Version 15 of AstroBearObjectTracers
- Timestamp:
- 10/22/12 12:58:41 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AstroBearObjectTracers
v14 v15 11 11 CALL !AddTracer(!MyClump%iTracer, "!ClumpTracer") 12 12 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.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: