38 amrex::ParticleReal
const zin,
39 amrex::ParticleReal
const zout,
41 T_Element
const & element
44 using namespace amrex::literals;
47 amrex::ParticleReal
const dz = (zout-zin)/nsteps;
48 amrex::ParticleReal
const tau1 = dz*0.5_prt;
49 amrex::ParticleReal
const tau2 = dz;
52 amrex::ParticleReal zeval = zin;
55 for(
int j=0; j < nsteps; ++j)
57 element.map1(tau1,refpart,zeval);
58 element.map2(tau2,refpart,zeval);
59 element.map1(tau1,refpart,zeval);
81 amrex::ParticleReal
const zin,
82 amrex::ParticleReal
const zout,
84 T_Element
const & element
87 using namespace amrex::literals;
90 amrex::ParticleReal
const dz = (zout-zin)/nsteps;
91 amrex::ParticleReal
const tau1 = dz*0.5_prt;
92 amrex::ParticleReal
const tau2 = dz*0.5_prt;
93 amrex::ParticleReal
const tau3 = dz;
96 amrex::ParticleReal zeval = zin;
99 for(
int j=0; j < nsteps; ++j)
101 element.map1(tau1,refpart,zeval);
102 element.map2(tau2,refpart,zeval);
103 element.map3(tau3,refpart,zeval);
104 element.map2(tau2,refpart,zeval);
105 element.map1(tau1,refpart,zeval);
130 amrex::ParticleReal
const zin,
131 amrex::ParticleReal
const zout,
133 T_Element
const & element
136 using namespace amrex::literals;
139 amrex::ParticleReal
const dz = (zout-zin)/nsteps;
140 amrex::ParticleReal
const alpha = 1_prt - std::pow(2_prt,1_prt/3_prt);
141 amrex::ParticleReal
const tau2 = dz/(1_prt +
alpha);
142 amrex::ParticleReal
const tau1 = tau2*0.5_prt;
143 amrex::ParticleReal
const tau3 =
alpha*tau1;
144 amrex::ParticleReal
const tau4 = (
alpha - 1_prt)*tau2;
147 amrex::ParticleReal zeval = zin;
150 for (
int j=0; j < nsteps; ++j)
152 element.map1(tau1,refpart,zeval);
153 element.map2(tau2,refpart,zeval);
154 element.map1(tau3,refpart,zeval);
155 element.map2(tau4,refpart,zeval);
156 element.map1(tau3,refpart,zeval);
157 element.map2(tau2,refpart,zeval);
158 element.map1(tau1,refpart,zeval);
180 amrex::ParticleReal
const zin,
181 amrex::ParticleReal
const zout,
183 T_Element
const & element
186 using namespace amrex::literals;
189 amrex::ParticleReal
const dz = (zout-zin)/nsteps;
190 amrex::ParticleReal
const tau1 = dz*0.5_prt;
191 amrex::ParticleReal
const tau2 = dz;
194 amrex::ParticleReal zeval = zin;
197 for(
int j=0; j < nsteps; ++j)
199 element.map1(tau1,particle,zeval);
200 element.map2(tau2,particle,zeval);
201 element.map1(tau1,particle,zeval);
227 amrex::ParticleReal
const zin,
228 amrex::ParticleReal
const zout,
230 T_Element
const & element
233 using namespace amrex::literals;
236 amrex::ParticleReal
const dz = (zout-zin)/nsteps;
237 amrex::ParticleReal
const alpha = 1_prt - std::pow(2_prt,1_prt/3_prt);
238 amrex::ParticleReal
const tau2 = dz/(1_prt +
alpha);
239 amrex::ParticleReal
const tau1 = tau2*0.5_prt;
240 amrex::ParticleReal
const tau3 =
alpha*tau1;
241 amrex::ParticleReal
const tau4 = (
alpha - 1_prt)*tau2;
244 amrex::ParticleReal zeval = zin;
247 for (
int j=0; j < nsteps; ++j)
249 element.map1(tau1,particle,zeval);
250 element.map2(tau2,particle,zeval);
251 element.map1(tau3,particle,zeval);
252 element.map2(tau4,particle,zeval);
253 element.map1(tau3,particle,zeval);
254 element.map2(tau2,particle,zeval);
255 element.map1(tau1,particle,zeval);
286 amrex::ParticleReal
const zin,
287 amrex::ParticleReal
const zout,
289 T_Element
const & element
292 using namespace amrex::literals;
295 amrex::ParticleReal
const dz = (zout-zin)/nsteps;
296 amrex::ParticleReal
const w0 = 1.31518632068391121888424973;
297 amrex::ParticleReal
const w1 = -1.17767998417887100694641568;
298 amrex::ParticleReal
const w2 = 0.23557321335935813368479318;
299 amrex::ParticleReal
const w3 = 0.78451361047755726381949763;
301 amrex::ParticleReal
const tau1 = w3 * dz / 2_prt;
302 amrex::ParticleReal
const tau2 = w3 * dz;
303 amrex::ParticleReal
const tau3 = (w3 + w2) * dz / 2_prt;
304 amrex::ParticleReal
const tau4 = w2 * dz;
305 amrex::ParticleReal
const tau5 = (w2 + w1) * dz / 2_prt;
306 amrex::ParticleReal
const tau6 = w1 * dz;
307 amrex::ParticleReal
const tau7 = (w1 + w0) * dz / 2_prt;
308 amrex::ParticleReal
const tau8 = w0 * dz;
311 amrex::ParticleReal zeval = zin;
314 for (
int j=0; j < nsteps; ++j)
316 element.map1(tau1,particle,zeval);
317 element.map2(tau2,particle,zeval);
318 element.map1(tau3,particle,zeval);
319 element.map2(tau4,particle,zeval);
320 element.map1(tau5,particle,zeval);
321 element.map2(tau6,particle,zeval);
322 element.map1(tau7,particle,zeval);
323 element.map2(tau8,particle,zeval);
324 element.map1(tau7,particle,zeval);
325 element.map2(tau6,particle,zeval);
326 element.map1(tau5,particle,zeval);
327 element.map2(tau4,particle,zeval);
328 element.map1(tau3,particle,zeval);
329 element.map2(tau2,particle,zeval);
330 element.map1(tau1,particle,zeval);