damp.c File Reference

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include "load.h"
#include "elm.h"
#include "node.h"
#include "nfi.h"
#include "rio.h"
#include "damp.h"

Include dependency graph for damp.c:

Go to the source code of this file.

Data Structures

struct  sAutoGlobal
struct  sAutoLocal
struct  sRayleigh

Defines

#define PI   3.141592654

Functions

static void AutoGlobalNew (sDamp **)
static void AutoGlobalFree (sDamp *)
static void AutoGlobalRead (sDamp *)
static void AutoGlobalCalc (sDamp *, int, double, double *, double *, double *, double *)
static void AutoLocalNew (sDamp **)
static void AutoLocalFree (sDamp *)
static void AutoLocalRead (sDamp *)
static void AutoLocalCalc (sDamp *, int, double, double *, double *, double *, double *)
static void RayleighNew (sDamp **)
static void RayleighFree (sDamp *)
static void RayleighRead (sDamp *)
static void RayleighCalc (sDamp *, int, double, double *, double *, double *, double *)
void AutoGlobalInit (void)
void AutoLocalInit (void)
void RayleighInit (void)
void DampingInit (void)

Variables

sDampClass DampClass [NumDampTypes]
sDampDampObj = 0L


Define Documentation

#define PI   3.141592654

Definition at line 49 of file damp.c.


Function Documentation

static void AutoGlobalCalc ( sDamp damp,
int  iteration,
double  dtime,
double *  MVector,
double *  VVector,
double *  alpha,
double *  CinEng 
) [static]

Computes the damp coefficente. This function computes the damp coefficente and the cinetic energy for the system by the global Auto-Damping algorithm.

Definition at line 156 of file damp.c.

References sAutoGlobal::admul, sDamp::data, DISPLACEMENT, sNode::dof, sAutoGlobal::frac, sAutoGlobal::freq, NDof, NodeVector, NONE, NumNodes, PI, and sDof::z.

Referenced by AutoGlobalInit().

Here is the caller graph for this function:

static void AutoGlobalFree ( sDamp damp  )  [static]

Definition at line 110 of file damp.c.

References sDamp::data.

Referenced by AutoGlobalInit().

Here is the caller graph for this function:

void AutoGlobalInit ( void   ) 

Definition at line 488 of file damp.c.

References AUTO_GLOBAL, AutoGlobalCalc(), AutoGlobalFree(), AutoGlobalNew(), AutoGlobalRead(), sDampClass::calc, sDampClass::free, sDampClass::new, and sDampClass::read.

Referenced by DampingInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static void AutoGlobalNew ( sDamp **  damp  )  [static]

Definition at line 82 of file damp.c.

References sAutoGlobal::adfac, sAutoGlobal::admul, AUTO_GLOBAL, sAutoGlobal::frac, and sAutoGlobal::freq.

Referenced by AutoGlobalInit().

Here is the caller graph for this function:

static void AutoGlobalRead ( sDamp damp  )  [static]

Definition at line 130 of file damp.c.

References sAutoGlobal::adfac, sAutoGlobal::admul, sDamp::data, sAutoGlobal::frac, sAutoGlobal::freq, and nf.

Referenced by AutoGlobalInit().

Here is the caller graph for this function:

static void AutoLocalCalc ( sDamp damp,
int  iteration,
double  dtime,
double *  MVector,
double *  VVector,
double *  alpha,
double *  CinEng 
) [static]

Computes the damp coefficente. This function computes the damp coefficente and the cinetic energy for the system by the local Auto-Damping algorithm.

Definition at line 315 of file damp.c.

References sAutoLocal::cadl, sDamp::data, DISPLACEMENT, sNode::dof, NDof, NodeVector, NONE, NumNodes, and sDof::z.

Referenced by AutoLocalInit().

Here is the caller graph for this function:

static void AutoLocalFree ( sDamp damp  )  [static]

Definition at line 272 of file damp.c.

References sDamp::data.

Referenced by AutoLocalInit().

Here is the caller graph for this function:

void AutoLocalInit ( void   ) 

Definition at line 503 of file damp.c.

References AUTO_LOCAL, AutoLocalCalc(), AutoLocalFree(), AutoLocalNew(), AutoLocalRead(), sDampClass::calc, sDampClass::free, sDampClass::new, and sDampClass::read.

Referenced by DampingInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static void AutoLocalNew ( sDamp **  damp  )  [static]

Definition at line 247 of file damp.c.

References AUTO_LOCAL, and sAutoLocal::cadl.

Referenced by AutoLocalInit().

Here is the caller graph for this function:

static void AutoLocalRead ( sDamp damp  )  [static]

Definition at line 292 of file damp.c.

References sAutoLocal::cadl, sDamp::data, and nf.

Referenced by AutoLocalInit().

Here is the caller graph for this function:

void DampingInit ( void   ) 

Definition at line 538 of file damp.c.

Referenced by NfiInterpFile().

Here is the caller graph for this function:

static void RayleighCalc ( sDamp damp,
int  iteration,
double  dtime,
double *  MVector,
double *  VVector,
double *  alpha,
double *  CinEng 
) [static]

Computes the damp coefficente. This function computes the damp coefficente and the cinetic energy for the system by the Rayleigh algorithm.

Definition at line 467 of file damp.c.

References sDamp::data.

Referenced by RayleighInit().

Here is the caller graph for this function:

static void RayleighFree ( sDamp damp  )  [static]

Definition at line 421 of file damp.c.

References sDamp::data.

Referenced by RayleighInit().

Here is the caller graph for this function:

void RayleighInit ( void   ) 

Definition at line 518 of file damp.c.

References sDampClass::calc, sDampClass::free, sDampClass::new, RAYLEIGH, RayleighCalc(), RayleighFree(), RayleighNew(), RayleighRead(), and sDampClass::read.

Referenced by DampingInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static void RayleighNew ( sDamp **  damp  )  [static]

Definition at line 393 of file damp.c.

References sRayleigh::f1, sRayleigh::f2, sRayleigh::frac, sRayleigh::freq, and RAYLEIGH.

Referenced by RayleighInit().

Here is the caller graph for this function:

static void RayleighRead ( sDamp damp  )  [static]

Definition at line 441 of file damp.c.

References sDamp::data, sRayleigh::f1, sRayleigh::f2, sRayleigh::frac, sRayleigh::freq, and nf.

Referenced by RayleighInit().

Here is the caller graph for this function:


Variable Documentation

sDampClass DampClass[NumDampTypes]

Damp class

Definition at line 36 of file damp.c.

sDamp* DampObj = 0L

Damp Object

Definition at line 40 of file damp.c.

Referenced by _NfiReadDamping(), _NfiReadDampingGlobalParameter(), _NfiReadDampingLocalParameter(), _NfiReadDampingRayleighParameter(), DRSolver(), and HYBRIDSolver().


Generated on Tue Oct 23 11:23:43 2007 for Relax by  doxygen 1.5.3