// ============================================================================ // == == // == AMDiS - Adaptive multidimensional simulations == // == == // ============================================================================ // == == // == TU Dresden == // == == // == Institut für Wissenschaftliches Rechnen == // == Zellescher Weg 12-14 == // == 01069 Dresden == // == germany == // == == // ============================================================================ // == == // == https://gforge.zih.tu-dresden.de/projects/amdis/ == // == == // ============================================================================ /** \file Debug.h */ #ifndef AMDIS_DEBUG_H #define AMDIS_DEBUG_H #include "AMDiS_fwd.h" #include "Global.h" namespace AMDiS { namespace debug { #ifdef HAVE_PARALLEL_DOMAIN_AMDIS void writeLocalElementDofs(int rank, int elIdx, FiniteElemSpace *feSpace); void writeMesh(FiniteElemSpace *feSpace, int rank, std::string filename); void writeDofMesh(int rank, DegreeOfFreedom dof, FiniteElemSpace *feSpace); #endif void colorDofVectorByLocalElementDofs(DOFVector& vec, Element *el); bool colorDofVectorByLocalElementDofs(DOFVector& vec, Mesh *mesh, int elIndex); Element* getDofIndexElement(FiniteElemSpace *feSpace, DegreeOfFreedom dof); Element* getLevel0ParentElement(Mesh *mesh, Element *el); void printInfoByDof(FiniteElemSpace *feSpace, DegreeOfFreedom dof); void printMatValuesStatistics(Matrix *mat); void writeElementIndexMesh(FiniteElemSpace *feSpace, std::string filename); } } #endif