printing a compute variable
I want to calculate residence time distribution of a system. I used the following lines in the script:
region rtd block 0 0 0 0.01 0 0.01 units box
fix rt all property/atom/tracer region_mark rtd mark_step 1000 marker_style dirac check_mark_every 1000
compute nparticles all nparticles/tracer/region region_count rtd tracer rt
fix extra all print 100 $nparticles file rttd.txt
but this error occurs:
ERROR on proc 0: Substitution for illegal variable (input.cpp:410)
Forums:
- Read more about printing a compute variable
- 5 comments
- Log in or register to post comments