Blender V2.61 - r43446
Defines | Typedefs | Functions

ONL_opennl.h File Reference

Go to the source code of this file.

Defines

#define NL_USE_SUPERLU
#define nlOPENNL_H
#define NL_VERSION_0_0   1
#define NL_FALSE   0x0
#define NL_TRUE   0x1
#define NL_SYSTEM   0x0
#define NL_MATRIX   0x1
#define NL_SOLVER   0x100
#define NL_NB_VARIABLES   0x101
#define NL_LEAST_SQUARES   0x102
#define NL_SYMMETRIC   0x106
#define NL_ERROR   0x108
#define NL_NB_ROWS   0x110
#define NL_NB_RIGHT_HAND_SIDES   0x112

Typedefs

typedef unsigned int NLenum
typedef unsigned char NLboolean
typedef unsigned int NLbitfield
typedef void NLvoid
typedef signed char NLbyte
typedef short NLshort
typedef int NLint
typedef unsigned char NLubyte
typedef unsigned short NLushort
typedef unsigned int NLuint
typedef int NLsizei
typedef float NLfloat
typedef double NLdouble
typedef void * NLContext

Functions

NLContext nlNewContext (void)
void nlDeleteContext (NLContext context)
void nlMakeCurrent (NLContext context)
NLContext nlGetCurrent (void)
void nlSolverParameterf (NLenum pname, NLfloat param)
void nlSolverParameteri (NLenum pname, NLint param)
void nlGetBooleanv (NLenum pname, NLboolean *params)
void nlGetFloatv (NLenum pname, NLfloat *params)
void nlGetIntergerv (NLenum pname, NLint *params)
void nlEnable (NLenum pname)
void nlDisable (NLenum pname)
NLboolean nlIsEnabled (NLenum pname)
void nlSetVariable (NLuint rhsindex, NLuint index, NLfloat value)
NLfloat nlGetVariable (NLuint rhsindex, NLuint index)
void nlLockVariable (NLuint index)
void nlUnlockVariable (NLuint index)
NLboolean nlVariableIsLocked (NLuint index)
void nlBegin (NLenum primitive)
void nlEnd (NLenum primitive)
void nlMatrixAdd (NLuint row, NLuint col, NLfloat value)
void nlRightHandSideAdd (NLuint rhsindex, NLuint index, NLfloat value)
void nlRightHandSideSet (NLuint rhsindex, NLuint index, NLfloat value)
void nlMatrixMultiply (NLfloat *x, NLfloat *y)
void nlPrintMatrix (void)
NLboolean nlSolve (void)
NLboolean nlSolveAdvanced (NLint *permutation, NLboolean solveAgain)

Detailed Description

Definition in file ONL_opennl.h.


Define Documentation

#define NL_ERROR   0x108

Definition at line 90 of file ONL_opennl.h.

Referenced by nlGetFloatv().

#define NL_FALSE   0x0

Definition at line 76 of file ONL_opennl.h.

Referenced by __nlFree_SUPERLU(), nlIsEnabled(), nlSolve(), and nlUnlockVariable().

#define NL_LEAST_SQUARES   0x102
#define NL_MATRIX   0x1
#define NL_NB_RIGHT_HAND_SIDES   0x112

Definition at line 92 of file ONL_opennl.h.

Referenced by meshdeform_matrix_solve(), nlSolverParameterf(), and nlSolverParameteri().

#define NL_NB_ROWS   0x110
#define NL_NB_VARIABLES   0x101
#define NL_SOLVER   0x100

Definition at line 86 of file ONL_opennl.h.

#define NL_SYMMETRIC   0x106
#define NL_SYSTEM   0x0
#define NL_TRUE   0x1
#define NL_USE_SUPERLU

Definition at line 45 of file ONL_opennl.h.

#define NL_VERSION_0_0   1

Definition at line 54 of file ONL_opennl.h.

#define nlOPENNL_H

Definition at line 48 of file ONL_opennl.h.


Typedef Documentation

typedef unsigned int NLbitfield

Definition at line 60 of file ONL_opennl.h.

typedef unsigned char NLboolean

Definition at line 59 of file ONL_opennl.h.

typedef signed char NLbyte

Definition at line 62 of file ONL_opennl.h.

typedef void* NLContext

Definition at line 72 of file ONL_opennl.h.

typedef double NLdouble

Definition at line 70 of file ONL_opennl.h.

typedef unsigned int NLenum

Definition at line 58 of file ONL_opennl.h.

typedef float NLfloat

Definition at line 69 of file ONL_opennl.h.

typedef int NLint

Definition at line 64 of file ONL_opennl.h.

typedef short NLshort

Definition at line 63 of file ONL_opennl.h.

typedef int NLsizei

Definition at line 68 of file ONL_opennl.h.

typedef unsigned char NLubyte

Definition at line 65 of file ONL_opennl.h.

typedef unsigned int NLuint

Definition at line 67 of file ONL_opennl.h.

typedef unsigned short NLushort

Definition at line 66 of file ONL_opennl.h.

typedef void NLvoid

Definition at line 61 of file ONL_opennl.h.


Function Documentation

void nlBegin ( NLenum  primitive)
void nlDeleteContext ( NLContext  context)
void nlDisable ( NLenum  pname)

Definition at line 732 of file opennl.c.

References __nl_assert_not_reached.

void nlEnable ( NLenum  pname)

Definition at line 724 of file opennl.c.

References __nl_assert_not_reached.

void nlEnd ( NLenum  primitive)
void nlGetBooleanv ( NLenum  pname,
NLboolean params 
)
NLContext nlGetCurrent ( void  )
void nlGetFloatv ( NLenum  pname,
NLfloat params 
)
void nlGetIntergerv ( NLenum  pname,
NLint params 
)
NLfloat nlGetVariable ( NLuint  rhsindex,
NLuint  index 
)
NLboolean nlIsEnabled ( NLenum  pname)

Definition at line 740 of file opennl.c.

References __nl_assert_not_reached, and NL_FALSE.

void nlLockVariable ( NLuint  index)
void nlMakeCurrent ( NLContext  context)

Definition at line 592 of file opennl.c.

Referenced by nlNewContext(), and p_chart_lscm_solve().

void nlMatrixAdd ( NLuint  row,
NLuint  col,
NLfloat  value 
)
void nlMatrixMultiply ( NLfloat x,
NLfloat y 
)
NLContext nlNewContext ( void  )
void nlPrintMatrix ( void  )
void nlRightHandSideAdd ( NLuint  rhsindex,
NLuint  index,
NLfloat  value 
)
void nlRightHandSideSet ( NLuint  rhsindex,
NLuint  index,
NLfloat  value 
)
void nlSetVariable ( NLuint  rhsindex,
NLuint  index,
NLfloat  value 
)
NLboolean nlSolve ( void  )

Definition at line 1262 of file opennl.c.

References NL_FALSE, nlSolveAdvanced(), and NULL.

Referenced by p_abf_matrix_invert().

NLboolean nlSolveAdvanced ( NLint permutation,
NLboolean  solveAgain 
)
void nlSolverParameterf ( NLenum  pname,
NLfloat  param 
)
void nlSolverParameteri ( NLenum  pname,
NLint  param 
)
void nlUnlockVariable ( NLuint  index)
NLboolean nlVariableIsLocked ( NLuint  index)