Classes | |
class | MsqDebug |
Run-time activation/deactivation of debug flags. More... | |
Macros | |
#define | MSQ_DBG(flag) false |
Check if a debug flag is activated - evaluates to a bool. More... | |
#define | MSQ_DBGOUT(flag) if (MSQ_DBG(flag)) Mesquite::MsqDebug::get_stream(flag) |
Check debug flag and return ostream associated with flag. More... | |
#define | MSQ_PRINT(flag) if (MSQ_DBG(flag)) Mesquite::MsqDebug::FormatPrinter(flag).print |
Check debug flag and print printf-style formatted output. More... | |
#define | MSQ_DBG(flag) false |
Check if a debug flag is activated - evaluates to a bool. More... | |
#define | MSQ_DBGOUT(flag) if (MSQ_DBG(flag)) Mesquite::MsqDebug::get_stream(flag) |
Check debug flag and return ostream associated with flag. More... | |
#define | MSQ_PRINT(flag) if (MSQ_DBG(flag)) Mesquite::MsqDebug::FormatPrinter(flag).print |
Check debug flag and print printf-style formatted output. More... | |
#define MSQ_DBG | ( | flag | ) | false |
Check if a debug flag is activated - evaluates to a bool.
Definition at line 148 of file includeLinks/MsqDebug.hpp.
Referenced by NonSmoothSteepestDescent::minmax_opt(), PatchData::move_free_vertices_constrained(), SteepestDescent::optimize_vertex_positions(), FeasibleNewton::optimize_vertex_positions(), NonSmoothSteepestDescent::optimize_vertex_positions(), and PatchData::set_free_vertices_constrained().
#define MSQ_DBG | ( | flag | ) | false |
Check if a debug flag is activated - evaluates to a bool.
Definition at line 148 of file src/Misc/MsqDebug.hpp.
#define MSQ_DBGOUT | ( | flag | ) | if (MSQ_DBG(flag)) Mesquite::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 158 of file src/Misc/MsqDebug.hpp.
#define MSQ_DBGOUT | ( | flag | ) | if (MSQ_DBG(flag)) Mesquite::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 158 of file includeLinks/MsqDebug.hpp.
Referenced by TerminationCriterion::accumulate_inner(), AddQualityMetric::AddQualityMetric(), NonSmoothSteepestDescent::cleanup(), CompositeOFScalarMultiply::CompositeOFScalarMultiply(), IdealWeightInverseMeanRatio::compute_element_analytical_gradient(), IdealWeightInverseMeanRatio::compute_element_analytical_hessian(), NonSmoothSteepestDescent::compute_gradient(), ObjectiveFunction::compute_numerical_gradient(), LPtoPTemplate::concrete_evaluate(), NonSmoothSteepestDescent::find_active_set(), ConjugateGradient::initialize(), NonSmoothSteepestDescent::initialize(), PatchData::move_free_vertices_constrained(), MultiplyQualityMetric::MultiplyQualityMetric(), NonSmoothSteepestDescent::NonSmoothSteepestDescent(), ConjugateGradient::optimize_vertex_positions(), SteepestDescent::optimize_vertex_positions(), FeasibleNewton::optimize_vertex_positions(), NonSmoothSteepestDescent::print_active_set(), Mesquite::print_timing_diagnostics(), Mesquite::process_tstt_error(), MeshImpl::read_exodus(), TerminationCriterion::reset_inner(), InstructionQueue::run_instructions(), PatchData::set_free_vertices_constrained(), InstructionQueue::set_master_quality_improver(), TerminationCriterion::terminate(), and MeshImpl::write_exodus().
#define MSQ_PRINT | ( | flag | ) | if (MSQ_DBG(flag)) Mesquite::MsqDebug::FormatPrinter(flag).print |
Check debug flag and print printf-style formatted output.
Evaluatues to a conditional print depending on the debug flag. Example: MSQ_PRINT(f)("Debug flag %d is activated", f);
Definition at line 167 of file includeLinks/MsqDebug.hpp.
Referenced by NonSmoothSteepestDescent::check_equilibrium(), NonSmoothSteepestDescent::compute_alpha(), IdealWeightMeanRatio::compute_element_analytical_gradient(), QualityMetric::compute_element_analytical_gradient(), IdealWeightMeanRatio::compute_element_analytical_hessian(), QualityMetric::compute_element_analytical_hessian(), QualityMetric::compute_element_numerical_gradient(), QualityMetric::compute_element_numerical_hessian(), QualityMetric::compute_vertex_analytical_gradient(), QualityMetric::compute_vertex_numerical_gradient(), NonSmoothSteepestDescent::convex_hull_test(), NonSmoothSteepestDescent::find_plane_points(), NonSmoothSteepestDescent::get_gradient_projections(), ConjugateGradient::get_step(), NonSmoothSteepestDescent::improvement_check(), NonSmoothSteepestDescent::init_max_step_length(), NonSmoothSteepestDescent::init_opt(), NonSmoothSteepestDescent::minmax_opt(), ConjugateGradient::optimize_vertex_positions(), FeasibleNewton::optimize_vertex_positions(), NonSmoothSteepestDescent::optimize_vertex_positions(), NonSmoothSteepestDescent::print_active_set(), Randomize::randomize_vertex(), MeshImpl::read_exodus(), NonSmoothSteepestDescent::search_direction(), and NonSmoothSteepestDescent::step_acceptance().
#define MSQ_PRINT | ( | flag | ) | if (MSQ_DBG(flag)) Mesquite::MsqDebug::FormatPrinter(flag).print |
Check debug flag and print printf-style formatted output.
Evaluatues to a conditional print depending on the debug flag. Example: MSQ_PRINT(f)("Debug flag %d is activated", f);
Definition at line 167 of file src/Misc/MsqDebug.hpp.