COVISE Core
Namespaces | Macros | Functions
covise_gridmethods.cpp File Reference
#include "covise_gridmethods.h"
#include <do/coDoUnstructuredGrid.h>
#include <cmath>
#include <cfloat>
#include <cstring>
#include <time.h>
#include <climits>
#include <cstdio>
#include <cstdlib>
#include <cassert>
#include "Triangulate.h"
Include dependency graph for covise_gridmethods.cpp:

Namespaces

namespace  covise
 list of all chemical elements
 

Macros

#define CELL_TYPES_ONLY
 
#define MAX(v1, v2)   ((v1) > (v2) ? (v1) : (v2))
 
#define MIN(v1, v2)   ((v1) < (v2) ? (v1) : (v2))
 
#define ABS(x)   ((x) < 0 ? -(x) : (x))
 
#define SIGN(a, b)   ((b) < 0.0 ? -(ABS((a))) : ABS((a)))
 
#define MITER   5
 
#define PA   (*a)
 
#define PB   (*b)
 
#define PG   (*g)
 
#define PI   (*i)
 
#define PJ   (*j)
 
#define PK   (*k)
 
#define NDIM   5
 
#define X_ARR(a, b)   (*(x + ((a)*n) + (b)))
 
#define U_ARR(a, b)   (*(u + ((a)*p) + (b)))
 
#define V_ARR(a, b)   (*(v + ((a)*p) + (b)))
 

Functions

int covise::InvTrans (float out[3][3], const float in[3][3])
 
void covise::vectorProduct (float *normal, const float *v1, const float *v2)
 
float covise::dotProduct (const float *v1, const float *v2)
 
void covise::createVector (float *result, const float *org, const float *end)
 

Macro Definition Documentation

◆ ABS

#define ABS (   x)    ((x) < 0 ? -(x) : (x))

◆ CELL_TYPES_ONLY

#define CELL_TYPES_ONLY

◆ MAX

#define MAX (   v1,
  v2 
)    ((v1) > (v2) ? (v1) : (v2))

◆ MIN

#define MIN (   v1,
  v2 
)    ((v1) < (v2) ? (v1) : (v2))

◆ MITER

#define MITER   5

◆ NDIM

#define NDIM   5

◆ PA

#define PA   (*a)

◆ PB

#define PB   (*b)

◆ PG

#define PG   (*g)

◆ PI

#define PI   (*i)

◆ PJ

#define PJ   (*j)

◆ PK

#define PK   (*k)

◆ SIGN

#define SIGN (   a,
  b 
)    ((b) < 0.0 ? -(ABS((a))) : ABS((a)))

◆ U_ARR

#define U_ARR (   a,
  b 
)    (*(u + ((a)*p) + (b)))

◆ V_ARR

#define V_ARR (   a,
  b 
)    (*(v + ((a)*p) + (b)))

◆ X_ARR

#define X_ARR (   a,
  b 
)    (*(x + ((a)*n) + (b)))