First page Back Continue Last page Graphics
Callbacks
A generic way to transfer control to a chare after a library(such as reduction) has finished.
After finishing a reduction, the results have to be passed to some chare's entry method.
To do this, create an object of type CkCallback with chare's ID & entry method index
Different types of callbacks
One commonly used type:
CkCallback cb(<chare’s entry method>,<chare’s proxy>);