blob: 54c721abfede51bf036d2f6b5a3371d4faccdea5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#ifndef UTILS_WARPXALGORITHMSELECTION_H_
#define UTILS_WARPXALGORITHMSELECTION_H_
#include <AMReX_ParmParse.H>
#include <string>
struct MaxwellSolverAlgo {
enum {
Yee = 0,
CKC = 1
};
};
struct ParticlePusherAlgo {
enum {
Boris = 0,
Vay = 1
};
};
struct CurrentDepositionAlgo {
enum {
Esirkepov = 0,
Direct = 1
};
};
struct ChargeDepositionAlgo {
// Only the Standard algorithm is implemented
enum {
Standard = 0
};
};
struct GatheringAlgo {
// Only the Standard algorithm is implemented
enum {
Standard = 0
};
};
int
GetAlgorithmInteger( amrex::ParmParse& pp, const char* pp_search_key );
#endif // UTILS_WARPXALGORITHMSELECTION_H_
|