XGCa
|
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) |
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 | ||
) |