plugin_src/crustal_decay/exponential.c File Reference

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

Include dependency graph for exponential.c:


Functions

const char * get_name ()
const char * get_version ()
const char * get_authors ()
PluginCategory get_category ()
const char * get_description ()
void request_plugins ()
void register_output_fields ()
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 get_value_at (unsigned int t)

Variables

double * p_tR [100]
double tR
int my_id = 0

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 (  ) 

freeing mallocs

const char* get_authors (  ) 

PluginCategory get_category (  ) 

const char* get_description (  ) 

const char* get_name (  ) 

double get_value_at ( unsigned int  t  ) 

const char* get_version (  ) 

void init (  ) 

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

empty

void register_output_fields (  ) 

empty

void register_parameter (  ) 

Register parameters this Kernel claims from the input.

Register parameters this load function claims from the input.

void request_plugins (  ) 

empty

void run (  ) 

Performs the fast convolution.

empty


Variable Documentation

int my_id = 0

double* p_tR[100]

effective relaxation time [yr]

double tR

effective relaxation time [yr]


Generated on Sun Aug 31 13:19:37 2008 for CrusDe by  doxygen 1.5.0