Epetra Package Browser (Single Doxygen Collection)
Development
|
Epetra_CompObject: Functionality and data that is common to all computational classes. More...
#include <Epetra_CompObject.h>
Public Member Functions | |
Epetra_CompObject & | operator= (const Epetra_CompObject &src) |
Protected Attributes | |
Epetra_Flops * | FlopCounter_ |
Constructors/Destructor | |
Epetra_CompObject () | |
Basic Epetra_CompObject constuctor. More... | |
Epetra_CompObject (const Epetra_CompObject &Source) | |
Epetra_CompObject copy constructor. More... | |
virtual | ~Epetra_CompObject () |
Epetra_CompObject destructor. More... | |
Set/Get counter method | |
void | SetFlopCounter (const Epetra_Flops &FlopCounter_in) |
Set the internal Epetra_Flops() pointer. More... | |
void | SetFlopCounter (const Epetra_CompObject &CompObject) |
Set the internal Epetra_Flops() pointer to the flop counter of another Epetra_CompObject. More... | |
void | UnsetFlopCounter () |
Set the internal Epetra_Flops() pointer to 0 (no flops counted). More... | |
Epetra_Flops * | GetFlopCounter () const |
Get the pointer to the Epetra_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-vector. More... | |
double | Flops () const |
Returns the number of floating point operations with this multi-vector. More... | |
Update flop count methods | |
void | UpdateFlops (int Flops_in) const |
Increment Flop count for this object. More... | |
void | UpdateFlops (long int Flops_in) const |
Increment Flop count for this object. More... | |
void | UpdateFlops (long long Flops_in) const |
Increment Flop count for this object. More... | |
void | UpdateFlops (double Flops_in) const |
Increment Flop count for this object. More... | |
void | UpdateFlops (float Flops_in) const |
Increment Flop count for this object. More... | |
Epetra_CompObject: Functionality and data that is common to all computational classes.
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 65 of file Epetra_CompObject.h.
Epetra_CompObject::Epetra_CompObject | ( | ) |
Basic Epetra_CompObject constuctor.
Definition at line 52 of file Epetra_CompObject.cpp.
Epetra_CompObject::Epetra_CompObject | ( | const Epetra_CompObject & | Source | ) |
Epetra_CompObject copy constructor.
Definition at line 61 of file Epetra_CompObject.cpp.
|
virtual |
Epetra_CompObject destructor.
Definition at line 65 of file Epetra_CompObject.cpp.
|
inline |
Set the internal Epetra_Flops() pointer.
Definition at line 86 of file Epetra_CompObject.h.
|
inline |
Set the internal Epetra_Flops() pointer to the flop counter of another Epetra_CompObject.
Definition at line 88 of file Epetra_CompObject.h.
|
inline |
Set the internal Epetra_Flops() pointer to 0 (no flops counted).
Definition at line 90 of file Epetra_CompObject.h.
|
inline |
Get the pointer to the Epetra_Flops() object associated with this object, returns 0 if none.
Definition at line 92 of file Epetra_CompObject.h.
|
inline |
Resets the number of floating point operations to zero for this multi-vector.
Definition at line 98 of file Epetra_CompObject.h.
|
inline |
Returns the number of floating point operations with this multi-vector.
Definition at line 101 of file Epetra_CompObject.h.
|
inline |
Increment Flop count for this object.
Definition at line 107 of file Epetra_CompObject.h.
|
inline |
Increment Flop count for this object.
Definition at line 110 of file Epetra_CompObject.h.
|
inline |
Increment Flop count for this object.
Definition at line 113 of file Epetra_CompObject.h.
|
inline |
Increment Flop count for this object.
Definition at line 116 of file Epetra_CompObject.h.
|
inline |
Increment Flop count for this object.
Definition at line 119 of file Epetra_CompObject.h.
|
inline |
Definition at line 122 of file Epetra_CompObject.h.
|
protected |
Definition at line 131 of file Epetra_CompObject.h.