PyTrilinos  Development
 All Classes Functions
Public Member Functions | Public Attributes
PyTrilinos.Epetra.CompObject Class Reference
Inheritance diagram for PyTrilinos.Epetra.CompObject:
Inheritance graph
[legend]
Collaboration diagram for PyTrilinos.Epetra.CompObject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def SetFlopCounter
def UnsetFlopCounter
def GetFlopCounter
def ResetFlops
def Flops
def UpdateFlops

Public Attributes

 this

Detailed Description

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.

C++ includes: Epetra_CompObject.h 

Constructor & Destructor Documentation

def PyTrilinos.Epetra.CompObject.__init__ (   self,
  args 
)

Member Function Documentation

def PyTrilinos.Epetra.CompObject.Flops (   self,
  args 
)
Flops(CompObject self) -> double

double
Epetra_CompObject::Flops() const

Returns the number of floating point operations with this multi-
vector. 
def PyTrilinos.Epetra.CompObject.GetFlopCounter (   self,
  args 
)
GetFlopCounter(CompObject self) -> FLOPS

Epetra_Flops* Epetra_CompObject::GetFlopCounter() const

Get the pointer to the Epetra_Flops() object associated with this
object, returns 0 if none. 
def PyTrilinos.Epetra.CompObject.ResetFlops (   self,
  args 
)
ResetFlops(CompObject self)

void
Epetra_CompObject::ResetFlops() const

Resets the number of floating point operations to zero for this multi-
vector. 
def PyTrilinos.Epetra.CompObject.SetFlopCounter (   self,
  args 
)
SetFlopCounter(CompObject self, FLOPS FlopCounter_in)
SetFlopCounter(CompObject self, CompObject CompObject)

void
Epetra_CompObject::SetFlopCounter(const Epetra_CompObject &CompObject)

Set the internal Epetra_Flops() pointer to the flop counter of another
Epetra_CompObject. 
UnsetFlopCounter(CompObject self)

void
Epetra_CompObject::UnsetFlopCounter()

Set the internal Epetra_Flops() pointer to 0 (no flops counted). 
def PyTrilinos.Epetra.CompObject.UpdateFlops (   self,
  args 
)
UpdateFlops(CompObject self, long Flops_in)
UpdateFlops(CompObject self, long long Flops_in)
UpdateFlops(CompObject self, double Flops_in)

void
Epetra_CompObject::UpdateFlops(float Flops_in) const

Increment Flop count for this object. 

The documentation for this class was generated from the following file:
 All Classes Functions