Teuchos::CompObject Class Reference

Functionality and data that is common to all computational classes. More...

#include <Teuchos_CompObject.hpp>

Inheritance diagram for Teuchos::CompObject:

Teuchos::SerialDenseMatrix< OrdinalType, ScalarType > Teuchos::SerialDenseSolver< OrdinalType, ScalarType > Teuchos::SerialSpdDenseSolver< OrdinalType, ScalarType > Teuchos::SerialDenseVector< OrdinalType, ScalarType > List of all members.

Public Member Functions

Constructors/Destructor.
 CompObject ()
 Default constructor.
 CompObject (const CompObject &source)
 Copy Constructor.
virtual ~CompObject ()
 Destructor.
Set/Get counter method.
void setFlopCounter (const Flops &FlopCounter)
 Set the internal Teuchos::Flops() pointer.
void setFlopCounter (const CompObject &compObject)
 Set the internal Teuchos::Flops() pointer to the flop counter of another Teuchos::CompObject.
void unsetFlopCounter ()
 Set the internal Teuchos::Flops() pointer to 0 (no flops counted).
FlopsgetFlopCounter () const
 Get the pointer to the Teuchos::Flops() object associated with this object, returns 0 if none.
Set flop count methods.
void resetFlops () const
 Resets the number of floating point operations to zero for this multi-stdvector.
double getFlops () const
 Returns the number of floating point operations with this multi-stdvector.
Update flop count methods.
void updateFlops (int addflops) const
 Increment Flop count for this object.
void updateFlops (long int addflops) const
 Increment Flop count for this object.
void updateFlops (double addflops) const
 Increment Flop count for this object.
void updateFlops (float addflops) const
 Increment Flop count for this object.

Detailed Description

Functionality and data that is common to all computational classes.

The Teuchos::CompObject is a base class for all Teuchos computational objects. It provides the basic mechanisms and interface specifications for floating point operations using Teuchos::Flops objects.


Constructor & Destructor Documentation

Teuchos::CompObject::CompObject (  ) 

Default constructor.

Teuchos::CompObject::CompObject ( const CompObject source  ) 

Copy Constructor.

Teuchos::CompObject::~CompObject (  )  [virtual]

Destructor.


Member Function Documentation

void Teuchos::CompObject::setFlopCounter ( const Flops FlopCounter  )  [inline]

Set the internal Teuchos::Flops() pointer.

void Teuchos::CompObject::setFlopCounter ( const CompObject compObject  )  [inline]

Set the internal Teuchos::Flops() pointer to the flop counter of another Teuchos::CompObject.

void Teuchos::CompObject::unsetFlopCounter (  )  [inline]

Set the internal Teuchos::Flops() pointer to 0 (no flops counted).

Flops* Teuchos::CompObject::getFlopCounter (  )  const [inline]

Get the pointer to the Teuchos::Flops() object associated with this object, returns 0 if none.

void Teuchos::CompObject::resetFlops (  )  const [inline]

Resets the number of floating point operations to zero for this multi-stdvector.

double Teuchos::CompObject::getFlops (  )  const [inline]

Returns the number of floating point operations with this multi-stdvector.

void Teuchos::CompObject::updateFlops ( int  addflops  )  const [inline]

Increment Flop count for this object.

void Teuchos::CompObject::updateFlops ( long int  addflops  )  const [inline]

Increment Flop count for this object.

void Teuchos::CompObject::updateFlops ( double  addflops  )  const [inline]

Increment Flop count for this object.

void Teuchos::CompObject::updateFlops ( float  addflops  )  const [inline]

Increment Flop count for this object.


The documentation for this class was generated from the following files:
Generated on Sun Nov 22 01:08:19 2009 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7