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