#include <Epetra_CompObject.h>
Inheritance diagram for Epetra_CompObject:
Constructors/Destructor | |
| Epetra_CompObject () | |
| Basic Epetra_CompObject constuctor. | |
| Epetra_CompObject (const Epetra_CompObject &Source) | |
| Epetra_CompObject copy constructor. | |
| virtual | ~Epetra_CompObject () |
| Epetra_CompObject destructor. | |
Set/Get counter method | |
| void | SetFlopCounter (const Epetra_Flops &FlopCounter) |
| Set the internal Epetra_Flops() pointer. | |
| void | SetFlopCounter (const Epetra_CompObject &CompObject) |
| Set the internal Epetra_Flops() pointer to the flop counter of another Epetra_CompObject. | |
| void | UnsetFlopCounter () |
| Set the internal Epetra_Flops() pointer to 0 (no flops counted). | |
| Epetra_Flops * | GetFlopCounter () const |
| Get the pointer to the Epetra_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 | Flops () const |
| Returns the number of floating point operations with this multi-vector. | |
Update flop count methods | |
| void | UpdateFlops (int Flops) const |
| Increment Flop count for this object. | |
| void | UpdateFlops (long int Flops) const |
| Increment Flop count for this object. | |
| void | UpdateFlops (double Flops) const |
| Increment Flop count for this object. | |
| void | UpdateFlops (float Flops) const |
| Increment Flop count for this object. | |
Public Member Functions | |
| Epetra_CompObject & | operator= (const Epetra_CompObject &src) |
Protected Attributes | |
| Epetra_Flops * | FlopCounter_ |
The Epetra_CompObject is a base class for all Epetra computational objects. It provides the basic mechanisms and interface specifications for floating point operations using Epetra_Flops objects.
Definition at line 44 of file Epetra_CompObject.h.
|
|
Basic Epetra_CompObject constuctor.
Definition at line 39 of file Epetra_CompObject.cpp. |
|
|
Epetra_CompObject copy constructor.
Definition at line 48 of file Epetra_CompObject.cpp. |
|
|
Epetra_CompObject destructor.
Definition at line 52 of file Epetra_CompObject.cpp. |
|
|
Set the internal Epetra_Flops() pointer.
Definition at line 65 of file Epetra_CompObject.h. |
|
|
Set the internal Epetra_Flops() pointer to the flop counter of another Epetra_CompObject.
Definition at line 67 of file Epetra_CompObject.h. |
|
|
Set the internal Epetra_Flops() pointer to 0 (no flops counted).
Definition at line 69 of file Epetra_CompObject.h. |
|
|
Get the pointer to the Epetra_Flops() object associated with this object, returns 0 if none.
Definition at line 71 of file Epetra_CompObject.h. |
|
|
Resets the number of floating point operations to zero for this multi-vector.
Definition at line 77 of file Epetra_CompObject.h. |
|
|
Returns the number of floating point operations with this multi-vector.
Definition at line 80 of file Epetra_CompObject.h. |
|
|
Increment Flop count for this object.
Definition at line 86 of file Epetra_CompObject.h. |
|
|
Increment Flop count for this object.
Definition at line 89 of file Epetra_CompObject.h. |
|
|
Increment Flop count for this object.
Definition at line 92 of file Epetra_CompObject.h. |
|
|
Increment Flop count for this object.
Definition at line 95 of file Epetra_CompObject.h. |
|
|
Definition at line 98 of file Epetra_CompObject.h. |
|
|
Definition at line 107 of file Epetra_CompObject.h. |
1.3.9.1