WarpX
|
#include "WarpX.H"
#include "Utils/Parser/ParserUtils.H"
#include "TextMsg.H"
#include "WarpXAlgorithmSelection.H"
#include "WarpXConst.H"
#include "WarpXProfilerWrapper.H"
#include "WarpXUtil.H"
#include <ablastr/warn_manager/WarnManager.H>
#include <AMReX.H>
#include <AMReX_Array.H>
#include <AMReX_Array4.H>
#include <AMReX_BLassert.H>
#include <AMReX_Box.H>
#include <AMReX_Config.H>
#include <AMReX_FArrayBox.H>
#include <AMReX_FabArray.H>
#include <AMReX_GpuControl.H>
#include <AMReX_GpuLaunch.H>
#include <AMReX_MFIter.H>
#include <AMReX_MultiFab.H>
#include <AMReX_ParmParse.H>
#include <AMReX_Parser.H>
#include <algorithm>
#include <array>
#include <cmath>
#include <cstring>
#include <fstream>
#include <set>
#include <string>
#include <limits>
Namespaces | |
WarpXUtilIO | |
WarpXUtilLoadBalance | |
Functions | |
void | PreparseAMReXInputIntArray (amrex::ParmParse &a_pp, char const *const input_str, const bool replace) |
void | ParseGeometryInput () |
void | ReadBoostedFrameParameters (Real &gamma_boost, Real &beta_boost, Vector< int > &boost_direction) |
void | ConvertLabParamsToBoost () |
void | NullifyMF (amrex::MultiFab &mf, int lev, amrex::Real zmin, amrex::Real zmax) |
bool | WarpXUtilIO::WriteBinaryDataOnFile (const std::string &filename, const amrex::Vector< char > &data) |
void | CheckDims () |
void | CheckGriddingForRZSpectral () |
void | ReadBCParams () |
bool | WarpXUtilLoadBalance::doCosts (const amrex::LayoutData< amrex::Real > *cost, const amrex::BoxArray &ba, const amrex::DistributionMapping &dm) |
We only want to update the cost data if the grids we are working on are the main grids, i.e. not the PML grids. This function returns whether this is the case or not. More... | |
void CheckDims | ( | ) |
Check the warpx.dims matches the binary name
void CheckGriddingForRZSpectral | ( | ) |
Check the warpx.dims matches the binary name & set up RZ gridding
Ensures that the blocks are setup correctly for the RZ spectral solver When using the RZ spectral solver, the Hankel transform cannot be divided among multiple blocks. Each block must extend over the entire radial extent. The grid can be divided up along z, but the number of blocks must be >= the number of processors.
void ConvertLabParamsToBoost | ( | ) |
void NullifyMF | ( | amrex::MultiFab & | mf, |
int | lev, | ||
amrex::Real | zmin, | ||
amrex::Real | zmax | ||
) |
void ParseGeometryInput | ( | ) |
void PreparseAMReXInputIntArray | ( | amrex::ParmParse & | a_pp, |
char const *const | input_str, | ||
const bool | replace | ||
) |
void ReadBCParams | ( | ) |
Reads the user-defined field and particle boundary condition parameters