|
WarpX
|
#include "WarpXUtil.H"#include "WarpXConst.H"#include "WarpX.H"#include <AMReX_ParmParse.H>#include <cmath>#include <fstream>Namespaces | |
| WarpXUtilIO | |
| WarpXUtilMsg | |
| WarpXUtilStr | |
Functions | |
| 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 (std::string filename, const amrex::Vector< char > &data) |
| void | Store_parserString (amrex::ParmParse &pp, std::string query_string, std::string &stored_string) |
| Parse a string (typically a mathematical expression) from the input file and store it into a variable. More... | |
| WarpXParser | makeParser (std::string const &parse_function, std::vector< std::string > const &varnames) |
| Initialize a WarpXParser object from a string containing a math expression. More... | |
| void | CheckGriddingForRZSpectral () |
| 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. More... | |
| void | WarpXUtilMsg::AlwaysAssert (bool is_expression_true, const std::string &msg) |
| If is_expression_true is false, this function prints msg and calls amrex::abort() More... | |
| bool | WarpXUtilStr::is_in (const std::vector< std::string > &vect, const std::string &elem) |
| bool | WarpXUtilStr::is_in (const std::vector< std::string > &vect, const std::vector< std::string > &elems) |
| void CheckGriddingForRZSpectral | ( | ) |
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.
Ensures that the blocks are setup correctly for the RZ spectral solver.
| void ConvertLabParamsToBoost | ( | ) |
| WarpXParser makeParser | ( | std::string const & | parse_function, |
| std::vector< std::string > const & | varnames | ||
| ) |
Initialize a WarpXParser object from a string containing a math expression.
| parse_function | String to read to initialize the parser. |
| void NullifyMF | ( | amrex::MultiFab & | mf, |
| int | lev, | ||
| amrex::Real | zmin, | ||
| amrex::Real | zmax | ||
| ) |
| void ReadBoostedFrameParameters | ( | Real & | gamma_boost, |
| Real & | beta_boost, | ||
| Vector< int > & | boost_direction | ||
| ) |
| void Store_parserString | ( | amrex::ParmParse & | pp, |
| std::string | query_string, | ||
| std::string & | stored_string | ||
| ) |
Parse a string (typically a mathematical expression) from the input file and store it into a variable.
| ParmParse | pp used to read the query_string pp.<function>=string |
| parmparse_string | String used to initialize ParmParse |
| query_string | ParmParse.query will look for this string |
| stored_string | variable in which the string to parse is stored |
1.8.13