Epetra Package Browser (Single Doxygen Collection)
Development
|
Epetra_Flops: The Epetra Floating Point Operations Class. More...
#include <Epetra_Flops.h>
Public Member Functions | |
Epetra_Flops (void) | |
Epetra_Flops Constructor. More... | |
Epetra_Flops (const Epetra_Flops &Flops_in) | |
Epetra_Flops Copy Constructor. More... | |
double | Flops () const |
Returns the number of floating point operations with this object and resets the count. More... | |
void | ResetFlops () |
Resets the number of floating point operations to zero for this multi-vector. More... | |
virtual | ~Epetra_Flops (void) |
Epetra_Flops Destructor. More... | |
Epetra_Flops & | operator= (const Epetra_Flops &src) |
Protected Member Functions | |
void | UpdateFlops (int Flops_in) const |
Increment Flop count for this object from an int. More... | |
void | UpdateFlops (long int Flops_in) const |
Increment Flop count for this object from a long int. More... | |
void | UpdateFlops (long long int Flops_in) const |
Increment Flop count for this object from a long int. More... | |
void | UpdateFlops (double Flops_in) const |
Increment Flop count for this object from a double. More... | |
void | UpdateFlops (float Flops_in) const |
Increment Flop count for this object from a float. More... | |
Protected Attributes | |
double | Flops_ |
Friends | |
class | Epetra_CompObject |
Epetra_Flops: The Epetra Floating Point Operations Class.
The Epetra_Flops class provides basic support and consistent interfaces for counting and reporting floating point operations performed in the Epetra computational classes. All classes based on the Epetra_CompObject can count flops by the user creating an Epetra_Flops object and calling the SetFlopCounter() method for an Epetra_CompObject.
Definition at line 58 of file Epetra_Flops.h.
Epetra_Flops::Epetra_Flops | ( | void | ) |
Epetra_Flops Constructor.
Creates a Epetra_Flops instance. This instance can be queried for the number of floating point operations performed for the associated this object.
Definition at line 46 of file Epetra_Flops.cpp.
Epetra_Flops::Epetra_Flops | ( | const Epetra_Flops & | Flops_in | ) |
Epetra_Flops Copy Constructor.
Makes an exact copy of an existing Epetra_Flops instance.
Definition at line 51 of file Epetra_Flops.cpp.
|
virtual |
Epetra_Flops Destructor.
Completely deletes a Epetra_Flops object.
Definition at line 57 of file Epetra_Flops.cpp.
|
inline |
Returns the number of floating point operations with this object and resets the count.
Definition at line 74 of file Epetra_Flops.h.
|
inline |
Resets the number of floating point operations to zero for this multi-vector.
Definition at line 77 of file Epetra_Flops.h.
|
inline |
Definition at line 84 of file Epetra_Flops.h.
|
inlineprotected |
Increment Flop count for this object from an int.
Definition at line 95 of file Epetra_Flops.h.
|
inlineprotected |
Increment Flop count for this object from a long int.
Definition at line 97 of file Epetra_Flops.h.
|
inlineprotected |
Increment Flop count for this object from a long int.
Definition at line 99 of file Epetra_Flops.h.
|
inlineprotected |
Increment Flop count for this object from a double.
Definition at line 101 of file Epetra_Flops.h.
|
inlineprotected |
Increment Flop count for this object from a float.
Definition at line 103 of file Epetra_Flops.h.
|
friend |
Definition at line 90 of file Epetra_Flops.h.
|
mutableprotected |
Definition at line 93 of file Epetra_Flops.h.