plugin_src/load_history/sinusoidal.c File Reference

#include <stdio.h>
#include <math.h>
#include "crusde_api.h"

Include dependency graph for sinusoidal.c:

Include dependency graph

Functions

const char * get_name ()
const char * get_version ()
const char * get_authors ()
const PluginCategory get_category ()
const char * get_description ()
void request_plugins ()
 Request necessary plugins: crusde_request_green_plugin("elastic halfspace (pinel)").
int register_output_fields ()
 Register output fields for spatial directions this Green's function calculates.
void run ()
 Performs the fast convolution.
void clear ()
void init ()
 Initialization of the convolution. Allocation of memory for inputs and outputs.
void register_parameter ()
 Register parameters this Kernel claims from the input.
double constrain_load_height (double h_max, int x, int y, int t)

Variables

double d_max
double period_length

Detailed Description

Sinusoidal load history that calculates a load height depending on the current time step (t), a period length (p) and the timestep when the load is supposed to be at maximum (dm):

\[ h(t) = \frac{h_m}{2} \left[ 1 + cos( \frac{2\,\pi}{p} (t - d_m) ) \right] \]

with hm being the maximum load height.


Function Documentation

void clear  ) 
 

empty

double constrain_load_height double  h_max,
int  x,
int  y,
int  t
 

Returns the constrained load depending on the current timestep at point (x,y)

const char* get_authors  ) 
 

const PluginCategory get_category  ) 
 

const char* get_description  ) 
 

const char* get_name  ) 
 

const char* get_version  ) 
 

void init  ) 
 

Initialization of the convolution. Allocation of memory for inputs and outputs.

empty

int register_output_fields  ) 
 

Register output fields for spatial directions this Green's function calculates.

empty

void register_parameter  ) 
 

Register parameters this Kernel claims from the input.

Register parameters this load function claims from the input.

void request_plugins  ) 
 

Request necessary plugins: crusde_request_green_plugin("elastic halfspace (pinel)").

empty

void run  ) 
 

Performs the fast convolution.

empty


Variable Documentation

double d_max
 

day of maximum load [d]

double period_length
 

number of days in a cycle [d]


Generated on Sun Jul 29 08:17:29 2007 for CrusDe by doxygen 1.3.8