BioDynaMo  v1.05.120-25dc9790
Macros | Functions
debug.h File Reference
#include <algorithm>
#include <array>
#include <iomanip>
#include <iostream>
#include "core/container/math_array.h"
Include dependency graph for debug.h:

Go to the source code of this file.

Macros

#define BDM_PRINT_DEBUG(arg)   debug_print(#arg, arg);
 

Functions

template<typename T >
void debug_print (const std::string &name, T t)
 
void Print (const bdm::Real3 &a, int precision=10)
 

Macro Definition Documentation

◆ BDM_PRINT_DEBUG

#define BDM_PRINT_DEBUG (   arg)    debug_print(#arg, arg);

Definition at line 34 of file debug.h.

Function Documentation

◆ debug_print()

template<typename T >
void debug_print ( const std::string &  name,
t 
)
inline

Definition at line 26 of file debug.h.

◆ Print()

void Print ( const bdm::Real3 a,
int  precision = 10 
)
inline

Definition at line 36 of file debug.h.