(git:374b731)
Loading...
Searching...
No Matches
grid_replay.h
Go to the documentation of this file.
1/*----------------------------------------------------------------------------*/
2/* CP2K: A general program to perform molecular dynamics simulations */
3/* Copyright 2000-2024 CP2K developers group <https://cp2k.org> */
4/* */
5/* SPDX-License-Identifier: BSD-3-Clause */
6/*----------------------------------------------------------------------------*/
7
8#ifndef GRID_REPLAY_H
9#define GRID_REPLAY_H
10
11#include <stdbool.h>
12
13/*******************************************************************************
14 * \brief Reads a .task file, collocates/integrates it, and compares results.
15 *
16 * \param filename Name of the task file.
17 * \param cycles Number of times the task should be collocated.
18 * \param collocate When true collocate is called otherwise integrate.
19 * \param batch When false grid_ref_collocate_pgf_product is called.
20 * When true grid_collocate_task_list is called.
21 * \param cycles_per_block Number of cycles per matrix block decontraction.
22 * \param tolerance Tolerance for comparing floating point results.
23 * \returns Returns true iff the test passed.
24 *
25 * \author Ole Schuett
26 ******************************************************************************/
27bool grid_replay(const char *filename, const int cycles, const bool collocate,
28 const bool batch, const int cycles_per_block,
29 const double tolerance);
30
31#endif
32
33// EOF
bool grid_replay(const char *filename, const int cycles, const bool collocate, const bool batch, const int cycles_per_block, const double tolerance)
Reads a .task file, collocates/integrates it, and compares results.