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

Interface for wrappers. More...

#include <Wrapper.hpp>

+ Inheritance diagram for MBMesquite::Wrapper:
+ Collaboration diagram for MBMesquite::Wrapper:

Public Member Functions

 Wrapper ()
virtual ~Wrapper ()
QualityAssessorquality_assessor ()
const QualityAssessorquality_asssessor () const

Protected Member Functions

void run_common (MeshDomainAssoc *mesh_and_domain, ParallelMesh *pmesh, Settings *settings, MsqError &err)
virtual void run_wrapper (MeshDomainAssoc *mesh_and_domain, ParallelMesh *pmesh, Settings *settings, QualityAssessor *quality_assessor, MsqError &err)=0

Private Attributes


Detailed Description

Interface for wrappers.

Interaface implemented by wrappers. In addition to implementing IQInterface, also provide access to QualityAssessor instance so that caller can modify QA output.

Definition at line 49 of file Wrapper.hpp.

Constructor & Destructor Documentation

Definition at line 37 of file Wrapper.cpp.

: qualAssessor( new QualityAssessor ) {}

Definition at line 38 of file Wrapper.cpp.

    delete qualAssessor;

Member Function Documentation

Get the quality assessor associated with this wrapper

Definition at line 57 of file Wrapper.hpp.

Referenced by main(), run_example(), run_smoother(), and uwt().

        return *qualAssessor;

Get the quality assessor associated with this wrapper

Definition at line 63 of file Wrapper.hpp.

        return *qualAssessor;
void MBMesquite::Wrapper::run_common ( MeshDomainAssoc mesh_and_domain,
ParallelMesh pmesh,
Settings settings,
MsqError err 
) [protected, virtual]

Function inherited from IQInterface that we implement here

Implements MBMesquite::IQInterface.

Definition at line 43 of file Wrapper.cpp.

References MSQ_CHKERR.

    QualityAssessor qa( *qualAssessor );  // use copy so that subclass changes aren't persistent.
    run_wrapper( mesh_and_domain, pmesh, opt, &qa, err );MSQ_CHKERR( err );  // udpate stack trace, don't care about value

Member Data Documentation

Definition at line 80 of file Wrapper.hpp.

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