Skip to content

Commit 6f88571

Browse files
Fix conflicts and compilation errors after rebase
1 parent aa7dfb9 commit 6f88571

File tree

6 files changed

+15
-6
lines changed

6 files changed

+15
-6
lines changed

Source/Evolve/WarpXEvolve.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ WarpX::Evolve (int numsteps)
296296
}
297297
}
298298
}
299-
FillBoundaryE(guard_cells.ng_FieldSolver, IntVect::TheZeroVector());
300-
FillBoundaryB(guard_cells.ng_FieldSolver, IntVect::TheZeroVector());
299+
FillBoundaryE(guard_cells.ng_FieldSolver);
300+
FillBoundaryB(guard_cells.ng_FieldSolver);
301301
#endif
302302

303303
if (cur_time + dt[0] >= stop_time - 1.e-3*dt[0] || step == numsteps_max-1) {

Source/Particles/Deposition/ChargeDeposition.H

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
#ifdef WARPX_DIM_RZ
1616
# include "Utils/WarpX_Complex.H"
1717
#endif
18+
#ifdef PULSAR
19+
#include "Particles/PulsarParameters.H"
20+
#endif
1821

1922
#include <AMReX.H>
2023

Source/Particles/Deposition/CurrentDeposition.H

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
#ifdef WARPX_DIM_RZ
1616
# include "Utils/WarpX_Complex.H"
1717
#endif
18+
#ifdef PULSAR
19+
#include "Particles/PulsarParameters.H"
20+
#endif
1821

1922
#include <AMReX.H>
2023
#include <AMReX_Arena.H>

Source/Particles/Gather/FieldGather.H

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
#include "Particles/Pusher/GetAndSetPosition.H"
1313
#include "Particles/ShapeFactors.H"
1414
#include "Utils/WarpX_Complex.H"
15+
#ifdef PULSAR
16+
#include "Particles/PulsarParameters.H"
17+
#endif
1518

1619
#include <AMReX.H>
1720

Source/Particles/Gather/GetExternalFields.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GetExternalEField::GetExternalEField (const WarpXParIter& a_pti, int a_offset) n
2323
}
2424
else if (mypc.m_E_ext_particle_s=="parse_e_ext_particle_function")
2525
{
26-
m_type = Parser;
26+
m_type = ExternalFieldInitType::Parser;
2727
m_time = warpx.gett_new(a_pti.GetLevel());
2828
m_get_position = GetParticlePosition(a_pti, a_offset);
2929
m_xfield_partparser = mypc.m_Ex_particle_parser->compile<4>();
@@ -65,7 +65,7 @@ GetExternalBField::GetExternalBField (const WarpXParIter& a_pti, int a_offset) n
6565
}
6666
else if (mypc.m_B_ext_particle_s=="parse_b_ext_particle_function")
6767
{
68-
m_type = Parser;
68+
m_type = ExternalFieldInitType::Parser;
6969
m_time = warpx.gett_new(a_pti.GetLevel());
7070
m_get_position = GetParticlePosition(a_pti, a_offset);
7171
m_xfield_partparser = mypc.m_Bx_particle_parser->compile<4>();

Source/Particles/MultiParticleContainer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ MultiParticleContainer::ReadParameters ()
166166
// is cartesian (default) or spherical
167167
// For pulsar it is easier to provide (r,theta,phi) components
168168
// and let the code do the conversion to cartesian
169-
pp.query("E_ext_particle_coord", m_E_ext_particle_coord);
170-
pp.query("B_ext_particle_coord", m_B_ext_particle_coord);
169+
pp_particles.query("E_ext_particle_coord", m_E_ext_particle_coord);
170+
pp_particles.query("B_ext_particle_coord", m_B_ext_particle_coord);
171171
#endif
172172

173173
// if the input string for B_external on particles is "constant"

0 commit comments

Comments
 (0)