Skip to content

Commit

Permalink
Use LinearMap struct in Drift.H.
Browse files Browse the repository at this point in the history
  • Loading branch information
cemitch99 authored Sep 27, 2024
1 parent a5df0a3 commit b2f158c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/particles/elements/Drift.H
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ namespace impactx
transport_map(RefPart & AMREX_RESTRICT refpart) {

using namespace amrex::literals; // for _rt and _prt

amrex::Array2D<amrex::ParticleReal, 1, 6, 1, 6> R;
elements::LinearTransport::Map6x6 R = {};

// length of the current slice
amrex::ParticleReal const slice_ds = m_ds / nslice();
Expand Down

0 comments on commit b2f158c

Please sign in to comment.