plugin_src/postprocess/hori2vert_ratio.c File Reference

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

Include dependency graph for hori2vert_ratio.c:

Include dependency graph

Functions

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

Variables

int NLAT
int NLON
int my_position

Detailed Description

calculates the ratio of horizontal and vertical displacement at each point and adds it to the output array

Function Documentation

void clear  ) 
 

empty

void free  ) 
 

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.

This function must not be called before register_parameter() unless none of the necessary values depends on parameters provided by the user, which are only set after they have been registered. This function is called some time after register_parameter().

See also:
register_parameter()

int register_output_fields  ) 
 

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

registers one ADD_FIELD type field with the framework

void register_parameter  ) 
 

Register parameters this Kernel claims from the input.

This function is called right after loading of the Plug-in. It calls register_green_param() defined in crusde_api.h to register references to parameters this Green's function will need to operate properly. For command line use the order of registration in this function defines the identification of parameters in the command line string (i.e. './green -GfirstRegistered/secondRegistered/...'). In case an XML is used to configure the experiment, the reference to this parameter will be identified by the string passed as second argument to register_green_param().

See also:
register_green_param()

register_load_param()

register_kernel_param()

void request_plugins  ) 
 

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

empty

void run  ) 
 

Performs the fast convolution.

This function is only called for Kernel Plug-ins. It can be omitted for any other Plug-in type.


Variable Documentation

int my_position
 

int NLAT
 

int NLON
 


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