ug4
|
#include <debug_writer.h>
Public Types | |
typedef TVector | vector_type |
type of vector More... | |
Public Member Functions | |
virtual void | set_debug (SmartPtr< IVectorDebugWriter< vector_type > > spDebugWriter) |
set debug writer More... | |
SmartPtr< IVectorDebugWriter< vector_type > > | vector_debug_writer () |
returns the debug writer More... | |
ConstSmartPtr< IVectorDebugWriter< vector_type > > | vector_debug_writer () const |
bool | vector_debug_writer_valid () const |
returns true if the debug writer is set More... | |
VectorDebugWritingObject () | |
VectorDebugWritingObject (SmartPtr< IVectorDebugWriter< vector_type > > spDebugWriter) | |
void | write_debug (const vector_type &vec, const char *filename) |
writing debug output for a vector (if debug writer set) More... | |
virtual | ~VectorDebugWritingObject () |
virtual destructor More... | |
Protected Member Functions | |
void | enter_vector_debug_writer_section (const char *secDir) |
enters a debugging section More... | |
void | enter_vector_debug_writer_section (std::string secDir) |
enters a debugging section More... | |
void | leave_vector_debug_writer_section () |
leaves a debugging section More... | |
void | print_debugger_message (const char *msg) |
prints a debugger message (listing all the sections) More... | |
void | print_debugger_message (std::string msg) |
prints a debugger message (listing all the sections) More... | |
virtual void | write_debug (const vector_type &vec, std::string name) |
writing debug output for a vector (if debug writer set) More... | |
Protected Attributes | |
SmartPtr< IVectorDebugWriter< vector_type > > | m_spVectorDebugWriter |
Debug Writer. More... | |
typedef TVector ug::VectorDebugWritingObject< TVector >::vector_type |
type of vector
|
inline |
|
inline |
|
inlinevirtual |
virtual destructor
|
inlineprotected |
enters a debugging section
References ug::VectorDebugWritingObject< TVector >::m_spVectorDebugWriter.
|
inlineprotected |
enters a debugging section
Referenced by ug::CG< TVector >::enter_precond_debug_section(), ug::LinearSolver< TVector >::enter_precond_debug_section(), and ug::BiCGStab< TVector >::enter_precond_debug_section().
|
inlineprotected |
leaves a debugging section
References ug::VectorDebugWritingObject< TVector >::m_spVectorDebugWriter.
Referenced by ug::BiCGStab< TVector >::apply_return_defect(), ug::CG< TVector >::apply_return_defect(), and ug::LinearSolver< TVector >::apply_return_defect().
|
inlineprotected |
prints a debugger message (listing all the sections)
References ug::VectorDebugWritingObject< TVector >::m_spVectorDebugWriter.
|
inlineprotected |
prints a debugger message (listing all the sections)
|
inlinevirtual |
set debug writer
References ug::VectorDebugWritingObject< TVector >::m_spVectorDebugWriter.
Referenced by ug::DebugWritingObject< TAlgebra >::set_debug(), and ug::FETISolver< TAlgebra >::set_debug().
|
inline |
returns the debug writer
References ug::VectorDebugWritingObject< TVector >::m_spVectorDebugWriter.
Referenced by ug::DebugIterator< TAlgebra >::clone().
|
inline |
|
inline |
returns true if the debug writer is set
References ug::VectorDebugWritingObject< TVector >::m_spVectorDebugWriter.
Referenced by ug::LinearSolver< TVector >::apply_return_defect(), ug::CG< TVector >::enter_precond_debug_section(), ug::LinearSolver< TVector >::enter_precond_debug_section(), ug::BiCGStab< TVector >::enter_precond_debug_section(), ug::LinearSolver< TVector >::write_debugXCD(), ug::CG< TVector >::write_debugXR(), and ug::BiCGStab< TVector >::write_debugXR().
|
inline |
writing debug output for a vector (if debug writer set)
Referenced by ug::AutoLinearSolver< TVector >::apply_return_defect(), ug::LinearSolver< TVector >::apply_return_defect(), ug::LinearSolver< TVector >::write_debugXCD(), ug::CG< TVector >::write_debugXR(), and ug::BiCGStab< TVector >::write_debugXR().
|
inlineprotectedvirtual |
writing debug output for a vector (if debug writer set)
Reimplemented in ug::NewtonSolver< TAlgebra >.
References ug::VectorDebugWritingObject< TVector >::m_spVectorDebugWriter, name, PROFILE_FUNC_GROUP, and UG_THROW.
|
protected |
Debug Writer.
Referenced by ug::VectorDebugWritingObject< TVector >::enter_vector_debug_writer_section(), ug::VectorDebugWritingObject< TVector >::leave_vector_debug_writer_section(), ug::VectorDebugWritingObject< TVector >::print_debugger_message(), ug::VectorDebugWritingObject< TVector >::set_debug(), ug::VectorDebugWritingObject< TVector >::vector_debug_writer(), ug::VectorDebugWritingObject< TVector >::vector_debug_writer_valid(), and ug::VectorDebugWritingObject< TVector >::write_debug().