Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Functionality and data that is common to all computational classes. More...
#include <Teuchos_CompObject.hpp>
Protected Attributes | |
Flops * | flopCounter_ |
Constructors/Destructor. | |
CompObject () | |
Default constructor. More... | |
CompObject (const CompObject &source) | |
Copy Constructor. More... | |
virtual | ~CompObject () |
Destructor. More... | |
Set/Get counter method. | |
void | setFlopCounter (const Flops &FlopCounter) |
Set the internal Teuchos::Flops() pointer. More... | |
void | setFlopCounter (const CompObject &compObject) |
Set the internal Teuchos::Flops() pointer to the flop counter of another Teuchos::CompObject. More... | |
void | unsetFlopCounter () |
Set the internal Teuchos::Flops() pointer to 0 (no flops counted). More... | |
Flops * | getFlopCounter () const |
Get the pointer to the Teuchos::Flops() object associated with this object, returns 0 if none. More... | |
Set flop count methods. | |
void | resetFlops () const |
Resets the number of floating point operations to zero for this multi-std::vector. More... | |
double | getFlops () const |
Returns the number of floating point operations with this multi-std::vector. More... | |
Update flop count methods. | |
void | updateFlops (int addflops) const |
Increment Flop count for this object. More... | |
void | updateFlops (long int addflops) const |
Increment Flop count for this object. More... | |
void | updateFlops (double addflops) const |
Increment Flop count for this object. More... | |
void | updateFlops (float addflops) const |
Increment Flop count for this object. More... | |
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.
Definition at line 65 of file Teuchos_CompObject.hpp.
Teuchos::CompObject::CompObject | ( | ) |
Default constructor.
Definition at line 52 of file Teuchos_CompObject.cpp.
Teuchos::CompObject::CompObject | ( | const CompObject & | source | ) |
Copy Constructor.
Definition at line 58 of file Teuchos_CompObject.cpp.
|
virtual |
Destructor.
Definition at line 64 of file Teuchos_CompObject.cpp.
|
inline |
Set the internal Teuchos::Flops() pointer.
Definition at line 86 of file Teuchos_CompObject.hpp.
|
inline |
Set the internal Teuchos::Flops() pointer to the flop counter of another Teuchos::CompObject.
Definition at line 89 of file Teuchos_CompObject.hpp.
|
inline |
Set the internal Teuchos::Flops() pointer to 0 (no flops counted).
Definition at line 92 of file Teuchos_CompObject.hpp.
|
inline |
Get the pointer to the Teuchos::Flops() object associated with this object, returns 0 if none.
Definition at line 95 of file Teuchos_CompObject.hpp.
|
inline |
Resets the number of floating point operations to zero for this multi-std::vector.
Definition at line 101 of file Teuchos_CompObject.hpp.
|
inline |
Returns the number of floating point operations with this multi-std::vector.
Definition at line 104 of file Teuchos_CompObject.hpp.
|
inline |
Increment Flop count for this object.
Definition at line 110 of file Teuchos_CompObject.hpp.
|
inline |
Increment Flop count for this object.
Definition at line 113 of file Teuchos_CompObject.hpp.
|
inline |
Increment Flop count for this object.
Definition at line 116 of file Teuchos_CompObject.hpp.
|
inline |
Increment Flop count for this object.
Definition at line 119 of file Teuchos_CompObject.hpp.
|
protected |
Definition at line 124 of file Teuchos_CompObject.hpp.