ImpactX
Loading...
Searching...
No Matches
GatherAndPush.H
Go to the documentation of this file.
1/* Copyright 2022-2023 The Regents of the University of California, through Lawrence
2 * Berkeley National Laboratory (subject to receipt of any required
3 * approvals from the U.S. Dept. of Energy). All rights reserved.
4 *
5 * This file is part of ImpactX.
6 *
7 * Authors: Axel Huebl, Remi Lehe
8 * License: BSD-3-Clause-LBNL
9 */
10#ifndef IMPACTX_GATHER_AND_PUSH_H
11#define IMPACTX_GATHER_AND_PUSH_H
12
14
15#include <AMReX_Geometry.H>
16#include <AMReX_MultiFab.H>
17#include <AMReX_Vector.H>
18
19#include <unordered_map>
20#include <string>
21
22
24{
38 void GatherAndPush (
39 ImpactXParticleContainer & pc,
40 std::unordered_map<int, std::unordered_map<std::string, amrex::MultiFab> > const & space_charge_field,
41 std::unordered_map<int, amrex::MultiFab> const & space_charge_potential,
42 const amrex::Vector<amrex::Geometry>& geom,
43 amrex::ParticleReal slice_ds
44 );
45
46} // namespace impactx::particles::spacecharge
47
48#endif // IMPACTX_GATHER_AND_PUSH_H
amrex_particle_real ParticleReal
Definition Deposit1D.cpp:24
void GatherAndPush(ImpactXParticleContainer &pc, std::unordered_map< int, std::unordered_map< std::string, amrex::MultiFab > > const &space_charge_field, std::unordered_map< int, amrex::MultiFab > const &space_charge_potential, const amrex::Vector< amrex::Geometry > &geom, amrex::ParticleReal const slice_ds)
Definition GatherAndPush.cpp:26