/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/quake/earthquake.c File Reference

#include <stdio.h>
#include <utils/eh_rand.h>

Go to the source code of this file.

Functions

double earthquake (double a, double dt)


Function Documentation

double earthquake ( double  a,
double  dt 
)

Generate an earthquake.

This will give the maximum earthquake that occured within the time step dt.

Parameters:
a determined from the mean quake over a time step.
dt the number of time steps that are considered to find the maximum.
Returns:
The horizontal ground acceleration due to the earthquake.

Definition at line 35 of file earthquake.c.

References eh_maxpowdev().

Referenced by main().


Generated on Fri Jan 4 18:04:17 2008 for sedflux by  doxygen 1.5.2