ug4
ug::VectorDebugWritingObject< TVector > Class Template Reference

#include <debug_writer.h>

+ Inheritance diagram for ug::VectorDebugWritingObject< TVector >:

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...
 

Member Typedef Documentation

◆ vector_type

template<typename TVector >
typedef TVector ug::VectorDebugWritingObject< TVector >::vector_type

type of vector

Constructor & Destructor Documentation

◆ VectorDebugWritingObject() [1/2]

template<typename TVector >
ug::VectorDebugWritingObject< TVector >::VectorDebugWritingObject ( )
inline

◆ VectorDebugWritingObject() [2/2]

template<typename TVector >
ug::VectorDebugWritingObject< TVector >::VectorDebugWritingObject ( SmartPtr< IVectorDebugWriter< vector_type > >  spDebugWriter)
inline

◆ ~VectorDebugWritingObject()

template<typename TVector >
virtual ug::VectorDebugWritingObject< TVector >::~VectorDebugWritingObject ( )
inlinevirtual

virtual destructor

Member Function Documentation

◆ enter_vector_debug_writer_section() [1/2]

template<typename TVector >
void ug::VectorDebugWritingObject< TVector >::enter_vector_debug_writer_section ( const char *  secDir)
inlineprotected

◆ enter_vector_debug_writer_section() [2/2]

template<typename TVector >
void ug::VectorDebugWritingObject< TVector >::enter_vector_debug_writer_section ( std::string  secDir)
inlineprotected

◆ leave_vector_debug_writer_section()

template<typename TVector >
void ug::VectorDebugWritingObject< TVector >::leave_vector_debug_writer_section ( )
inlineprotected

◆ print_debugger_message() [1/2]

template<typename TVector >
void ug::VectorDebugWritingObject< TVector >::print_debugger_message ( const char *  msg)
inlineprotected

prints a debugger message (listing all the sections)

References ug::VectorDebugWritingObject< TVector >::m_spVectorDebugWriter.

◆ print_debugger_message() [2/2]

template<typename TVector >
void ug::VectorDebugWritingObject< TVector >::print_debugger_message ( std::string  msg)
inlineprotected

prints a debugger message (listing all the sections)

◆ set_debug()

template<typename TVector >
virtual void ug::VectorDebugWritingObject< TVector >::set_debug ( SmartPtr< IVectorDebugWriter< vector_type > >  spDebugWriter)
inlinevirtual

◆ vector_debug_writer() [1/2]

template<typename TVector >
SmartPtr<IVectorDebugWriter<vector_type> > ug::VectorDebugWritingObject< TVector >::vector_debug_writer ( )
inline

◆ vector_debug_writer() [2/2]

template<typename TVector >
ConstSmartPtr<IVectorDebugWriter<vector_type> > ug::VectorDebugWritingObject< TVector >::vector_debug_writer ( ) const
inline

◆ vector_debug_writer_valid()

◆ write_debug() [1/2]

template<typename TVector >
void ug::VectorDebugWritingObject< TVector >::write_debug ( const vector_type vec,
const char *  filename 
)
inline

◆ write_debug() [2/2]

template<typename TVector >
virtual void ug::VectorDebugWritingObject< TVector >::write_debug ( const vector_type vec,
std::string  name 
)
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.

Member Data Documentation

◆ m_spVectorDebugWriter


The documentation for this class was generated from the following file: