XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
moments_check.cpp File Reference
#include "xgc_io.hpp"
#include "moments_check.hpp"
Include dependency graph for moments_check.cpp:

Functions

void check_value_abs (double test, double ref, double tolerance, int &fail_count, double &max_diff)
 
void check_value_ratio (double test, double ref, double tolerance_ratio, int &fail_count, double &max_diff)
 
Moments read_reference_moments (XGC_IO_Stream &stream, int test_nplanes, int test_plane_index, int &nplanes, double &ptl_resolution)
 
void run_moments_test (const Grid< DeviceType > &grid, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, Plasma &plasma, const Moments &moments)
 
void write_moments_test_reference_data (const Grid< DeviceType > &grid, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, Plasma &plasma, const Moments &moments)
 

Function Documentation

void check_value_abs ( double  test,
double  ref,
double  tolerance,
int &  fail_count,
double &  max_diff 
)
void check_value_ratio ( double  test,
double  ref,
double  tolerance_ratio,
int &  fail_count,
double &  max_diff 
)

Here is the caller graph for this function:

Moments read_reference_moments ( XGC_IO_Stream stream,
int  test_nplanes,
int  test_plane_index,
int &  nplanes,
double &  ptl_resolution 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void run_moments_test ( const Grid< DeviceType > &  grid,
const VelocityGrid vgrid,
const DomainDecomposition< DeviceType > &  pol_decomp,
Plasma plasma,
const Moments moments 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void write_moments_test_reference_data ( const Grid< DeviceType > &  grid,
const VelocityGrid vgrid,
const DomainDecomposition< DeviceType > &  pol_decomp,
Plasma plasma,
const Moments moments 
)

Here is the call graph for this function:

Here is the caller graph for this function: