ExtRelCache Struct Reference
[System]

#include <rel.h>

Collaboration diagram for ExtRelCache:

Collaboration graph
[legend]

Detailed Description

Cache for external relations. This is a place to stash away information relating to the evaluation of external relations, with the intention of making them work efficiently.

It is apparently intended to prevent repeated calls to external relations when different outputs values are required for the same set of input values. Not sure how complete etc it is -- JP.

what do those ':1' mean eg for evaluation_required?

Originally present in a separate file 'extrel.h', but now merged into 'rel.h' in the solver directory.


Data Fields

int32 nodestamp
ExternalFunc * efunc
SlvBackendToken data
gl_list_targlist
gl_list_tinputlist
var_variable ** invars
var_variable ** outvars
void * user_data
int32 ninputs
int32 noutputs
double * inputs
double * outputs
double * jacobian
unsigned evaluation_required:1
unsigned first_func_eval:1
unsigned first_deriv_eval:1


Field Documentation

struct ExternalFunc* ExtRelCache::efunc

pre_slv, eval and deriv funcs

SlvBackendToken ExtRelCache::data

only passed on pre_slv

struct gl_list_t* ExtRelCache::arglist

only passed on pre_slv

struct var_variable** ExtRelCache::invars

pointers to var_variables, in input argument order

struct var_variable** ExtRelCache::outvars

pointers to var_variables, in output argument order

void* ExtRelCache::user_data

user data

unsigned ExtRelCache::evaluation_required

bits needed to control

unsigned ExtRelCache::first_func_eval

recalculation. until we can

unsigned ExtRelCache::first_deriv_eval

do proper block coding


The documentation for this struct was generated from the following file:
Generated on Thu Jul 17 04:00:58 2008 for libascend by  doxygen 1.5.1