MOAB: Mesh Oriented datABase  (version 5.4.1)
Mesquite debug output

Classes

class  MBMesquite::MsqDebug
 Run-time activation/deactivation of debug flags. More...

Defines

#define MSQ_DBG(flag)   false
 Check if a debug flag is activated - evaluates to a bool.
#define MSQ_DBGOUT(flag)   if( MSQ_DBG( flag ) ) MBMesquite::MsqDebug::get_stream( flag )
 Check debug flag and return ostream associated with flag.
#define MSQ_PRINT(flag)   if( MSQ_DBG( flag ) ) MBMesquite::MsqDebug::FormatPrinter( flag ).print
 Check debug flag and print printf-style formatted output.

Define Documentation

#define MSQ_DBGOUT (   flag)    if( MSQ_DBG( flag ) ) MBMesquite::MsqDebug::get_stream( flag )

Check debug flag and return ostream associated with flag.

Evaluates to a conditional calling of an ostream depending on the debug flag. Example: MSQ_DBGOUT(f) << "Debug flag " << f << " is activated" << endl;

Definition at line 151 of file MsqDebug.hpp.

Referenced by MBMesquite::AveragingQM::average_metric_and_weights(), MBMesquite::NonSmoothDescent::cleanup(), MBMesquite::NonSmoothDescent::compute_gradient(), MBMesquite::IdealWeightMeanRatio::evaluate_with_gradient(), MBMesquite::IdealWeightInverseMeanRatio::evaluate_with_gradient(), MBMesquite::IdealWeightMeanRatio::evaluate_with_Hessian(), MBMesquite::IdealWeightInverseMeanRatio::evaluate_with_Hessian(), MBMesquite::IdealWeightMeanRatio::evaluate_with_Hessian_diagonal(), MBMesquite::IdealWeightInverseMeanRatio::evaluate_with_Hessian_diagonal(), MBMesquite::NonSmoothDescent::find_active_set(), MBMesquite::ConjugateGradient::initialize(), MBMesquite::NonSmoothDescent::initialize(), MBMesquite::NonSmoothDescent::NonSmoothDescent(), MBMesquite::ConjugateGradient::optimize_vertex_positions(), MBMesquite::SteepestDescent::optimize_vertex_positions(), MBMesquite::FeasibleNewton::optimize_vertex_positions(), MBMesquite::NonSmoothDescent::print_active_set(), MBMesquite::print_timing_diagnostics(), MBMesquite::process_itaps_error(), MBMesquite::MeshImpl::read_exodus(), MBMesquite::InstructionQueue::run_common(), MBMesquite::ShapeImprovementWrapper::run_wrapper(), ParShapeImprover::ParShapeImprovementWrapper::run_wrapper(), MBMesquite::PatchData::set_free_vertices_constrained(), MBMesquite::InstructionQueue::set_master_quality_improver(), MBMesquite::TerminationCriterion::terminate(), and MBMesquite::MeshImpl::write_exodus().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines