MOAB: Mesh Oriented datABase
(version 5.4.1)
|
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 MSQ_DBG | ( | flag | ) | false |
Check if a debug flag is activated - evaluates to a bool.
Definition at line 141 of file MsqDebug.hpp.
Referenced by MBMesquite::VertexMover::loop_over_mesh(), MBMesquite::NonSmoothDescent::minmax_opt(), MBMesquite::FeasibleNewton::optimize_vertex_positions(), MBMesquite::PatchData::set_free_vertices_constrained(), and MBMesquite::TerminationCriterion::terminate().
#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().
#define MSQ_PRINT | ( | flag | ) | if( MSQ_DBG( flag ) ) MBMesquite::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 161 of file MsqDebug.hpp.
Referenced by MBMesquite::NonGradient::amotry(), MBMesquite::NonSmoothDescent::check_equilibrium(), MBMesquite::NonSmoothDescent::compute_alpha(), MBMesquite::NonSmoothDescent::convex_hull_test(), MBMesquite::NonSmoothDescent::find_plane_points(), MBMesquite::NonSmoothDescent::get_gradient_projections(), MBMesquite::ConjugateGradient::get_step(), MBMesquite::NonSmoothDescent::improvement_check(), MBMesquite::NonSmoothDescent::init_max_step_length(), MBMesquite::NonSmoothDescent::init_opt(), MBMesquite::NonGradient::initialize_mesh_iteration(), MBMesquite::NonSmoothDescent::minmax_opt(), MBMesquite::ConjugateGradient::optimize_vertex_positions(), MBMesquite::FeasibleNewton::optimize_vertex_positions(), MBMesquite::NonSmoothDescent::optimize_vertex_positions(), MBMesquite::NonSmoothDescent::print_active_set(), MBMesquite::NonGradient::printPatch(), randomize_vertex(), MBMesquite::MeshImpl::read_exodus(), MBMesquite::NonSmoothDescent::search_direction(), MBMesquite::NonSmoothDescent::step_acceptance(), and MBMesquite::NonGradient::testRowSum().