ImpactX
Loading...
Searching...
No Matches
ForceFromSelfFields.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: Marco Garten, Axel Huebl
8 * License: BSD-3-Clause-LBNL
9 */
10#ifndef IMPACTX_FORCEFROMSELFFIELDS_H
11#define IMPACTX_FORCEFROMSELFFIELDS_H
12
14
15#include <AMReX_Geometry.H>
16#include <AMReX_MultiFab.H>
17#include <AMReX_Vector.H>
18
19#include <unordered_map>
20
21
23{
34 std::unordered_map<int, std::unordered_map<std::string, amrex::MultiFab> > & space_charge_field,
35 std::unordered_map<int, amrex::MultiFab> const & phi,
36 const amrex::Vector<amrex::Geometry>& geom
37 );
38
39} // namespace impactx::particles::spacecharge
40
41#endif // IMPACTX_FORCEFROMSELFFIELDS_H
Definition ForceFromSelfFields.cpp:18
void ForceFromSelfFields(std::unordered_map< int, std::unordered_map< std::string, amrex::MultiFab > > &space_charge_field, std::unordered_map< int, amrex::MultiFab > const &phi, amrex::Vector< amrex::Geometry > const &geom)
Definition ForceFromSelfFields.cpp:19