Go to the source code of this file.
|
| static void | print_func (const char *msg, int msglen, int output_unit) |
| | Wrapper for printf, passed to grid_library_print_stats.
|
| static int | run_test (const char cp2k_root_dir[], const char task_file[]) |
| | Unit test for the grid code.
|
| static int | run_sheared_case (const double dh[3][3], const double ra[3], const double radius, const double zeta, const bool compare_ref) |
| | Regression tests for general-cell bounds on strongly sheared cells.
|
| static int | run_sheared_tests (void) |
| int | main (int argc, char *argv[]) |
◆ print_func()
| void print_func |
( |
const char * | msg, |
|
|
int | msglen, |
|
|
int | output_unit ) |
|
static |
Wrapper for printf, passed to grid_library_print_stats.
- Author
- Ole Schuett
Definition at line 26 of file grid_unittest.c.
◆ run_test()
| int run_test |
( |
const char | cp2k_root_dir[], |
|
|
const char | task_file[] ) |
|
static |
Unit test for the grid code.
- Author
- Ole Schuett
Definition at line 37 of file grid_unittest.c.
◆ run_sheared_case()
| int run_sheared_case |
( |
const double | dh[3][3], |
|
|
const double | ra[3], |
|
|
const double | radius, |
|
|
const double | zeta, |
|
|
const bool | compare_ref ) |
|
static |
Regression tests for general-cell bounds on strongly sheared cells.
Definition at line 70 of file grid_unittest.c.
◆ run_sheared_tests()
| int run_sheared_tests |
( |
void | | ) |
|
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char * | argv[] ) |