openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Namespaces | Macros | Functions
LUT.cc File Reference
#include "LUT.h"
#include "basics.h"
#include "MULTI_ION_IF.h"
#include <string.h>
#include <assert.h>
#include <cmath>
Include dependency graph for LUT.cc:

Go to the source code of this file.

Namespaces

 limpet
 

Macros

#define MAX_LUT_NUMINF   10
 maximum # non-finite warnings to print More...
 

Functions

void limpet::LUT_alloc (LUT *plut, int cols, float mn, float mx, float res, const char *name, Target target)
 
int limpet::LUT_dump (LUT *plut, const char *fname)
 
void limpet::destroy_lut (LUT *plut, Target target)
 
int limpet::check_LUT (LUT *lut)
 
void limpet::IIF_warn (const int wv, const char error[])
 
void limpet::LUT_problem (LUT *lt, double val, int wv, const char *tabname)
 
int limpet::LUT_index (LUT *tab, GlobalData_t val, int locind)
 
int limpet::LUT_out_of_bounds (LUT *tab, GlobalData_t val)
 
LUT_data_t limpet::LUT_interp (LUT *t, int i, int j, GlobalData_t x)
 
LUT_data_t limpet::LUT_derror (LUT *t, int idx, GlobalData_t x)
 
LUT_data_t limpet::LUT_interpRow (LUT *const tab, GlobalData_t val, int i, LUT_data_t *row)
 
LUT_data_t * limpet::LUT_row (LUT *lut, GlobalData_t val, int locind)
 
void limpet::LUT_interpRow_n_elements (char *table, char *val_ptr, int offset, int distance, int index, int n, char *row_ptr, int lut_numelements)
 

Macro Definition Documentation

◆ MAX_LUT_NUMINF

#define MAX_LUT_NUMINF   10

maximum # non-finite warnings to print

make sure all entries in a lookup table are valid

Parameters
IFIMP
lutLUT
namename of table
Return values
0all entries finite
otherwise

Definition at line 127 of file LUT.cc.