Block-Structured AMR Software Framework
AMReX_algoim.H
Go to the documentation of this file.
1 #ifndef AMREX_ALGOIM_H_
2 #define AMREX_ALGOIM_H_
3 #include <AMReX_Config.H>
4 
5 #include <AMReX_MultiFab.H>
6 
7 namespace amrex::algoim {
8 
9 void compute_integrals (MultiFab& intg, int nghost = 100);
10 void compute_integrals (MultiFab& intg, IntVect nghost);
11 
12 static constexpr int i_S_x = 0;
13 static constexpr int i_S_y = 1;
14 static constexpr int i_S_z = 2;
15 static constexpr int i_S_x2 = 3;
16 static constexpr int i_S_y2 = 4;
17 static constexpr int i_S_z2 = 5;
18 static constexpr int i_S_x_y = 6;
19 static constexpr int i_S_x_z = 7;
20 static constexpr int i_S_y_z = 8;
21 static constexpr int i_S_x2_y = 9;
22 static constexpr int i_S_x2_z = 10;
23 static constexpr int i_S_x_y2 = 11;
24 static constexpr int i_S_y2_z = 12;
25 static constexpr int i_S_x_z2 = 13;
26 static constexpr int i_S_y_z2 = 14;
27 static constexpr int i_S_x2_y2 = 15;
28 static constexpr int i_S_x2_z2 = 16;
29 static constexpr int i_S_y2_z2 = 17;
30 static constexpr int i_S_xyz = 18;
31 static constexpr int numIntgs = 19;
32 
33 void compute_surface_integrals (MultiFab& sintg, int nghost = 100);
34 void compute_surface_integrals (MultiFab& sintg, IntVect nghost);
35 
36 static constexpr int i_B_x = 0;
37 static constexpr int i_B_y = 1;
38 static constexpr int i_B_z = 2;
39 static constexpr int i_B_x_y = 3;
40 static constexpr int i_B_x_z = 4;
41 static constexpr int i_B_y_z = 5;
42 static constexpr int i_B_xyz = 6;
43 static constexpr int numSurfIntgs = 7;
44 
45 }
46 
47 #endif
A collection (stored as an array) of FArrayBox objects.
Definition: AMReX_MultiFab.H:38
Definition: AMReX_algoim.cpp:6
static constexpr int i_B_xyz
Definition: AMReX_algoim.H:42
static constexpr int i_S_y_z2
Definition: AMReX_algoim.H:26
static constexpr int i_S_y_z
Definition: AMReX_algoim.H:20
static constexpr int i_S_x2
Definition: AMReX_algoim.H:15
static constexpr int numSurfIntgs
Definition: AMReX_algoim.H:43
static constexpr int i_S_x_y
Definition: AMReX_algoim.H:18
static constexpr int i_S_y
Definition: AMReX_algoim.H:13
void compute_surface_integrals(MultiFab &sintg, int nghost)
Definition: AMReX_algoim.cpp:198
static constexpr int i_S_x_z
Definition: AMReX_algoim.H:19
static constexpr int i_B_z
Definition: AMReX_algoim.H:38
static constexpr int i_S_x_y2
Definition: AMReX_algoim.H:23
static constexpr int i_S_xyz
Definition: AMReX_algoim.H:30
void compute_integrals(MultiFab &intg, int nghost)
Definition: AMReX_algoim.cpp:9
static constexpr int i_S_y2_z2
Definition: AMReX_algoim.H:29
static constexpr int i_B_x_y
Definition: AMReX_algoim.H:39
static constexpr int i_B_x_z
Definition: AMReX_algoim.H:40
static constexpr int i_S_x2_y2
Definition: AMReX_algoim.H:27
static constexpr int i_S_x2_z2
Definition: AMReX_algoim.H:28
static constexpr int i_S_x
Definition: AMReX_algoim.H:12
static constexpr int numIntgs
Definition: AMReX_algoim.H:31
static constexpr int i_S_y2_z
Definition: AMReX_algoim.H:24
static constexpr int i_S_x2_y
Definition: AMReX_algoim.H:21
static constexpr int i_B_y_z
Definition: AMReX_algoim.H:41
static constexpr int i_B_x
Definition: AMReX_algoim.H:36
static constexpr int i_S_z
Definition: AMReX_algoim.H:14
static constexpr int i_S_z2
Definition: AMReX_algoim.H:17
static constexpr int i_S_x_z2
Definition: AMReX_algoim.H:25
static constexpr int i_S_x2_z
Definition: AMReX_algoim.H:22
static constexpr int i_B_y
Definition: AMReX_algoim.H:37
static constexpr int i_S_y2
Definition: AMReX_algoim.H:16
IntVectND< AMREX_SPACEDIM > IntVect
Definition: AMReX_BaseFwd.H:30