fiesta.disperse.Filament.calc_mass#

Filament.calc_mass(avg, verbose=False)[source]#

Calculates the mass of the filament by summing the mass of all cells given by arepo_ids (corrected for double-counting).

Note that this requires calling characterize_filament first to set arepo_ids.

Variables:
  • avg (ArepoVoronoiGrid) – Source ArepoVoronoiGrid to use for calculating mass of the filament.

  • verbose (bool, optional) – If True, prints output during mass calculation. Default value is False.