Source code for AdaptivePELE.spawning.densitycalculatortypes
from AdaptivePELE.constants import blockNames
DENSITY_CALCULATOR_TYPE_TO_STRING_DICTIONARY = {
DENSITY_CALCULATOR_TYPES.heaviside: blockNames.DensityCalculator.heaviside,
DENSITY_CALCULATOR_TYPES.null: blockNames.DensityCalculator.null,
DENSITY_CALCULATOR_TYPES.continuous: blockNames.DensityCalculator.continuous,
DENSITY_CALCULATOR_TYPES.exitContinous: blockNames.DensityCalculator.exitContinuous
}