Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Mesquite internal error handling

Classes

class  MsqError
 Used to hold the error state and return it to the application. More...
 
class  MsqPrintError
 Utility class for printing error data - used in Mesquite tests. More...
 

Macros

#define MSQ_FUNCTION   ""
 
#define MSQ_CHKERR(err)   (err.error() && err.push(MSQ_FUNCTION,__FILE__,__LINE__))
 Mesquite's Error Checking macro. More...
 
#define MSQ_ERRRTN(err)   if (MSQ_CHKERR(err)) return
 If passed error is true, return from a void function. More...
 
#define MSQ_ERRZERO(err)   if (MSQ_CHKERR(err)) return 0
 Return zero/NULL on error. More...
 
#define MSQ_SETERR(err)   Mesquite::MsqError::setter(err, MSQ_FUNCTION,__FILE__,__LINE__).set
 Macro to set error - use err.clear() to clear. More...
 
#define MSQ_FUNCTION   ""
 
#define MSQ_CHKERR(err)   (err.error() && err.push(MSQ_FUNCTION,__FILE__,__LINE__))
 Mesquite's Error Checking macro. More...
 
#define MSQ_ERRRTN(err)   if (MSQ_CHKERR(err)) return
 If passed error is true, return from a void function. More...
 
#define MSQ_ERRZERO(err)   if (MSQ_CHKERR(err)) return 0
 Return zero/NULL on error. More...
 
#define MSQ_SETERR(err)   Mesquite::MsqError::setter(err, MSQ_FUNCTION,__FILE__,__LINE__).set
 Macro to set error - use err.clear() to clear. More...
 

Functions

msq_stdio::ostream & operator<< (msq_stdio::ostream &, const MsqError &)
 Print message and stack trace. More...
 
msq_stdio::ostream & operator<< (msq_stdio::ostream &, const MsqError::Trace &)
 Print MsqError::Trace. More...
 

Detailed Description

Macro Definition Documentation

#define MSQ_CHKERR (   err)    (err.error() && err.push(MSQ_FUNCTION,__FILE__,__LINE__))

Mesquite's Error Checking macro.

Check the status of an MsqError. Returns true as pushes the current file/line onto the stack trace if the error flag is true. Returns false otherwise.

Definition at line 62 of file includeLinks/MsqError.hpp.

Referenced by TerminationCriterion::accumulate_inner(), ASMQualityMetric::ASMQualityMetric(), MsqHessian::cg_solver(), MeshSet::clear_all_soft_fixed_flags(), LPtoPTemplate::compute_analytical_gradient(), ObjectiveFunction::compute_analytical_gradient(), LPtoPTemplate::compute_analytical_hessian(), RI_DFT::compute_element_analytical_gradient(), QualityMetric::compute_element_analytical_gradient(), RI_DFT::compute_element_analytical_hessian(), QualityMetric::compute_element_analytical_hessian(), QualityMetric::compute_element_gradient(), QualityMetric::compute_element_gradient_expanded(), QualityMetric::compute_element_numerical_gradient(), QualityMetric::compute_element_numerical_hessian(), ObjectiveFunction::compute_gradient(), NonSmoothSteepestDescent::compute_gradient(), ObjectiveFunction::compute_hessian(), ObjectiveFunction::compute_numerical_gradient(), QualityMetric::compute_vertex_analytical_gradient(), QualityMetric::compute_vertex_gradient(), QualityMetric::compute_vertex_numerical_gradient(), CompositeOFMultiply::concrete_evaluate(), CompositeOFScalarAdd::concrete_evaluate(), CompositeOFAdd::concrete_evaluate(), CompositeOFScalarMultiply::concrete_evaluate(), MaxTemplate::concrete_evaluate(), LPtoPTemplate::concrete_evaluate(), ConditionNumberQualityMetric::ConditionNumberQualityMetric(), CornerJacobianQualityMetric::CornerJacobianQualityMetric(), MeshTSTT::create(), TerminationCriterion::cull_vertices(), MeshImpl::element_get_attached_vertex_count(), MeshImpl::element_get_topology(), MesqPane::element_tag_create(), GeneralizedConditionNumberQualityMetric::evaluate_element(), FeasibleNewton::FeasibleNewton(), GeneralizedConditionNumberQualityMetric::GeneralizedConditionNumberQualityMetric(), FileTokenizer::get_boolean_internal(), FileTokenizer::get_booleans(), FileTokenizer::get_byte_internal(), FileTokenizer::get_bytes(), PatchData::get_domain_normals_at_corners(), FileTokenizer::get_double_internal(), FileTokenizer::get_doubles(), FileTokenizer::get_float_internal(), FileTokenizer::get_integer_internal(), FileTokenizer::get_integers(), FileTokenizer::get_long_int_internal(), FileTokenizer::get_long_ints(), MeshSet::get_next_elem_on_vert_patch(), MeshSet::get_next_global_patch(), MeshSet::get_next_patch(), FileTokenizer::get_short_int_internal(), FileTokenizer::get_short_ints(), MsqHessian::initialize(), FeasibleNewton::initialize(), LaplacianIQ::LaplacianIQ(), VertexMover::loop_over_mesh(), TargetCalculator::loop_over_mesh(), FileTokenizer::match_token(), MeanMidNodeMover::MeanMidNodeMover(), ConjugateGradient::optimize_vertex_positions(), SteepestDescent::optimize_vertex_positions(), MeshImpl::read_exodus(), MeshImpl::read_vtk(), TargetCalculator::reset_reference_meshset(), RI_DFT::RI_DFT(), CornerTagHandles::save_load_tags(), NonSmoothSteepestDescent::search_direction(), CornerTag< T >::set_element_corner_tags(), Rocmop::smooth_mesquite(), sRI_DFT::sRI_DFT(), NonSmoothSteepestDescent::step_acceptance(), MeshImpl::tag_delete(), MeshImpl::tag_get_element_data(), MeshImpl::tag_get_vertex_data(), MeshImpl::tag_set_element_data(), MeshImpl::tag_set_vertex_data(), UntangleBetaQualityMetric::UntangleBetaQualityMetric(), PatchData::update_mesh(), MeshImpl::vertex_get_attached_element_count(), MeshImpl::vertex_get_byte(), MeshImpl::vertex_set_byte(), MeshImpl::vertex_set_coordinates(), MeshImpl::vtk_read_cell_data(), MeshImpl::vtk_read_color_attrib(), MeshImpl::vtk_read_point_data(), and MeshImpl::vtk_read_typed_data().

#define MSQ_CHKERR (   err)    (err.error() && err.push(MSQ_FUNCTION,__FILE__,__LINE__))

Mesquite's Error Checking macro.

Check the status of an MsqError. Returns true as pushes the current file/line onto the stack trace if the error flag is true. Returns false otherwise.

Definition at line 62 of file src/Misc/MsqError.hpp.

#define MSQ_ERRRTN (   err)    if (MSQ_CHKERR(err)) return

If passed error is true, return from a void function.

Shorthand for if (MSQ_CHKERR(err)) return

Definition at line 68 of file src/Misc/MsqError.hpp.

#define MSQ_ERRRTN (   err)    if (MSQ_CHKERR(err)) return

If passed error is true, return from a void function.

Shorthand for if (MSQ_CHKERR(err)) return

Definition at line 68 of file includeLinks/MsqError.hpp.

Referenced by TerminationCriterion::accumulate_inner(), TerminationCriterion::accumulate_outer(), TerminationCriterion::accumulate_patch(), ParameterSet::add_int_parameter(), MeshSet::add_mesh(), TerminationCriterion::cleanup(), MsqMeshEntity::compute_corner_matrices(), MsqMeshEntity::compute_corner_normals(), TargetCalculator::compute_default_target_matrices(), TargetCalculator::compute_guide_matrices(), TargetCalculator::compute_reference_corner_matrices(), WTargetCalculator::compute_target_matrices(), LVQDTargetCalculator::compute_target_matrices(), TargetCalculator::compute_target_matrices_and_check_det(), MsqMeshEntity::compute_weighted_jacobian(), ConjugateGradient::ConjugateGradient(), MeshImplData::copy_higher_order(), MeshImplData::delete_element(), MeshImpl::element_get_connectivity(), MeshImpl::elements_get_attached_vertices(), MsqMeshEntity::get_centroid(), PatchData::get_domain_normal_at_element(), PatchData::get_domain_normal_at_vertex(), PatchData::get_domain_normals_at_corners(), ParameterSet::get_int_parameter(), PatchData::get_minmax_element_unsigned_area(), PatchData::get_subpatch(), IdealWeightInverseMeanRatio::IdealWeightInverseMeanRatio(), LaplacianSmoother::LaplacianSmoother(), NonSmoothSteepestDescent::minmax_opt(), PatchData::move_free_vertices_constrained(), SmartLaplacianSmoother::optimize_vertex_positions(), Randomize::optimize_vertex_positions(), LaplacianSmoother::optimize_vertex_positions(), ConjugateGradient::optimize_vertex_positions(), SteepestDescent::optimize_vertex_positions(), FeasibleNewton::optimize_vertex_positions(), NonSmoothSteepestDescent::optimize_vertex_positions(), Randomize::randomize_vertex(), MeshImpl::read_exodus(), MeshImpl::read_vtk(), ParameterSet::remove_parameter(), MeshSet::reset(), MeshImplData::reset_element(), TerminationCriterion::reset_inner(), TerminationCriterion::reset_outer(), TerminationCriterion::reset_patch(), ShapeImprovementWrapper::run_instructions(), InstructionQueue::run_instructions(), CornerTagHandles::save_load_tags(), NonSmoothSteepestDescent::search_direction(), PatchData::set_free_vertices_constrained(), ParameterSet::set_int_parameter(), InstructionQueue::set_master_quality_improver(), ShapeImprovementWrapper::ShapeImprovementWrapper(), MeshImplData::skin(), SmartLaplacianSmoother::SmartLaplacianSmoother(), PatchData::snap_vertex_to_domain(), NonSmoothSteepestDescent::step_acceptance(), MeshImpl::tag_properties(), UntangleBetaQualityMetric::untangle_function_2d(), MeshSet::update_mesh(), MeshImpl::vertex_get_attached_elements(), MeshTSTTImpl::vertex_get_attached_elements(), MeshImpl::vertices_are_on_boundary(), MeshImpl::vertices_get_byte(), MeshImpl::vertices_get_coordinates(), MeshImpl::vertices_set_byte(), MeshImpl::vtk_create_structured_elems(), MeshImpl::vtk_read_cell_data(), MeshImpl::vtk_read_dataset(), MeshImpl::vtk_read_field(), MeshImpl::vtk_read_point_data(), MeshImpl::vtk_read_polydata(), MeshImpl::vtk_read_polygons(), MeshImpl::vtk_read_rectilinear_grid(), MeshImpl::vtk_read_structured_grid(), MeshImpl::vtk_read_structured_points(), MeshImpl::vtk_read_unstructured_grid(), MeshImpl::write_exodus(), MeshSet::write_gnuplot(), MeshImpl::write_vtk(), and MeshSet::write_vtk().

#define MSQ_ERRZERO (   err)    if (MSQ_CHKERR(err)) return 0

Return zero/NULL on error.

Definition at line 72 of file src/Misc/MsqError.hpp.

#define MSQ_ERRZERO (   err)    if (MSQ_CHKERR(err)) return 0

Return zero/NULL on error.

Definition at line 72 of file includeLinks/MsqError.hpp.

Referenced by MeshImplData::add_element(), MeshImplData::add_vertex(), CompositeOFMultiply::compute_analytical_gradient(), CompositeOFAdd::compute_analytical_gradient(), CompositeOFScalarAdd::compute_analytical_gradient(), CompositeOFScalarMultiply::compute_analytical_gradient(), LPtoPTemplate::compute_analytical_gradient(), LPtoPTemplate::compute_analytical_hessian(), GeneralizedConditionNumberQualityMetric::compute_condition_number(), RI_DFT::compute_element_analytical_gradient(), IdealWeightInverseMeanRatio::compute_element_analytical_gradient(), IdealWeightMeanRatio::compute_element_analytical_gradient(), I_DFT::compute_element_analytical_gradient(), RI_DFT::compute_element_analytical_hessian(), IdealWeightInverseMeanRatio::compute_element_analytical_hessian(), IdealWeightMeanRatio::compute_element_analytical_hessian(), I_DFT::compute_element_analytical_hessian(), QualityMetric::compute_element_hessian(), NonSmoothSteepestDescent::compute_function(), ObjectiveFunction::compute_numerical_gradient(), MsqMeshEntity::compute_signed_area(), MsqMeshEntity::compute_signed_volume(), MsqMeshEntity::compute_unsigned_area(), MsqMeshEntity::compute_unsigned_volume(), QualityMetric::compute_vertex_numerical_gradient(), LInfTemplate::concrete_evaluate(), MaxTemplate::concrete_evaluate(), LPtoPTemplate::concrete_evaluate(), ShapeQualityMetric::condition_number_2d(), ShapeQualityMetric::condition_number_3d(), TerminationCriterion::cull_vertices(), ScalarMultiplyQualityMetric::evaluate_element(), ScalarAddQualityMetric::evaluate_element(), sI_DFT::evaluate_element(), ConditionNumberQualityMetric::evaluate_element(), sRI_DFT::evaluate_element(), RI_DFT::evaluate_element(), PowerQualityMetric::evaluate_element(), ASMQualityMetric::evaluate_element(), GeneralizedConditionNumberQualityMetric::evaluate_element(), UntangleBetaQualityMetric::evaluate_element(), CornerJacobianQualityMetric::evaluate_element(), AspectRatioGammaQualityMetric::evaluate_element(), MultiplyQualityMetric::evaluate_element(), IdealWeightInverseMeanRatio::evaluate_element(), AddQualityMetric::evaluate_element(), IdealWeightMeanRatio::evaluate_element(), I_DFT::evaluate_element(), VertexConditionNumberQualityMetric::evaluate_vertex(), ScalarMultiplyQualityMetric::evaluate_vertex(), PowerQualityMetric::evaluate_vertex(), EdgeLengthQualityMetric::evaluate_vertex(), MultiplyQualityMetric::evaluate_vertex(), LocalSizeQualityMetric::evaluate_vertex(), AddQualityMetric::evaluate_vertex(), EdgeLengthRangeQualityMetric::evaluate_vertex(), PatchData::get_average_Lambda_3d(), PatchData::get_barrier_delta(), DistanceFromTarget::get_barrier_function(), CornerTag< T >::get_element_corner_tags(), ObjectiveFunction::get_eps(), CornerTagHandles::get_handle(), PatchData::get_max_vertex_movement_squared(), MeshSet::get_next_elem_on_vert_patch(), MeshSet::get_next_global_patch(), ConjugateGradient::get_step(), MeshImpl::get_vertex_use_count(), MeanMidNodeMover::loop_over_mesh(), QualityAssessor::loop_over_mesh(), MeshImpl::tag_get(), MeshTSTTImpl::vertex_get_attached_element_count(), MeshImpl::vtk_read_attrib_data(), MeshImpl::vtk_read_color_attrib(), MeshImpl::vtk_read_scalar_attrib(), MeshImpl::vtk_read_tensor_attrib(), MeshImpl::vtk_read_texture_attrib(), and MeshImpl::vtk_read_vector_attrib().

#define MSQ_FUNCTION   ""

Definition at line 52 of file src/Misc/MsqError.hpp.

#define MSQ_FUNCTION   ""

Definition at line 52 of file includeLinks/MsqError.hpp.

#define MSQ_SETERR (   err)    Mesquite::MsqError::setter(err, MSQ_FUNCTION,__FILE__,__LINE__).set

Macro to set error - use err.clear() to clear.

Set the error object to the specified error code and optional error message, and push the current file/line onto the stack trace. Examples:

Definition at line 83 of file src/Misc/MsqError.hpp.

#define MSQ_SETERR (   err)    Mesquite::MsqError::setter(err, MSQ_FUNCTION,__FILE__,__LINE__).set

Macro to set error - use err.clear() to clear.

Set the error object to the specified error code and optional error message, and push the current file/line onto the stack trace. Examples:

Definition at line 83 of file includeLinks/MsqError.hpp.

Referenced by MsqHessian::accumulate_entries(), TerminationCriterion::accumulate_inner(), TerminationCriterion::add_criterion_type_with_double(), TerminationCriterion::add_criterion_type_with_int(), QualityAssessor::add_histogram_assessment(), MeshSet::add_mesh(), InstructionQueue::add_preconditioner(), AddQualityMetric::AddQualityMetric(), MeshImplData::allocate_elements(), MeshImplData::allocate_vertices(), QualityMetric::average_metric_and_weights(), QualityMetric::average_metrics(), MeshTSTTImpl::cache_adjacent_elements(), Mesquite::centroid_smooth_mesh(), QualityMetric::change_metric_type(), MeshImplData::clear_element(), InstructionQueue::clear_master(), DomainTSTT::closest_point(), GeomEntTSTT::closest_point(), LInfTemplate::compute_analytical_gradient(), MaxTemplate::compute_analytical_gradient(), LPtoPTemplate::compute_analytical_gradient(), LPtoPTemplate::compute_analytical_hessian(), ObjectiveFunction::compute_analytical_hessian(), MsqMeshEntity::compute_corner_matrices(), MsqMeshEntity::compute_corner_normals(), TargetCalculator::compute_default_target_matrices(), TargetCalculator::compute_Delta_3D(), RI_DFT::compute_element_analytical_gradient(), I_DFT::compute_element_analytical_gradient(), RI_DFT::compute_element_analytical_hessian(), IdealWeightInverseMeanRatio::compute_element_analytical_hessian(), IdealWeightMeanRatio::compute_element_analytical_hessian(), I_DFT::compute_element_analytical_hessian(), QualityMetric::compute_element_hessian(), QualityMetric::compute_element_numerical_gradient(), LPtoPTemplate::compute_function(), TargetCalculator::compute_guide_matrices(), ObjectiveFunction::compute_numerical_gradient(), TargetCalculator::compute_Q_3D(), TargetCalculator::compute_reference_corner_matrices(), MsqMeshEntity::compute_signed_area(), MsqMeshEntity::compute_signed_volume(), LVQDTargetCalculator::compute_target_matrices(), TargetCalculator::compute_target_matrices_and_check_det(), MsqMeshEntity::compute_unsigned_area(), MsqMeshEntity::compute_unsigned_volume(), TargetCalculator::compute_V_3D(), MsqMeshEntity::compute_weighted_jacobian(), MaxTemplate::concrete_evaluate(), LPtoPTemplate::concrete_evaluate(), ShapeQualityMetric::condition_number_2d(), ShapeQualityMetric::condition_number_3d(), ConjugateGradient::ConjugateGradient(), NonSmoothSteepestDescent::convex_hull_test(), NonSmoothSteepestDescent::copy_active(), MeshImplData::copy_higher_order(), GeomTSTT::create(), MeshImplTags::create(), TerminationCriterion::cull_vertices(), MeshImplData::delete_vertex(), MeshImplTags::destroy(), TopologyInfo::edge_vertices(), EdgeLengthRangeQualityMetric::EdgeLengthRangeQualityMetric(), MeshImplData::element_connectivity(), MeshTSTTImpl::element_get_attached_vertex_count(), MeshImpl::element_get_connectivity(), MeshTSTTImpl::element_get_topology(), MeshTSTTImpl::element_iterator(), MeshImplData::element_topology(), MeshImpl::elements_get_attached_vertices(), MeshTSTTImpl::elements_get_attached_vertices(), MeshTSTTImpl::elements_get_topologies(), RI_DFT::evaluate_element(), ASMQualityMetric::evaluate_element(), UntangleBetaQualityMetric::evaluate_element(), AspectRatioGammaQualityMetric::evaluate_element(), I_DFT::evaluate_element(), QualityMetric::evaluate_element(), GeneralizedConditionNumberQualityMetric::evaluate_vertex(), LocalSizeQualityMetric::evaluate_vertex(), QualityMetric::evaluate_vertex(), TopologyInfo::face_vertices(), MeshImplData::fix_vertex(), NonSmoothSteepestDescent::form_grammian(), NonSmoothSteepestDescent::form_PD_grammian(), ParameterSet::generic_add_parameter(), MeshImplData::get_adjacent_elements(), MeshImpl::get_all_mesh(), MeshTSTTImpl::get_all_mesh(), MeshTSTTImpl::get_all_sizes(), PatchData::get_barrier_delta(), DistanceFromTarget::get_barrier_function(), FileTokenizer::get_boolean_internal(), FileTokenizer::get_byte_internal(), PatchData::get_domain_normal_at_element(), PatchData::get_domain_normal_at_vertex(), PatchData::get_domain_normals_at_corners(), FileTokenizer::get_double_internal(), PatchData::get_element_array(), MeshImplTags::get_element_data(), FileTokenizer::get_float_internal(), MeshTSTTImpl::get_geometric_dimension(), CornerTagHandles::get_handle(), QualityAssessor::Assessor::get_histogram(), ParameterSet::get_int_parameter(), FileTokenizer::get_integer_internal(), FileTokenizer::get_long_int_internal(), PatchData::get_minmax_element_unsigned_area(), PatchDataParameters::get_nb_layers(), FileTokenizer::get_newline(), MeshSet::get_next_elem_on_vert_patch(), MeshSet::get_next_global_patch(), MeshSet::get_next_patch(), ParameterSet::get_parameter_index(), FileTokenizer::get_short_int_internal(), ConjugateGradient::get_step(), FileTokenizer::get_string(), PatchData::get_subpatch(), PatchData::get_vertex_array(), MeshImplData::get_vertex_byte(), MeshImplData::get_vertex_coords(), MeshImplTags::get_vertex_data(), MeshTSTTImpl::get_vertex_use_count(), TopologyInfo::higher_order(), NonSmoothSteepestDescent::init_max_step_length(), NonSmoothSteepestDescent::init_opt(), MsqHessian::initialize(), PatchData::initialize_data(), InstructionQueue::insert_preconditioner(), InstructionQueue::insert_quality_assessor(), Vector3D::interior_angle(), MeanMidNodeMover::loop_over_mesh(), VertexMover::loop_over_mesh(), MeshTransform::loop_over_mesh(), TargetCalculator::loop_over_mesh(), QualityAssessor::loop_over_mesh(), LPtoPTemplate::LPtoPTemplate(), FileTokenizer::match_token(), MeshTSTTImpl::MeshTSTTImpl(), PatchData::move_free_vertices_constrained(), MultiplyQualityMetric::MultiplyQualityMetric(), DomainTSTT::normal_at(), GeomEntTSTT::normal_at(), ConjugateGradient::optimize_vertex_positions(), SteepestDescent::optimize_vertex_positions(), FeasibleNewton::optimize_vertex_positions(), NonSmoothSteepestDescent::optimize_vertex_positions(), PowerQualityMetric::PowerQualityMetric(), NonSmoothSteepestDescent::print_active_set(), MeshImplTags::properties(), MeshImpl::read_exodus(), MeshImpl::read_vtk(), InstructionQueue::remove_preconditioner(), InstructionQueue::remove_quality_assessor(), TerminationCriterion::reset_inner(), MeshImplData::reset_vertex(), InstructionQueue::run_instructions(), ScalarAddQualityMetric::ScalarAddQualityMetric(), ScalarMultiplyQualityMetric::ScalarMultiplyQualityMetric(), NonSmoothSteepestDescent::search_direction(), NonSmoothSteepestDescent::search_edges_faces(), MeshTSTTImpl::set_active_set(), QualityMetric::set_averaging_method(), TerminationCriterion::set_culling_type(), MeshImplData::set_element(), MeshImplTags::set_element_data(), QualityMetric::set_element_evaluation_mode(), PatchData::set_free_vertices_constrained(), PatchDataParameters::set_global_patch(), ParameterSet::set_int_parameter(), MeshTSTTImpl::set_int_tag(), IdealWeightInverseMeanRatio::set_metric_power(), MeanMidNodeMover::set_patch_type(), ConjugateGradient::set_patch_type(), MeshTransform::set_patch_type(), PatchDataParameters::set_patch_type(), QualityAssessor::set_stopping_assessment(), PatchData::set_to_vertices_memento(), MeshImplData::set_vertex_byte(), PatchData::set_vertex_coordinates(), MeshImplData::set_vertex_coords(), MeshImplTags::set_vertex_data(), TopologyInfo::side_number(), TopologyInfo::side_vertices(), NonSmoothSteepestDescent::singular_test(), MeshTSTTImpl::tag_create(), MeshTSTTImpl::tag_delete(), MeshTSTTImpl::tag_get(), MeshTSTTImpl::tag_get_data(), MeshImplTags::tag_has_element_data(), MeshImplTags::tag_has_vertex_data(), MeshTSTTImpl::tag_properties(), MeshTSTTImpl::tag_set_data(), TSTTIterator::TSTTIterator(), PatchData::update_cached_normals(), MeshSet::update_mesh(), MeshImplData::vertex_adjacencies(), MeshImpl::vertex_get_attached_elements(), MeshTSTTImpl::vertex_get_attached_elements(), MeshTSTTImpl::vertex_get_byte(), MeshImplData::vertex_is_fixed(), MeshTSTTImpl::vertex_is_fixed(), MeshTSTTImpl::vertex_iterator(), MeshTSTTImpl::vertex_set_byte(), MeshTSTTImpl::vertex_set_coordinates(), MeshTSTTImpl::vertices_are_on_boundary(), MeshTSTTImpl::vertices_get_byte(), MeshTSTTImpl::vertices_get_coordinates(), MeshTSTTImpl::vertices_set_byte(), MeshImpl::vtk_create_structured_elems(), MeshImpl::vtk_read_attrib_data(), MeshImpl::vtk_read_cell_data(), MeshImpl::vtk_read_color_attrib(), MeshImpl::vtk_read_point_data(), MeshImpl::vtk_read_polydata(), MeshImpl::vtk_read_rectilinear_grid(), MeshImpl::vtk_read_scalar_attrib(), MeshImpl::vtk_read_structured_grid(), MeshImpl::vtk_read_structured_points(), MeshImpl::vtk_read_texture_attrib(), MeshImpl::vtk_read_typed_data(), MeshImpl::vtk_read_unstructured_grid(), MeshImpl::vtk_write_attrib_data(), QualityMetric::weighted_average_metrics(), MeshImpl::write_exodus(), MeshSet::write_gnuplot(), MeshImpl::write_vtk(), and MeshSet::write_vtk().

Function Documentation

msq_stdio::ostream & operator<< ( msq_stdio::ostream &  str,
const MsqError &  err 
)

Print message and stack trace.

Definition at line 163 of file Misc/MsqError.cpp.

References MsqError::error_code(), MsqError::error_message(), and MsqError::stack().

164 {
165  str << "MESQUITE ERROR " << (int)err.error_code() << " : "
166  << err.error_message() << msq_stdio::endl;
167 
168  MsqError::StackTrace::const_iterator iter = err.stack().begin();
169  const MsqError::StackTrace::const_iterator end = err.stack().end();
170  if (iter != end)
171  {
172  str << " at " << *iter << msq_stdio::endl;
173  ++iter;
174  }
175  for ( ; iter != end; ++iter)
176  str << " in " << *iter << msq_stdio::endl;
177 
178  return str;
179 }

Here is the call graph for this function:

msq_stdio::ostream & operator<< ( msq_stdio::ostream &  str,
const MsqError::Trace &  tr 
)

Print MsqError::Trace.

Definition at line 158 of file Misc/MsqError.cpp.

References MsqError::Trace::file, MsqError::Trace::function, and MsqError::Trace::line.

159 {
160  return (str << tr.function << " at " << tr.file << ":" << tr.line);
161 }