|
Streamer fluid modeling - An overview of ARCoS
1.0
|
Handles the communication between the main code and the reaction tables. More...

Go to the source code of this file.
Functions | |
| void | react_table_read (char *filename, react_table *r) |
| Reads a reaction rate table from file filename and stores the table in the form of a 'react_table' at location r. | |
| void | react_table_lookup (react_table *r, double e, double *ra) |
| Computes an approximation for the reaction rate. | |
Handles the communication between the main code and the reaction tables.
Rather than hardcoding a different function for each possible dependence of the reaction-rate on the electric field, these rate/field dependencies are written in a table. This allows reactions to be added/changed/removed without recompiling the source.
Definition in file react_table.c.
| void react_table_read | ( | char * | filename, |
| react_table * | r | ||
| ) |
Reads a reaction rate table from file filename and stores the table in the form of a 'react_table' at location r.
Definition at line 73 of file react_table.c.

| void react_table_lookup | ( | react_table * | r, |
| double | e, | ||
| double * | ra | ||
| ) |
Computes an approximation for the reaction rate.
Computes an approximation for the reaction rate at field-strength e by interpolating reaction rates from lookup table r. Stores the result in ra.
Definition at line 120 of file react_table.c.
1.8.2