alg.h File Reference

#include "rui.h"

Include dependency graph for alg.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sConfig

Defines

#define IsGeomNonLinear   (Config.nonlinear == 1)
#define IsCoupled   (State == COUPLED)

Typedefs

typedef enum _coupstate eCoupState

Enumerations

enum  _coupstate { UNCOUPLED = 0, COUPLED = 1 }

Functions

int DRSolver (UI_State *, double *, double *, double *, double *, int)
int IMPLINEARSolver (UI_State *, double *, double *, double *, double *, int)
int IMPBFGSSolver (UI_State *, double *, double *, double *, double *, int)
int IMPNRMSolver (UI_State *, double *, double *, double *, double *, int)
int HYBRIDSolver (UI_State *R, double *FVector, double *UVector, double *VVector, double *MVector, int)
void AlgReset (void)
double ComputeError (double *, double *, double)
void _dUVector (double *, double *, double *)
int NeedIteration (double *, int *, int)

Variables

void(* _count_it )(int, double, int)
void(* _fstop )(int *)
sConfig Config
void(* _count_it )(int, double, int)
void(* _fstop )(int *)
eCoupState State


Define Documentation

#define IsCoupled   (State == COUPLED)

Definition at line 84 of file alg.h.

Referenced by DRSolver(), and HYBRIDSolver().

#define IsGeomNonLinear   (Config.nonlinear == 1)

Definition at line 83 of file alg.h.

Referenced by DRSolver(), HYBRIDSolver(), and InternalForces().


Typedef Documentation

typedef enum _coupstate eCoupState


Enumeration Type Documentation

enum _coupstate

Enumerator:
UNCOUPLED 
COUPLED 

Definition at line 37 of file alg.h.


Function Documentation

void _dUVector ( double *  ,
double *  ,
double *   
)

Definition at line 290 of file alg.c.

References NDof, NodeVector, NONE, and NumNodes.

void AlgReset ( void   ) 

Definition at line 1176 of file alg.c.

References sConfig::algtype, sConfig::draw_step, sConfig::dtfrac, sConfig::gaussresults, sConfig::loadfactor, sConfig::max_iter, sConfig::nonlinear, sConfig::num_load_step, sConfig::num_step, sConfig::num_time_step, sConfig::numgaussresults, sConfig::numsteptol, sConfig::print_step, sConfig::solver, sConfig::timeStep, sConfig::tolerance, and sConfig::totalTime.

double ComputeError ( double *  ,
double *  ,
double   
)

Definition at line 255 of file alg.c.

References NDof, NodeVector, NONE, and NumNodes.

int DRSolver ( UI_State ,
double *  ,
double *  ,
double *  ,
double *  ,
int   
)

Definition at line 360 of file alg.c.

References _count_it, _dUVector(), _fstop, _TimeIncrement(), _UpdateGeometry(), ComputeError(), DampCalcCoeff, DampObj, DisplacementVelocity(), sConfig::draw_step, DrvObj, DrvPrintResult, sConfig::dtfrac, InitialError(), InternalForces(), IsCoupled, IsGeomNonLinear, sConfig::loadfactor, MassVector(), NDof, NeedIteration(), sConfig::num_load_step, NumNodes, sConfig::numsteptol, PercolationForces(), UIDraw(), UISetDisplacement(), and vetError.

Here is the call graph for this function:

int HYBRIDSolver ( UI_State R,
double *  FVector,
double *  UVector,
double *  VVector,
double *  MVector,
int   
)

Definition at line 957 of file alg.c.

References _count_it, _dUVector(), _fstop, _TimeIncrement(), _UpdateGeometry(), BFGS(), BuildAVector(), BuildIaVec(), BuildJaVec(), BuildNodeList(), ComputeError(), DampCalcCoeff, DampObj, DisplacementVelocity(), sConfig::draw_step, DrvObj, DrvPrintResult, sConfig::dtfrac, FreeNodeList(), InitialError(), InternalForces(), IsCoupled, IsGeomNonLinear, sConfig::loadfactor, MassVector(), sConfig::max_iter, NDof, NeedIteration(), sConfig::num_load_step, NumNodes, sConfig::numsteptol, PercolationForces(), sConfig::solver, sConfig::tolerance, UIDraw(), UISetDisplacement(), and vetError.

Here is the call graph for this function:

int IMPBFGSSolver ( UI_State ,
double *  ,
double *  ,
double *  ,
double *  ,
int   
)

Definition at line 653 of file alg.c.

References _count_it, _fstop, _TimeIncrement(), BFGS(), BuildAVector(), BuildIaVec(), BuildJaVec(), BuildNodeList(), DrvObj, DrvPrintResult, sConfig::dtfrac, FreeNodeList(), InitialError(), sConfig::loadfactor, MassVector(), NDof, NeedIteration(), sConfig::num_load_step, NumNodes, sConfig::numsteptol, sConfig::solver, UISetDisplacement(), and vetError.

Here is the call graph for this function:

int IMPLINEARSolver ( UI_State ,
double *  ,
double *  ,
double *  ,
double *  ,
int   
)

Definition at line 501 of file alg.c.

References _count_it, _fstop, _TimeIncrement(), BuildAVector(), BuildIaVec(), BuildJaVec(), BuildNodeList(), DrvObj, DrvPrintResult, sConfig::dtfrac, FreeNodeList(), InitialError(), LINEAR(), sConfig::loadfactor, MassVector(), NDof, sConfig::num_load_step, NumNodes, sConfig::numsteptol, sConfig::solver, UISetDisplacement(), and vetError.

Here is the call graph for this function:

int IMPNRMSolver ( UI_State ,
double *  ,
double *  ,
double *  ,
double *  ,
int   
)

Definition at line 805 of file alg.c.

References _count_it, _fstop, _TimeIncrement(), BuildAVector(), BuildIaVec(), BuildJaVec(), BuildNodeList(), DrvObj, DrvPrintResult, sConfig::dtfrac, FreeNodeList(), InitialError(), sConfig::loadfactor, MassVector(), NDof, NeedIteration(), NRM(), sConfig::num_load_step, NumNodes, sConfig::numsteptol, sConfig::solver, UISetDisplacement(), and vetError.

Here is the call graph for this function:

int NeedIteration ( double *  ,
int *  ,
int   
)

Definition at line 319 of file alg.c.

References _ConvergeError(), sConfig::max_iter, sConfig::numsteptol, and vetError.

Here is the call graph for this function:


Variable Documentation

void(* _count_it)(int, double, int)

Definition at line 67 of file alg.h.

void(* _count_it)(int, double, int)

Definition at line 67 of file alg.h.

Referenced by BFGS(), DRSolver(), HYBRIDSolver(), IMPBFGSSolver(), IMPLINEARSolver(), IMPNRMSolver(), LINEAR(), NRM(), and RelaxInit().

void(* _fstop)(int *)

Definition at line 68 of file alg.h.

void(* _fstop)(int *)

Definition at line 68 of file alg.h.

Referenced by BFGS(), DRSolver(), HYBRIDSolver(), IMPBFGSSolver(), IMPLINEARSolver(), IMPNRMSolver(), LINEAR(), NRM(), and RelaxInit().

sConfig Config

Definition at line 87 of file alg.c.

eCoupState State

Definition at line 93 of file alg.c.


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