Class Acts::AccumulatedVolumeMaterial

class AccumulatedVolumeMaterial

Accumulate and average volume-based material properties.

This class is intended to be used during the mapping process.

Public Functions

void accumulate(const MaterialSlab &mat)

Add one entry with the given material properties.

inline const Material &average()

Compute the average material collected so far.

Returns

Vacuum properties if no matter has been accumulated yet.