
Aggregates damage from detailed list of elementary damaging functions
compute_damage_from_detail.Rd
Aggregates detailed list of elementary damaging functions by category (total, building and furniture) .
Usage
compute_damage_from_detail(
x,
category,
hazard_range = getOption("floodam_building_hazard_range")
)
Details
This funtion is meant to be called during the execution of the function
compute_damage()
. It ensures that damages are calculated consistently
across levels of aggregation : external wall segments, external walls, rooms
and building level.
providing the latter the right list of elementary damaging components to use