Neutral and plasma shielding model for pellet ablation