#include <stdio.h>
#include <math.h>
#include "crusde_api.h"
Include dependency graph for disk_load.c:
Functions | |
const char * | get_name () |
const char * | get_version () |
const char * | get_authors () |
const char * | get_description () |
const PluginCategory | get_category () |
void | run () |
Performs the fast convolution. | |
void | clear () |
empty | |
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 | 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 (int x, int y, int t) |
Returns the Load of a disk at Point (x,y) at time t. | |
Variables | |
double | disk_height |
double | disk_radius |
double | disk_x |
double | disk_y |
double | rho |
double | dS |
double | all_const |
double | rho_dS_const |
|
empty
|
|
|
|
|
|
|
|
|
|
Returns the Load of a disk at Point (x,y) at time t. Computes the euclidean distance of Point (x,y) to (center_x, center_y). If this distance is less or equal to disk_radius the load will be returned, zero otherwise.
|
|
|
|
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(). |
|
Register output fields for spatial directions this Green's function calculates. This function calls crusde_register_output_field defined in crusde_api.h to register output field in the following order:
|
|
Register parameters this Kernel claims from the input. This function calls register_load_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 -LfirstRegistered/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(). This function registers the references in the following order:
|
|
Request necessary plugins: crusde_request_green_plugin("elastic halfspace (pinel)"). empty |
|
Performs the fast convolution. writes data for actual time step to file |
|
all_const = rho*dS*disk_height, no parts of the load depend on time |
|
Disk's height [m] |
|
Disk's radius [m] |
|
Disk's center, x-Coordinate[-] |
|
Disk's center, y-Coordinate[-] |
|
Area around point P(x,y) [m^2] |
|
Density of the load [kg/m^3] |
|
rho_dS_const = rho * dS, height depends on time |