DISPATCH
sink_patch_mod Module Reference

A sink particle is represented as primarily a particle task, whose position is updated with a particle solver. The patch is usually much smaller than an MHD patch, and its values are downloaded from contributing MHD patches. More...

Data Types

type  sink_patch_t
 

Variables

logical on =.false.
 
type(sink_patch_t), public sink_patch
 

Detailed Description

A sink particle is represented as primarily a particle task, whose position is updated with a particle solver. The patch is usually much smaller than an MHD patch, and its values are downloaded from contributing MHD patches.

A particular quality level indicates to the download_mod that all cells from the sink particle patch should be downloaded to overlapping patches, thus communicating back the removal of accreted mass and momentum.

The procedure is called from refine_textrascheck_refine which handles creating a task list link, adding an nbor list, and adding the task to the task list.