BlockIP
Macros | Functions
BlockIPminimize.C File Reference
#include "math.h"
#include "misc.h"
#include "pcg.h"
#include "ritz_value.h"
#include <iostream>
#include "BlockIP.h"
#include "ExceptionBlockIP.h"
#include <limits>

Macros

#define CHECK(V)   if (V[i] != 0) cout << "Warning: Inactive " << listInactiveLnk[j] <<" i=" << i << " " << #V <<"[i]= " << V[i] <<endl;
 
#define CHECK2(V)   if (V[i] != 0) cout << "Warning: variable " << listWithoutUb[j] <<" i=" << i << " " << #V <<"[i]= " << V[i] <<endl;
 

Functions

int PCG_Hv_wrapper (int nn, double *v, double *Hv, void *t)
 Nonmember wrapper function to callback PCG member function min_PCG_Hv.
 
int PCG_Hz_eq_r_wrapper (int nn, double *zz, double *rr, int(*atimes)(int, double *, double *, void *), void *t)
 Non-member wrapper function to callback PCG member function min_PCG_Hz_eq_r_wrapper.
 
int PCG_Theta0z_eq_r_wrapper (int nn, double *zz, double *rr, int(*atimes)(int, double *, double *, void *), void *t)
 Non-member wrapper function to callback PCG member function min_PCG_Theta0z_eq_r_wrapper.
 

Macro Definition Documentation

#define CHECK (   V)    if (V[i] != 0) cout << "Warning: Inactive " << listInactiveLnk[j] <<" i=" << i << " " << #V <<"[i]= " << V[i] <<endl;
#define CHECK2 (   V)    if (V[i] != 0) cout << "Warning: variable " << listWithoutUb[j] <<" i=" << i << " " << #V <<"[i]= " << V[i] <<endl;

Function Documentation

int PCG_Hv_wrapper ( int  nn,
double *  v,
double *  Hv,
void *  t 
)
inline

Nonmember wrapper function to callback PCG member function min_PCG_Hv.

int PCG_Hz_eq_r_wrapper ( int  nn,
double *  zz,
double *  rr,
int(*)(int, double *, double *, void *)  atimes,
void *  t 
)
inline

Non-member wrapper function to callback PCG member function min_PCG_Hz_eq_r_wrapper.

int PCG_Theta0z_eq_r_wrapper ( int  nn,
double *  zz,
double *  rr,
int(*)(int, double *, double *, void *)  atimes,
void *  t 
)
inline

Non-member wrapper function to callback PCG member function min_PCG_Theta0z_eq_r_wrapper.