Skip to contents

All functions

app()
GUI application for whale simulation
app_2025()
GUI app for interactive whale-strike simulations (OLD VERSION, no longer maintained)
derivative()
Calculate derivative using first difference
dynamics()
Dynamical law
fillplot()
Draw polygon between two xy curves
knot2mps()
Convert a speed in knots to a speed in m/s
lethalityIndexFromStress()
Compute lethality index, based on compression stress
maximumLethalityIndex()
Find maximum Lethality Index during a strike
mps2knot()
Convert a speed in m/s to a speed in knots
parameters()
Set parameters for a whale strike simulation
pin()
Pin numerical values between stated limits
plot(<strike>)
Plot a strike object
raymond2007
Whale blubber stress-strain relationship
server()
Server for app, with standard arguments.
shipAreaFromMass()
Compute ship wetted area from mass
shipLength()
Nominal ship length in m
shipMassFromLength()
Ship displacement in kg based on vessel type and length
shipWaterForce()
Ship Drag Force
sol20200708
Reference strike() solution
stressFromLethalityIndex()
Compute stress, based on lethality index
stressFromStrainFunction()
Create a function for stress in laminated layers
strike()
Simulate the collision of a ship and a whale
summary(<parameters>)
Summarize a parameters object
summary(<strike>)
Summarize the parameters of a simulation, and its results
updateParameters()
Update parameters
whaleAreaFromLength()
Whale projected area, as function of length
whaleCompressionForce()
Whale compression force
whaleLengthFromMass()
Compute whale length from mass
whaleMassFromLength()
Whale mass inferred from length
whaleMeasurements()
Get values for various whale measurements
whaleShape()
Whale side-view shape
whaleSkinForce()
Skin force
whaleWaterForce()
Whale Drag Force