MOAB: Mesh Oriented datABase  (version 5.4.1)
MBMesquite::QualityImprover Class Reference

Base class for all quality improvers. Mote that the PatchData settings are inherited from the PathDataUser class. More...

#include <QualityImprover.hpp>

+ Inheritance diagram for MBMesquite::QualityImprover:
+ Collaboration diagram for MBMesquite::QualityImprover:

Public Member Functions

virtual ~QualityImprover ()
void set_inner_termination_criterion (TerminationCriterion *crit)
void set_outer_termination_criterion (TerminationCriterion *crit)
virtual PatchSetget_patch_set ()=0
virtual void initialize_queue (MeshDomainAssoc *mesh_and_domain, const Settings *settings, MsqError &err)

Protected Member Functions

 QualityImprover ()
TerminationCriterionget_outer_termination_criterion ()
 return the outer termination criterion pointer
TerminationCriterionget_inner_termination_criterion ()
 return the inner termination criterion pointer

Private Attributes


Detailed Description

Base class for all quality improvers. Mote that the PatchData settings are inherited from the PathDataUser class.

Definition at line 59 of file QualityImprover.hpp.

Constructor & Destructor Documentation

The default constructor initialises a few member variables to default values. This can be reused by concrete class constructor.

Definition at line 60 of file QualityImprover.cpp.

References MBMesquite::TerminationCriterion::add_iteration_limit(), defaultInnerCriterion, defaultOuterCriterion, innerTerminationCriterion, and outerTerminationCriterion.

Member Function Documentation

return the outer termination criterion pointer

Definition at line 91 of file QualityImprover.hpp.

Referenced by MBMesquite::VertexMover::loop_over_mesh().

void MBMesquite::QualityImprover::initialize_queue ( MeshDomainAssoc mesh_and_domain,
const Settings settings,
MsqError err 
) [virtual]

Called for all instructions in queue before loop_over_mesh is called for any insetruction in queue. Default behavior is to do nothing.

Implements MBMesquite::Instruction.

Reimplemented in MBMesquite::VertexMover.

Definition at line 75 of file QualityImprover.cpp.

References MBMesquite::TerminationCriterion::initialize_queue(), innerTerminationCriterion, MSQ_ERRRTN, and outerTerminationCriterion.

    innerTerminationCriterion->initialize_queue( mesh_and_domain, settings, err );MSQ_ERRRTN( err );
    outerTerminationCriterion->initialize_queue( mesh_and_domain, settings, err );MSQ_ERRRTN( err );

Member Data Documentation

List of all members.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines