Loading [MathJax]/extensions/tex2jax.js
3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
Valgrind Namespace Reference

Functions

bool Running ()
 Returns whether the program is running under Valgrind or not. More...
 
template<class T >
bool CheckDefined (const T &value)
 Make valgrind complain if the object occupied by an object is undefined. More...
 
template<class T >
bool CheckDefined (const T *value, int size)
 
template<class T >
void SetUndefined (const T &value)
 Make the memory on which an object resides undefined. More...
 
template<class T >
void SetUndefined (const T *value, int size)
 
template<class T >
void SetDefined (const T &value)
 Make the memory on which an object resides defined. More...
 
template<class T >
void SetDefined (const T *value, int n)
 
template<class T >
void SetNoAccess (const T &value)
 Make valgrind complain if an object's memory is accessed. More...
 
template<class T >
void SetNoAccess (const T *value, int n)
 

Function Documentation

◆ CheckDefined()

template<class T >
bool Valgrind::CheckDefined ( const T *  value,
int  size 
)
inline

◆ SetDefined()

template<class T >
void Valgrind::SetDefined ( const T *  value,
int  n 
)
inline

◆ SetNoAccess()

template<class T >
void Valgrind::SetNoAccess ( const T *  value,
int  n 
)
inline

◆ SetUndefined()

template<class T >
void Valgrind::SetUndefined ( const T *  value,
int  size 
)
inline