CAMP 1.0.0
Chemistry Across Multiple Phases
debug_diff_check.h
Go to the documentation of this file.
1/* Copyright (C) 2021 Barcelona Supercomputing Center and University of
2 * Illinois at Urbana-Champaign
3 * SPDX-License-Identifier: MIT
4 *
5 * Difference checker for int_data, float_data, env_data (until we can get
6 * rid of these entirely in version 2.0!)
7 */
8/** \file
9 * \brief model element data difference checker - NOT THREAD SAFE!
10 */
11#ifndef DEBUG_DIFF_CHECK_H_
12#define DEBUG_DIFF_CHECK_H_
13
14#include "camp_common.h"
15
16// Initialize the difference checker data
17void diff_check_init(ModelData model_data);
18
19// Do a model data difference check
20void diff_check(char* message);
21
22// Update the last checked state without checking for differences
23void diff_check_update_only(char* message);
24
25#endif // DEBUG_DIFF_CHECK_H_
Header file for common constants and structures.
void diff_check(char *message)
void diff_check_update_only(char *message)
void diff_check_init(ModelData model_data)