DISPATCH
counters_mod Module Reference

Help keep track of when all patches have passed some counter, by decrementing a counter, from start to 0. Typical use: More...

Data Types

type  counters_t
 

Variables

integer verbose =0
 
type(counters_t), public counters
 

Detailed Description

Help keep track of when all patches have passed some counter, by decrementing a counter, from start to 0. Typical use:

if (selftime > some_time) then count = counterscount (id, iontask) if (count==0) then print *, 'all tasks have passed time =', some_time call countersremove (id) end if end if