#include <iostream>
#include <unistd.h>
#include <stdlib.h>
#include <math.h>
#include <fstream>
#include <set>
#include <vector>
#include <zlib.h>
#include "IGBheader.h"
#include "apd_cmdline.h"
Go to the source code of this file.
|
| float | lininterp (float y0, float y1, float x0, float x1, float interp) |
| |
| bool | process_specifier (char *sp, set< int > &nodes, int max) |
| |
| void | extract_nodes (const char *list, vector< int > &nodes, int max) |
| |
| int | main (int argc, char *argv[]) |
| |
◆ thresh_t
| Enumerator |
|---|
| Fixed | |
| AboveRest | |
| PerCentRepol | |
| MinDeriv | |
Definition at line 40 of file IGBapd.cc.
◆ extract_nodes()
| void extract_nodes |
( |
const char * |
list, |
|
|
vector< int > & |
nodes, |
|
|
int |
max |
|
) |
| |
◆ lininterp()
| float lininterp |
( |
float |
y0, |
|
|
float |
y1, |
|
|
float |
x0, |
|
|
float |
x1, |
|
|
float |
interp |
|
) |
| |
approxmiate when interp was reached
Definition at line 51 of file IGBapd.cc.
◆ main()
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ process_specifier()
| bool process_specifier |
( |
char * |
sp, |
|
|
set< int > & |
nodes, |
|
|
int |
max |
|
) |
| |
get list of specified nodes from a string: (([0-9]?[-([0-9]+|*))|*)[:[0-9]+] This mean you can specify n -> node n n0-n1 -> nodes n0 to n1 inclusive n-* -> all nodes starting at n
- -> all nodes To any of these, :d may be appended on the end signifying stride d
- Parameters
-
| sp | user specified string of nodes |
| nodes | set of nodes |
| max | number of nodes in model |
- Postcondition
- nodes contains all the specified nodes
- Returns
- true iff all nodes have been specified
Definition at line 77 of file IGBapd.cc.
◆ NO_PRIOR
◆ UNCOMPUTED
| const float UNCOMPUTED = -1 |
◆ UNSTARTED
| const float UNSTARTED = -1 |