CAMP 1.0.0
Chemistry Across Multiple Phases
debug_diff_check.c File Reference

model element data difference checker - NOT THREAD SAFE! More...

Include dependency graph for debug_diff_check.c:

Go to the source code of this file.

Classes

struct  ModelElementDataIndices
 
struct  ModelElementDataPointers
 
struct  ModelElement
 
struct  Model
 
struct  DifferenceCheckerData
 

Functions

void allocate_index_arrays (ModelElement *model_element, int num_elements)
 
void attach_to_data (ModelElement *model_element, int num_elements, int num_cells, int *int_data, double *float_data, double *env_data, int *int_indices, int *float_indices, int *env_indices)
 
void copy_data (ModelElement from, ModelElement *to)
 
void diff_check_init (ModelData model_data)
 
int compare_and_update (ModelElement current, ModelElement *last_check, char *element_type, bool do_compare)
 
void diff_check (char *message)
 
void diff_check_update_only (char *message)
 

Variables

DifferenceCheckerData diff_data [2]
 
int num_solvers = 0
 

Detailed Description

model element data difference checker - NOT THREAD SAFE!

Definition in file debug_diff_check.c.

Function Documentation

◆ allocate_index_arrays()

void allocate_index_arrays ( ModelElement * model_element,
int num_elements )

Definition at line 59 of file debug_diff_check.c.

Here is the caller graph for this function:

◆ attach_to_data()

void attach_to_data ( ModelElement * model_element,
int num_elements,
int num_cells,
int * int_data,
double * float_data,
double * env_data,
int * int_indices,
int * float_indices,
int * env_indices )

Definition at line 83 of file debug_diff_check.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ compare_and_update()

int compare_and_update ( ModelElement current,
ModelElement * last_check,
char * element_type,
bool do_compare )

Definition at line 183 of file debug_diff_check.c.

Here is the caller graph for this function:

◆ copy_data()

void copy_data ( ModelElement from,
ModelElement * to )

Definition at line 107 of file debug_diff_check.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ diff_check()

void diff_check ( char * message)

Definition at line 313 of file debug_diff_check.c.

Here is the call graph for this function:

◆ diff_check_init()

void diff_check_init ( ModelData model_data)

Definition at line 153 of file debug_diff_check.c.

Here is the call graph for this function:

◆ diff_check_update_only()

void diff_check_update_only ( char * message)

Definition at line 337 of file debug_diff_check.c.

Here is the call graph for this function:

Variable Documentation

◆ diff_data

DifferenceCheckerData diff_data[2]

Definition at line 55 of file debug_diff_check.c.

◆ num_solvers

int num_solvers = 0

Definition at line 56 of file debug_diff_check.c.