|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
#include <bench_utils.h>
Public Member Functions | |
| Bisect (float min, float max, float tol=0.01) | |
| object for performing a bisection search More... | |
| bool | update (float &val, bool success) |
| update search More... | |
| float | current () |
perform a bisection, finding the minimum threshold which triggers a successful response
Definition at line 27 of file bench_utils.h.
|
inline |
object for performing a bisection search
| min | minimum of range to search |
| max | maximum of range, can be INFINITY |
| tol | relative change in threshold to stop |
Definition at line 37 of file bench_utils.h.
|
inline |
Definition at line 59 of file bench_utils.h.
|
inline |
update search
| [in,out] | val | value tried |
| success[in] | whether a suprathreshold event occurred |
Definition at line 47 of file bench_utils.h.