#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 | _autoglobal |
| struct | _autolocal |
| struct | _rayleigh |
Defines | |
| #define | PI 3.141592654 |
Typedefs | |
| typedef _autoglobal | sAutoGlobal |
| typedef _autolocal | sAutoLocal |
| typedef _rayleigh | sRayleigh |
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] |
| sDamp * | DampObj = 0L |
| typedef struct _autoglobal sAutoGlobal |
| typedef struct _autolocal sAutoLocal |
| 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 _autoglobal::admul, _damp::data, DISPLACEMENT, _node::dof, _autoglobal::frac, _autoglobal::freq, NDof, NodeVector, NONE, NumNodes, PI, _dof::y, and _dof::z.
Referenced by AutoGlobalInit().
Here is the caller graph for this function:

| static void AutoGlobalFree | ( | sDamp * | ) | [static] |
Definition at line 110 of file damp.c.
References _damp::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(), _dampclass::calc, DampClass, _dampclass::free, _dampclass::new, and _dampclass::read.
Referenced by DampingInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void AutoGlobalNew | ( | sDamp ** | ) | [static] |
Definition at line 82 of file damp.c.
References _autoglobal::adfac, _autoglobal::admul, AUTO_GLOBAL, _autoglobal::frac, and _autoglobal::freq.
Referenced by AutoGlobalInit().
Here is the caller graph for this function:

| static void AutoGlobalRead | ( | sDamp * | ) | [static] |
Definition at line 130 of file damp.c.
References _autoglobal::adfac, _autoglobal::admul, _damp::data, _autoglobal::frac, _autoglobal::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 _autolocal::cadl, _damp::data, DISPLACEMENT, _node::dof, NDof, NodeVector, NONE, NumNodes, _dof::y, and _dof::z.
Referenced by AutoLocalInit().
Here is the caller graph for this function:

| static void AutoLocalFree | ( | sDamp * | ) | [static] |
Definition at line 272 of file damp.c.
References _damp::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(), _dampclass::calc, DampClass, _dampclass::free, _dampclass::new, and _dampclass::read.
Referenced by DampingInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void AutoLocalNew | ( | sDamp ** | ) | [static] |
Definition at line 247 of file damp.c.
References AUTO_LOCAL, and _autolocal::cadl.
Referenced by AutoLocalInit().
Here is the caller graph for this function:

| static void AutoLocalRead | ( | sDamp * | ) | [static] |
Definition at line 292 of file damp.c.
References _autolocal::cadl, _damp::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.
References AUTO_GLOBAL, AUTO_LOCAL, AutoGlobalInit(), AutoLocalInit(), DampClass, DampInit, _dampclass::init, NumDampTypes, RAYLEIGH, and RayleighInit().
Referenced by NfiInterpFile().
Here is the call graph for this function:

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 _damp::data.
Referenced by RayleighInit().
Here is the caller graph for this function:

| static void RayleighFree | ( | sDamp * | ) | [static] |
Definition at line 421 of file damp.c.
References _damp::data.
Referenced by RayleighInit().
Here is the caller graph for this function:

| void RayleighInit | ( | void | ) |
Definition at line 518 of file damp.c.
References _dampclass::calc, DampClass, _dampclass::free, _dampclass::new, RAYLEIGH, RayleighCalc(), RayleighFree(), RayleighNew(), RayleighRead(), and _dampclass::read.
Referenced by DampingInit().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void RayleighNew | ( | sDamp ** | ) | [static] |
Definition at line 393 of file damp.c.
References _rayleigh::f1, _rayleigh::f2, _rayleigh::frac, _rayleigh::freq, and RAYLEIGH.
Referenced by RayleighInit().
Here is the caller graph for this function:

| static void RayleighRead | ( | sDamp * | ) | [static] |
Definition at line 441 of file damp.c.
References _damp::data, _rayleigh::f1, _rayleigh::f2, _rayleigh::frac, _rayleigh::freq, and nf.
Referenced by RayleighInit().
Here is the caller graph for this function:

| sDampClass DampClass[NumDampTypes] |
Damp class
Definition at line 36 of file damp.c.
Referenced by AutoGlobalInit(), AutoLocalInit(), DampingInit(), and RayleighInit().
Damp Object
Definition at line 40 of file damp.c.
Referenced by _NfiReadDamping(), _NfiReadDampingGlobalParameter(), _NfiReadDampingLocalParameter(), _NfiReadDampingRayleighParameter(), DRSolver(), and HYBRIDSolver().
1.5.1