Data Structures | Defines | Functions

g2blopt08d.c File Reference

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "pkvaria.h"
#include "pknum.h"
#include "pkgeom.h"
#include "multibs.h"
#include "g2blendingd.h"
#include "g2blprivated.h"
#include "msgpool.h"
Include dependency graph for g2blopt08d.c:

Data Structures

struct  lmt_clconstroptdata

Defines

#define DEBUG
#define _DEBUG
#define COUNT
#define EPS0   5.0e-10
#define EPS1   1.0e-8
#define MAXNTN   16
#define MAXGTN   16
#define MAXSTN   30
#define MAXBTN   10
#define MAXCTN   20
#define THR1   0.9
#define THR2   0.75
#define THR3   0.25
#define DELTA   0.01
#define RHO   0.05
#define SIGMA   0.1
#define GRTHR   0.01
#define SUCCESS
#define SWITCH_ACCURACY
#define RECORD_MIN(g, fnu)

Functions

void g2bl_ClosedConstrOptLMTDeallocated (void **data)
boolean g2bl_ClosedInitBlSurfaceConstrOptLMTd (int lastknotu, int lastknotv, int pitch, point3d *cp, int nconstr, double *constrmat, double *constrrhs, double C, double dO, double dM, int nkn1, int nkn2, void **data)
boolean g2bl_ClosedIterBlSurfaceConstrOptLMTd (void *data, boolean *finished)
boolean g2bl_ClosedFindBlSurfaceConstrLMTd (int lastknotu, int lastknotv, int pitch, point3d *cp, int nconstr, double *constrmat, double *constrrhs, double C, double dO, double dM, int maxit, int nkn1, int nkn2)

Define Documentation

#define _DEBUG
#define COUNT
#define DEBUG
#define DELTA   0.01
#define EPS0   5.0e-10
#define EPS1   1.0e-8
#define GRTHR   0.01
#define MAXBTN   10
#define MAXCTN   20
#define MAXGTN   16
#define MAXNTN   16
#define MAXSTN   30
#define RECORD_MIN (   g,
  fnu 
)
Value:
{ if ( fnu < d->func ) { \
      memcpy ( mcoeff, coeff, nvars*sizeof(double) ); \
      d->func = fnu; \
      d->nu = g; \
      d->newpoint = true; \
    } \
  }
#define RHO   0.05
#define SIGMA   0.1
#define SUCCESS
Value:
{ \
    *finished = true; \
    goto next_iter; \
  }
#define SWITCH_ACCURACY
Value:
{ \
    d->accurate = d->newpoint = true; \
    d->func = MYINFINITY;  /* this is to prevent effects of changing */ \
                           /* quadrature approximation error */ \
    goto next_iter; \
  }
#define THR1   0.9
#define THR2   0.75
#define THR3   0.25

Function Documentation

void g2bl_ClosedConstrOptLMTDeallocated ( void **  data  ) 
boolean g2bl_ClosedFindBlSurfaceConstrLMTd ( int  lastknotu,
int  lastknotv,
int  pitch,
point3d cp,
int  nconstr,
double *  constrmat,
double *  constrrhs,
double  C,
double  dO,
double  dM,
int  maxit,
int  nkn1,
int  nkn2 
)
boolean g2bl_ClosedInitBlSurfaceConstrOptLMTd ( int  lastknotu,
int  lastknotv,
int  pitch,
point3d cp,
int  nconstr,
double *  constrmat,
double *  constrrhs,
double  C,
double  dO,
double  dM,
int  nkn1,
int  nkn2,
void **  data 
)
boolean g2bl_ClosedIterBlSurfaceConstrOptLMTd ( void *  data,
boolean finished 
)