ImpactX
Loading...
Searching...
No Matches
ChargeBinning.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: Alex Bojanich, Chad Mitchell, Axel Huebl
8 * License: BSD-3-Clause-LBNL
9 */
10#ifndef CHARGE_BINNING_H
11#define CHARGE_BINNING_H
12
14
15
17{
27 void DepositCharge1D (
28 impactx::ImpactXParticleContainer& myspc,
29 amrex::Gpu::DeviceVector<amrex::Real> & charge_distribution,
30 amrex::Real bin_min,
31 amrex::Real bin_size,
32 bool is_unity_particle_weight = false
33 );
34
43 amrex::Gpu::DeviceVector<amrex::Real> const & charge_distribution,
45 amrex::Real bin_size,
46 bool GetNumberDensity = true
47 );
48
60 impactx::ImpactXParticleContainer& myspc,
63 amrex::Real bin_min,
64 amrex::Real bin_size,
65 bool is_unity_particle_weight = false
66 );
67
68} // namespace impactx::particles::wakefields
69
70#endif // CHARGE_BINNING_H
PODVector< T, ArenaAllocator< T > > DeviceVector
Definition ChargeBinning.cpp:17
void DerivativeCharge1D(amrex::Gpu::DeviceVector< amrex::Real > const &charge_distribution, amrex::Gpu::DeviceVector< amrex::Real > &slopes, amrex::Real bin_size, bool GetNumberDensity)
Definition ChargeBinning.cpp:87
void DepositCharge1D(impactx::ImpactXParticleContainer &myspc, amrex::Gpu::DeviceVector< amrex::Real > &charge_distribution, amrex::Real bin_min, amrex::Real bin_size, bool is_unity_particle_weight)
Definition ChargeBinning.cpp:18
void MeanTransversePosition(impactx::ImpactXParticleContainer &myspc, amrex::Gpu::DeviceVector< amrex::Real > &mean_x, amrex::Gpu::DeviceVector< amrex::Real > &mean_y, amrex::Real bin_min, amrex::Real bin_size, bool is_unity_particle_weight)
Definition ChargeBinning.cpp:115