constrain.h File Reference

#include <stdio.h>
#include "node.h"
#include "elm.h"

Include dependency graph for constrain.h:

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

Go to the source code of this file.

Data Structures

struct  sConstrain
struct  sConstClass

Defines

#define MIN(a, b)   ((a<b)?a:b)
#define MAX(a, b)   ((a>b)?a:b)
#define ABS(a)   ((a>=0)?a:-a)
#define ConstInit(type)
#define ConstNew(type, label, nn, ne, c, l)
#define ConstFree(c)
#define ConstRead(c)
#define ConstBuild(c)
#define ConstToLocal(c, p, e, g, l)
#define ConstToGlobal(c, p, e, l, g)
#define ConstSlide(c, p, e, d, l, g, pl)

Typedefs

typedef enum _consttype eConstType

Enumerations

enum  _consttype { CURVE, SHOT, SURFACE, NumConstTypes }

Functions

void ConstrainInit (void)
void ConstrainFree (void)
void ConstrainBuild (void)

Variables

sConstClass ConstClass [NumConstTypes]
sConstrain ** ConstList
int ContNumConstrainRead
int NumConstrains
sCoordshotVector


Detailed Description

Author:
Joao Luiz Elias Campos.
Date:
June 22, 2004

Definition in file constrain.h.


Define Documentation

#define ABS (  )     ((a>=0)?a:-a)

Definition at line 62 of file constrain.h.

Referenced by pfsInitParams(), and pfsSolveSurfPar1Pass().

#define ConstBuild (  ) 

Value:

if(ConstClass[c->type].build != 0L)     \
         (*ConstClass[c->type].build)(c)

Definition at line 132 of file constrain.h.

Referenced by ConstrainBuild().

#define ConstFree (  ) 

Value:

if(ConstClass[c->type].free != 0L)      \
         (*ConstClass[c->type].free)(c)

Definition at line 124 of file constrain.h.

Referenced by ConstrainFree().

#define ConstInit ( type   ) 

Value:

if(ConstClass[type].init != 0L)         \
         (*ConstClass[type].init)()

Definition at line 116 of file constrain.h.

Referenced by ConstrainInit().

#define ConstNew ( type,
label,
nn,
ne,
c,
 ) 

Value:

if(ConstClass[type].new != 0L)          \
         (*ConstClass[type].new)(label,nn,ne,c,l)

Definition at line 120 of file constrain.h.

Referenced by _NfiReadConstrainCurve(), _NfiReadConstrainShot(), and _NfiReadConstrainSurface().

#define ConstRead (  ) 

Value:

if(ConstClass[c->type].read != 0L)      \
         (*ConstClass[c->type].read)(c)

Definition at line 128 of file constrain.h.

Referenced by _NfiReadConstrainCurve(), _NfiReadConstrainShot(), and _NfiReadConstrainSurface().

#define ConstSlide ( c,
p,
e,
d,
l,
g,
pl   ) 

Value:

((ConstClass[c->type].slide != 0L) ?    \
         (*ConstClass[c->type].slide)(c,p,e,d,l,g,pl) :\
         0)

Definition at line 146 of file constrain.h.

Referenced by DisplacementVelocity().

#define ConstToGlobal ( c,
p,
e,
l,
 ) 

Value:

((ConstClass[c->type].global != 0L) ?    \
         (*ConstClass[c->type].global)(c,p,e,l,g) :\
         0)

Definition at line 141 of file constrain.h.

Referenced by DisplacementVelocity().

#define ConstToLocal ( c,
p,
e,
g,
 ) 

Value:

((ConstClass[c->type].local != 0L) ?    \
         (*ConstClass[c->type].local)(c,p,e,g,l) :\
         0)

Definition at line 136 of file constrain.h.

Referenced by DisplacementVelocity().

#define MAX ( a,
 )     ((a>b)?a:b)

Definition at line 58 of file constrain.h.

Referenced by PFS3Box::ExtendVolume(), LineBounds(), and pfsNormalizeParVals().

#define MIN ( a,
 )     ((a<b)?a:b)

Definition at line 54 of file constrain.h.

Referenced by PFS3Box::ExtendVolume(), and LineBounds().


Typedef Documentation

typedef enum _consttype eConstType


Enumeration Type Documentation

enum _consttype

Enumerator:
CURVE 
SHOT 
SURFACE 
NumConstTypes 

Definition at line 67 of file constrain.h.


Function Documentation

void ConstrainBuild ( void   ) 

Definition at line 90 of file constrain.c.

References ConstBuild, and NumConstrains.

void ConstrainFree ( void   ) 

Definition at line 75 of file constrain.c.

References ConstFree, and NumConstrains.

void ConstrainInit ( void   ) 

Definition at line 55 of file constrain.c.

References ConstCurveInit(), ConstInit, ConstShotInit(), ConstSurfaceInit(), ContNumConstrainRead, CURVE, sConstClass::init, NumConstrains, NumConstTypes, SHOT, and SURFACE.

Here is the call graph for this function:


Variable Documentation

sConstClass ConstClass[NumConstTypes]

Definition at line 36 of file constrain.c.

sConstrain** ConstList

Definition at line 37 of file constrain.c.

int ContNumConstrainRead

Definition at line 38 of file constrain.c.

int NumConstrains

Definition at line 39 of file constrain.c.

sCoord* shotVector

Definition at line 26 of file constshot.c.


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