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 setarepo_ids
.- Variables:
avg (
ArepoVoronoiGrid
) – SourceArepoVoronoiGrid
to use for calculating mass of the filament.verbose (
bool
, optional) – IfTrue
, prints output during mass calculation. Default value isFalse
.