Skip to contents

Crosses explicit geometries with selected materials, summarises synthetic profiles and calculates the truncated-beam period from those summaries. The sampling order, layer thickness (1 m), 100 realisations, first mode, nonlinear interpolation and rounding are fixed by this calculation. The caller owns the random seed. No files or folders are read or written.

Usage

getTs(geometryTable, uscs, IDm, Vref, p, pairs = NULL)

Arguments

geometryTable

A data.table or data.frame with IDg, Hs, b and s, such as the result of getGeometry(), where b is the berm width of the truncation ratio lo = b / (2 * Hs * s + b) of the article https://averrik.github.io/newmark/articles/dynamic-site-response.html. The input is not modified.

uscs

Named list of USCS code vectors, indexed by material IDm.

IDm

Character vector of selected material identifiers.

Vref

One positive reference velocity in metres per second.

p

Quantile levels and/or the literal "mean", passed to getSiteProperties().

pairs

Optional table of unique IDg/IDm pairs. Only those pairs are evaluated, in their supplied order. NULL retains the full geometry by material product. IDs must refer to geometryTable and the selected IDm.

Value

A ShearTable data.table with the geometry/material identifiers, sampled property summaries, lo, an and Ts in seconds. Ts is the truncated-beam period, distinct from fitModel.Ts() for a supplied profile.