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{
37 void GatherAndPush (
38 ImpactXParticleContainer & pc,
39 std::unordered_map<int, std::unordered_map<std::string, amrex::MultiFab> > const & space_charge_field,
40 const amrex::Vector<amrex::Geometry>& geom,
41 amrex::ParticleReal slice_ds
42 );
43
44} // namespace impactx::particles::spacecharge
45
46#endif // IMPACTX_GATHER_AND_PUSH_H
Definition ForceFromSelfFields.cpp:18
void GatherAndPush(ImpactXParticleContainer &pc, std::unordered_map< int, std::unordered_map< std::string, amrex::MultiFab > > const &space_charge_field, const amrex::Vector< amrex::Geometry > &geom, amrex::ParticleReal const slice_ds)
Definition GatherAndPush.cpp:21