WarpX
Toggle main menu visibility
Loading...
Searching...
No Matches
Source
BoundaryConditions
PMLComponent.H
Go to the documentation of this file.
1
/* Copyright 2019 Remi Lehe
2
*
3
* This file is part of WarpX.
4
*
5
* License: BSD-3-Clause-LBNL
6
*/
7
#ifndef WARPX_PML_COMPONENT_H_
8
#define WARPX_PML_COMPONENT_H_
9
10
/* In WarpX, the split fields of the PML (e.g. Eyx, Eyz) are stored as
11
* components of a MultiFab (e.g. component 0 and 1 of the MultiFab for Ey)
12
* The correspondence between the component index (0,1) and its meaning
13
* (yx, yz, etc.) is defined in the present file */
14
15
struct
PMLComp
{
16
enum
{
xy
=0,
xz
=1,
xx
=2,
17
yz
=0,
yx
=1,
yy
=2,
18
zx
=0,
zy
=1,
zz
=2,
19
x
=0,
y
=1,
z
=2 };
// Used for the PML components of F
20
};
21
22
#endif
PMLComp
Definition
PMLComponent.H:15
PMLComp::zz
@ zz
Definition
PMLComponent.H:18
PMLComp::xz
@ xz
Definition
PMLComponent.H:16
PMLComp::z
@ z
Definition
PMLComponent.H:19
PMLComp::yy
@ yy
Definition
PMLComponent.H:17
PMLComp::zx
@ zx
Definition
PMLComponent.H:18
PMLComp::zy
@ zy
Definition
PMLComponent.H:18
PMLComp::yz
@ yz
Definition
PMLComponent.H:17
PMLComp::x
@ x
Definition
PMLComponent.H:19
PMLComp::y
@ y
Definition
PMLComponent.H:19
PMLComp::xx
@ xx
Definition
PMLComponent.H:16
PMLComp::yx
@ yx
Definition
PMLComponent.H:17
PMLComp::xy
@ xy
Definition
PMLComponent.H:16
Generated by
1.17.0