WarpX
Source
Evolve
WarpXPushType.H
Go to the documentation of this file.
1
/* Copyright 2022 David Grote
2
*
3
* This file is part of WarpX.
4
*
5
* License: BSD-3-Clause-LBNL
6
*/
7
#ifndef WARPX_PUSHTYPE_H_
8
#define WARPX_PUSHTYPE_H_
9
10
// Specify which scheme to use for the particle advance
11
enum struct
PushType
:
int
12
{
13
Explicit
= 0,
// Use the standard leap-frog scheme
14
Implicit
// Use the Crank-Nicolson scheme.
15
// See for example Eqs. 15-18 in Chen, JCP 407 (2020) 109228
16
};
17
18
#endif
// WARPX_PUSHTYPE_H_
PushType
PushType
Definition:
WarpXPushType.H:12
PushType::Implicit
@ Implicit
PushType::Explicit
@ Explicit
int
const int[]
Generated by
1.9.1