#include <Teuchos_CompObject.hpp>
Inheritance diagram for Teuchos::CompObject:
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). | |
| Flops * | getFlopCounter () 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-vector. | |
| double | getFlops () const |
| Returns the number of floating point operations with this multi-vector. | |
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. | |
Protected Attributes | |
| Flops * | flopCounter_ |
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 52 of file Teuchos_CompObject.hpp.
|
|
Default constructor.
Definition at line 39 of file Teuchos_CompObject.cpp. |
|
|
Copy Constructor.
Definition at line 45 of file Teuchos_CompObject.cpp. |
|
|
Destructor.
Definition at line 51 of file Teuchos_CompObject.cpp. |
|
|
Set the internal Teuchos::Flops() pointer.
Definition at line 71 of file Teuchos_CompObject.hpp. |
|
|
Set the internal Teuchos::Flops() pointer to the flop counter of another Teuchos::CompObject.
Definition at line 74 of file Teuchos_CompObject.hpp. |
|
|
Set the internal Teuchos::Flops() pointer to 0 (no flops counted).
Definition at line 77 of file Teuchos_CompObject.hpp. |
|
|
Get the pointer to the Teuchos::Flops() object associated with this object, returns 0 if none.
Definition at line 80 of file Teuchos_CompObject.hpp. |
|
|
Resets the number of floating point operations to zero for this multi-vector.
Definition at line 85 of file Teuchos_CompObject.hpp. |
|
|
Returns the number of floating point operations with this multi-vector.
Definition at line 88 of file Teuchos_CompObject.hpp. |
|
|
Increment Flop count for this object.
Definition at line 93 of file Teuchos_CompObject.hpp. |
|
|
Increment Flop count for this object.
Definition at line 96 of file Teuchos_CompObject.hpp. |
|
|
Increment Flop count for this object.
Definition at line 99 of file Teuchos_CompObject.hpp. |
|
|
Increment Flop count for this object.
Definition at line 102 of file Teuchos_CompObject.hpp. |
|
|
Definition at line 107 of file Teuchos_CompObject.hpp. |
1.3.9.1