Adjust elementary damaging function to local characteristics
adjust_elementary_damaging.Rd
Adjust elementary damaging function to local characteristics
Usage
adjust_elementary_damaging(
component,
what = NULL,
damaging = NULL,
dilapidation = 0,
surface_height = NULL,
hazard_range = NULL,
synthetic = TRUE,
graph = FALSE,
talkative = getOption("floodam_building_talkative"),
file_log
)
Arguments
- component
data.frame with one row, useful information (H_abs, dilapidation, quantity, height)
- what
character, what should be used in component
- damaging,
array of class elementary_damaging
- dilapidation,
numeric, dilapidation rate to be applied, default to 0
- surface_height
function, how to calculate surface depending on H_abs, only valid for elementary components linked to wall, default to NULL
- hazard_range
list, desired hazard_range, default to getOption("floodam_building_hazard_range")
- synthetic,
boolean, should result be synthetic
- graph,
boolean, should result be plotted
- talkative,
boolean, should the function be talkative (for debug purpose)
- file_log,
character, path of the file where to write some possible problems