ug4
debug_util_impl.hpp File Reference
#include <fstream>
#include <sstream>
#include "lib_grid/lg_base.h"
#include "lib_grid/algorithms/geom_obj_util/geom_obj_util.h"
#include "common/util/table.h"
#include "lib_grid/tools/periodic_boundary_manager.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<class TElem >
int ug::GetGridObjectIndex (Grid &g, TElem *elem)
 returns the index of the given element in the given grid. More...
 
template<class TElem , class TAValue >
void ug::WriteDebugValuesToFile (const char *filename, Grid &grid, TAValue &aVal, bool levelWise)
 Writes level and center of each object together with a custom value to a file. More...
 
vector3 ug::GetGridObjectCenter (Grid &g, GridObject *elem)
 Returns the center of the given element (SLOW - for debugging only!) More...
 
template<class TElem >
vector3 ug::GetGridObjectCenter (Grid &g, TElem *elem)
 Returns the center of the given element (SLOW - for debugging only!) More...