Data Structures | Defines | Functions

g2blopt07d.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 g2blopt07d.c:

Data Structures

struct  lmt_cloptdata

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 MLFUNC(nu)
#define SUCCESS
#define SWITCH_ACCURACY
#define RECORD_MIN(g, fnu)

Functions

void g2bl_ClosedOptLMTDeallocated (void **data)
boolean g2bl_ClosedInitBlSurfaceOptLMTd (int lastknotu, int lastknotv, int pitch, point3d *cp, double C, double dO, double dM, int nkn1, int nkn2, void **data)
boolean g2bl_ClosedIterBlSurfaceOptLMTd (void *data, boolean *finished)
boolean g2bl_ClosedFindBlSurfaceLMTd (int lastknotu, int lastknotv, int pitch, point3d *cp, 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 MLFUNC (   nu  ) 
Value:
_g2bl_ClosedAuxNuFuncd ( nkn, qcoeff, Nitab, nvars, hsize, prof, hessian, \
                     Lhessian, Lhrows, nu, lastknotu, lastknotv, pitch, cp, acp, \
                     grad, dcoeff, d->C, ftab )
#define RECORD_MIN (   g,
  fnu 
)
Value:
{ if ( fnu < d->func ) {\
      memcpy ( coeff, dcoeff, 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

boolean g2bl_ClosedFindBlSurfaceLMTd ( int  lastknotu,
int  lastknotv,
int  pitch,
point3d cp,
double  C,
double  dO,
double  dM,
int  maxit,
int  nkn1,
int  nkn2 
)
boolean g2bl_ClosedInitBlSurfaceOptLMTd ( int  lastknotu,
int  lastknotv,
int  pitch,
point3d cp,
double  C,
double  dO,
double  dM,
int  nkn1,
int  nkn2,
void **  data 
)
boolean g2bl_ClosedIterBlSurfaceOptLMTd ( void *  data,
boolean finished 
)
void g2bl_ClosedOptLMTDeallocated ( void **  data  )