Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
debug_util.cpp File Reference

Classes

class  ug::ComPol_CheckDistributedParentStates< TLayout >
 

Namespaces

namespace  ug
 the ug namespace
 

Macros

#define FAILED_CHECK(elem, msg)
 

Enumerations

enum  ug::ConstraintTypes { ug::CT_NONE = 0 , ug::CT_CONSTRAINING = 1 , ug::CT_CONSTRAINED = 1 << 1 }
 

Functions

template<class TElem >
static bool ug::CheckDistributedObjectConstraintTypes (MultiGrid &mg)
 
bool ug::CheckDistributedObjectConstraintTypes (MultiGrid &mg)
 Checks whether distributed objects have the same type on all processes.
 
bool ug::CheckDistributedParentTypes (MultiGrid &mg)
 Check whether local parent types match the type of the actual parent element.
 
bool ug::CheckHangingNodeConsistency (Grid &g)
 checks whether all constraining and constrained objects are correctly connected.
 
bool ug::CheckHangingNodeConsistency (MultiGrid &mg)
 checks whether a multigrid is a valid haging vertex grid.
 
template<typename T >
void ug::CheckHangingNodeConstrainingFace (bool isConsistent, Grid &g, T iter, T end)
 
template<class TElem >
bool ug::CheckLocalParentTypes (MultiGrid &mg)
 
void ug::CheckMultiGridConsistency (MultiGrid &mg)
 Checks whether parent child connections in a multi-grid are correct.
 
template<class TElem >
static void ug::CheckMultiGridConsistencyImpl (MultiGrid &mg)
 
template<class TElem >
static std::string ug::ElementDebugInfo_IMPL (const Grid &grid, TElem *e)
 
template<class TGeomObj >
void ug::PrintAttachmentInfo (Grid &grid)
 
void ug::PrintAttachmentInfo (Grid &grid)
 prints information on all attachments of the specified grid
 
void ug::PrintElementNumbers (const GridObjectCollection &goc)
 prints how many elements of each type exist in the goc.
 
void ug::PrintGridElementNumbers (Grid &grid)
 prints how many elements of each type exist in the grid.
 
void ug::PrintGridElementNumbers (GridSubsetHandler &sh)
 prints how many elements of each type exist in the subset handler.
 
void ug::PrintGridElementNumbers (MultiGrid &mg)
 prints how many elements of each type exist in the multi grid.
 
bool ug::CheckElementConsistency (MultiGrid &mg, Edge *e)
 Checks whether associated elements and associated constrained/constraining objects are fine.
 
bool ug::CheckElementConsistency (MultiGrid &mg, Face *f)
 Checks whether associated elements and associated constrained/constraining objects are fine.
 
bool ug::CheckElementConsistency (MultiGrid &mg, Vertex *v)
 Checks whether associated elements and associated constrained/constraining objects are fine.
 
std::string ug::ElementDebugInfo (const Grid &grid, GridObject *e)
 Returns a string containing information on the given element.
 

Macro Definition Documentation

◆ FAILED_CHECK

#define FAILED_CHECK (   elem,
  msg 
)
Value:
{UG_ERR_LOG("CheckHangingNodeConsistency: " << msg << endl);\
UG_ERR_LOG(" at: " << GetGridObjectCenter(g, elem));\
if(MultiGrid* mg = dynamic_cast<MultiGrid*>(&g))\
{UG_ERR_LOG(" on level " << mg->get_level(elem));}\
UG_ERR_LOG(endl);\
isConsistent = false;\
}
#define UG_ERR_LOG(msg)
Definition log.h:383