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

List of all members.

Public Member Functions

def __init__
def GetFlops
def SetFlops
def UpdateFlops

Public Attributes

 this

Detailed Description

Class to count flops.

Marzio Sala, SNL 9214

C++ includes: MLAPI_CompObject.h 

Constructor & Destructor Documentation

def PyTrilinos.ML.CompObject.__init__ (   self,
  args 
)
__init__(MLAPI::CompObject self) -> CompObject

MLAPI::CompObject::CompObject()

Constructor, set counter to 0.0. 

Reimplemented in PyTrilinos.ML.InverseOperator, PyTrilinos.ML.PyMatrix, PyTrilinos.ML.Operator, and PyTrilinos.ML.MultiVector.


Member Function Documentation

def PyTrilinos.ML.CompObject.GetFlops (   self,
  args 
)
GetFlops(CompObject self) -> double

double
MLAPI::CompObject::GetFlops() const

Returns the internal counter of flops. 
def PyTrilinos.ML.CompObject.SetFlops (   self,
  args 
)
SetFlops(CompObject self, double Flops)

void
MLAPI::CompObject::SetFlops(double Flops) const

Sets internal counter to Flops. 
def PyTrilinos.ML.CompObject.UpdateFlops (   self,
  args 
)
UpdateFlops(CompObject self, double Flops)

void
MLAPI::CompObject::UpdateFlops(double Flops) const

Updates internal counter by summing Flops. 

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