WarpX
Classes | Functions | Variables
QedTableReader.cpp File Reference
#include "QedTableCommons.H"
#include "ArgParser/QedTablesArgParser.H"
#include <picsar_qed/physics/breit_wheeler/breit_wheeler_engine_tables.hpp>
#include <picsar_qed/physics/quantum_sync/quantum_sync_engine_tables.hpp>
#include <picsar_qed/utils/serialization.hpp>
#include <cstdint>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <limits>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

Classes

class  bw_pair_production_table_wrapper< RealType >
 
class  qs_photon_emission_table_wrapper< RealType >
 

Functions

void ReadTable (const ParsedArgs &args)
 
template<typename RealType >
void ReadTableBW (const string &input_file, const string &outfile_name)
 
template<typename RealType >
void ReadTableQS (const string &input_file, const string &outfile_name)
 
int main (int argc, char **argv)
 

Variables

const auto line_commands
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ ReadTable()

void ReadTable ( const ParsedArgs args)

◆ ReadTableBW()

template<typename RealType >
void ReadTableBW ( const string &  input_file,
const string &  outfile_name 
)

◆ ReadTableQS()

template<typename RealType >
void ReadTableQS ( const string &  input_file,
const string &  outfile_name 
)

Variable Documentation

◆ line_commands

const auto line_commands
Initial value:
= vector<ArgParser::Key>{
{"-h" , ArgType::NoArg , "Prints all command line arguments"},
{"-i" , ArgType::String , "Name of the file to open"},
{"--table" , ArgType::String , "Either BW (Breit-Wheeler) or QS (Quantum Synchrotron)"},
{"--mode" , ArgType::String , "Precision of the calculations: either DP (double) or SP (single)"},
{"-o" , ArgType::String , "filename to save the lookup table in human-readable format"}
}