accelerInt  v0.1
exp4_props.h
Go to the documentation of this file.
1 
8 #ifndef EXP4_PROPS_H
9 #define EXP4_PROPS_H
10 
11 #ifdef GENERATE_DOCS
12 namespace exp4 {
13 #endif
14 
15 
16 #include "header.h"
17 #include <stdio.h>
18 
19 //if defined, uses (I - h * Hm)^-1 to smooth the krylov error vector
20 //#define USE_SMOOTHED_ERROR
21 //max order of the phi functions (i.e. for error estimation)
22 
24 #define P 1
25 #define ORD 3.0
27 #define M_MAX NSP
29 #define STRIDE (M_MAX + P)
31 #define MAX_STEPS (100000)
33 #define MAX_CONSECUTIVE_ERRORS (5)
35 
45 #define EC_success (0)
47 #define EC_consecutive_steps (1)
49 #define EC_max_steps_exceeded (2)
51 #define EC_h_plus_t_equals_h (3)
53 
60 #ifdef GENERATE_DOCS
61 }
62 #endif
63 
64 #endif
Definition: exp4.c:32
An example header file that defines system size and other required methods for integration of the van...