accelerInt  v0.1
Classes | Namespaces | Macros
exp4_props.cuh File Reference

Various macros controlling behaviour of EXP4 algorithm. More...

#include "header.cuh"
#include <cuComplex.h>
#include <stdio.h>
Include dependency graph for exp4_props.cuh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  exp4cu::solver_memory
 Structure containing memory needed for EXP4 algorithm. More...
 

Namespaces

 exp4cu
 

Macros

#define EXP4_PROPS_CUH
 
#define P   1
 max order of the phi functions (for error estimation) More...
 
#define ORD   3.0
 order of embedded methods More...
 
#define M_MAX   NSP
 maximum Krylov dimension (without phi order) More...
 
#define STRIDE   (M_MAX + P)
 Krylov matrix stride. More...
 
#define MAX_STEPS   (10000)
 Maximum allowed internal timesteps per integration step. More...
 
#define MAX_CONSECUTIVE_ERRORS   (5)
 Number of consecutive errors on internal integration steps allowed before exit. More...
 
#define EC_success   (0)
 Successful integration step. More...
 
#define EC_consecutive_steps   (1)
 Maximum consecutive errors on internal integration steps reached. More...
 
#define EC_max_steps_exceeded   (2)
 Maximum number of internal integration steps reached. More...
 
#define EC_h_plus_t_equals_h   (3)
 Timestep reduced such that update would have no effect on simulation time. More...
 

Detailed Description

Various macros controlling behaviour of EXP4 algorithm.

Author
Nicholas Curtis
Date
03/10/2015

Definition in file exp4_props.cuh.

Macro Definition Documentation

◆ EXP4_PROPS_CUH

#define EXP4_PROPS_CUH

Definition at line 9 of file exp4_props.cuh.

◆ M_MAX

#define M_MAX   NSP

maximum Krylov dimension (without phi order)

Definition at line 26 of file exp4_props.cuh.

◆ MAX_CONSECUTIVE_ERRORS

#define MAX_CONSECUTIVE_ERRORS   (5)

Number of consecutive errors on internal integration steps allowed before exit.

Definition at line 32 of file exp4_props.cuh.

◆ MAX_STEPS

#define MAX_STEPS   (10000)

Maximum allowed internal timesteps per integration step.

Definition at line 30 of file exp4_props.cuh.

◆ ORD

#define ORD   3.0

order of embedded methods

Definition at line 24 of file exp4_props.cuh.

◆ P

#define P   1

max order of the phi functions (for error estimation)

Definition at line 22 of file exp4_props.cuh.

◆ STRIDE

#define STRIDE   (M_MAX + P)

Krylov matrix stride.

Definition at line 28 of file exp4_props.cuh.