Adjust elementary damaging function to local characteristics

adjust.elementary.damaging(
  component,
  what = NULL,
  damaging = NULL,
  dilapidation = 0,
  surface.height = NULL,
  hazard.range = NULL,
  synthetic = TRUE,
  graph = FALSE,
  file.log
)

Arguments

component

data.frame with one row, useful information (H.abs, dilapidation, quanitity, height)

damaging,

array of class elementary.damaging

surface.height

function, how to calculate surface depending on H.abs, only valable for elementary components linked to wall, default to NULL

synthetic,

boolean, should result be synthetic

graph,

boolean, should result be plotted

file.log,

character, path of the file where to write some possible problems

Value

an array of two dimensions with same h.range and d.range than damaging