Changes between Version 9 and Version 10 of AstroBearObjectTracers
- Timestamp:
- 10/22/12 12:49:50 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AstroBearObjectTracers
v9 v10 9 9 To 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: 10 10 11 CALL !AddTracer( !MyClump%iTracer, "!ClumpTracer")11 CALL !AddTracer(MyClump%iTracer, "ClumpTracer") 12 12 13 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.