accelerInt  v0.1
Macros
solver_options.h File Reference

A file generated by Scons that specifies various options to the solvers. More...

#include <float.h>
#include <fenv.h>
Include dependency graph for solver_options.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ATOL   (1e-10)
 
#define RTOL   (1e-06)
 
#define t_step   (1e-06)
 
#define end_time   (1e-06)
 
#define EPS   DBL_EPSILON
 
#define SMALL   DBL_MIN
 
#define N_RA   (10)
 
#define CV_MAX_STEPS   (-1)
 
#define CV_MAX_HNIL   (1)
 
#define CV_MAX_ERRTEST_FAILS   (5)
 
#define SAME_IC
 
#define DEBUG
 
#define SHUFFLE
 
#define PRINT
 
#define IGN
 
#define LOG_OUTPUT
 
#define LOG_KRYLOV_AND_STEPSIZES
 
#define LOG_END_ONLY
 
#define FINITE_DIFFERENCE
 
#define CONST_TIME_STEP
 

Detailed Description

A file generated by Scons that specifies various options to the solvers.

This file, autogenerated by SCons contains a number of definitions that can be enabled via command line options. These control the integrator behaviour and alternately enable special behaviour such as logging, divergence measuring, etc.

Note that it is not typical for all these options to be turned on at the same time, but it is done here for documentation purposes.

Definition in file solver_options.h.

Macro Definition Documentation

◆ ATOL

#define ATOL   (1e-10)

Absolute solver tolerance

Definition at line 22 of file solver_options.h.

◆ CONST_TIME_STEP

#define CONST_TIME_STEP

Define to turn off adaptive time stepping

Definition at line 79 of file solver_options.h.

◆ CV_MAX_ERRTEST_FAILS

#define CV_MAX_ERRTEST_FAILS   (5)

Maximum number of CVODE error test fails before an error is thrown

Definition at line 48 of file solver_options.h.

◆ CV_MAX_HNIL

#define CV_MAX_HNIL   (1)

Number of t + h == t warnings emitted by CVODE (used to cleanup output)

Definition at line 46 of file solver_options.h.

◆ CV_MAX_STEPS

#define CV_MAX_STEPS   (-1)

Maximum steps the solver will take in one timestep set to -1 (disabled) by default

Definition at line 42 of file solver_options.h.

◆ DEBUG

#define DEBUG

Turn on debugging symbols, and use O0 optimization

Definition at line 54 of file solver_options.h.

◆ end_time

#define end_time   (1e-06)

Global integration timestep

Definition at line 28 of file solver_options.h.

◆ EPS

#define EPS   DBL_EPSILON

Machine precision constant.

Definition at line 31 of file solver_options.h.

◆ FINITE_DIFFERENCE

#define FINITE_DIFFERENCE

Use a Finite Difference Jacobian

Definition at line 76 of file solver_options.h.

◆ IGN

#define IGN

Output ignition time (determined by simple T0 + 400 criteria)

Definition at line 64 of file solver_options.h.

◆ LOG_END_ONLY

#define LOG_END_ONLY

Log output to binary file only on final timestep

Definition at line 73 of file solver_options.h.

◆ LOG_KRYLOV_AND_STEPSIZES

#define LOG_KRYLOV_AND_STEPSIZES

Turn on to log the krylov space and step sizes

Definition at line 70 of file solver_options.h.

◆ LOG_OUTPUT

#define LOG_OUTPUT

Log output to binary file

Definition at line 67 of file solver_options.h.

◆ N_RA

#define N_RA   (10)

type of rational approximant (n, n)

Definition at line 36 of file solver_options.h.

◆ PRINT

#define PRINT

Print the output to screen

Definition at line 61 of file solver_options.h.

◆ RTOL

#define RTOL   (1e-06)

Relative solver tolerance

Definition at line 24 of file solver_options.h.

◆ SAME_IC

#define SAME_IC

Load same initial conditions (defined in mechanism.c or mechanism.cu) for all threads

Definition at line 51 of file solver_options.h.

◆ SHUFFLE

#define SHUFFLE

Use shuffled initial conditions

Definition at line 58 of file solver_options.h.

◆ SMALL

#define SMALL   DBL_MIN

Smallest representable double

Definition at line 33 of file solver_options.h.

◆ t_step

#define t_step   (1e-06)

Solver timestep (may be used to force multiple timesteps per global integration step)

Definition at line 26 of file solver_options.h.