aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpXProb.cpp
blob: af105cc78ae58b4e2b937d459e5aa857dba342ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

//
// Each problem must have its own version of WarpX::InitLevelData(int lev)
// to initialize the field data on this level.
//

#include <WarpX.H>

void
WarpX::InitLevelData (int lev)
{
    static_assert(false,
		  "Each problem must have its own version of WarpX::InitLevelData(int lev)");

#if 0
    for (int i = 0; i < 3; ++i) {
	current[lev][i]->setVal(0.0);
	Efield[lev][i]->setVal(0.0);
	Bfield[lev][i]->setVal(0.0);
    }
#endif
}