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

List of all members.

Public Member Functions

def __init__
def SetLabel
def Label
def SetTracebackMode
def GetTracebackMode
def GetTracebackStream
def ReportError
def __str__
def Print

Public Attributes

 this

Detailed Description

The base Epetra class.
    
The Epetra_Object class provides capabilities common to all Epetra
objects, such as a label that identifies an object instance, constant
definitions, enum types.  In C++, it supports a ``Print()`` method
that takes an output stream as an argument.  In the python
implementation for this and all derived classes, this method takes an
optional file object argument whose default value is standard out.

Constructor & Destructor Documentation

def PyTrilinos.NOX.Epetra.Object.__init__ (   self,
  args 
)
__init__(Epetra_Object self, int TracebackModeIn=-1, bool set_label=True) -> Object
__init__(Epetra_Object self, char const *const Label, int TracebackModeIn=-1) -> Object
__init__(Epetra_Object self, Object Object) -> Object

The base Epetra class.
    
The Epetra_Object class provides capabilities common to all Epetra
objects, such as a label that identifies an object instance, constant
definitions, enum types.  In C++, it supports a ``Print()`` method
that takes an output stream as an argument.  In the python
implementation for this and all derived classes, this method takes an
optional file object argument whose default value is standard out.

Reimplemented in PyTrilinos.NOX.Epetra.JadMatrix, PyTrilinos.NOX.Epetra.FEVbrMatrix, PyTrilinos.NOX.Epetra.VbrMatrix, PyTrilinos.NOX.Epetra.FECrsMatrix, PyTrilinos.NOX.Epetra.CrsMatrix, PyTrilinos.NOX.Epetra.BasicRowMatrix, PyTrilinos.NOX.Epetra.OffsetIndex, PyTrilinos.NOX.Epetra.CrsGraph, PyTrilinos.NOX.Epetra.MapColoring, PyTrilinos.NOX.Epetra.Export, PyTrilinos.NOX.Epetra.Import, PyTrilinos.NOX.Epetra.LocalMap, PyTrilinos.NOX.Epetra.Map, PyTrilinos.NOX.Epetra.BlockMap, PyTrilinos.NOX.Epetra.MpiDistributor, PyTrilinos.NOX.Epetra.MpiComm, PyTrilinos.NOX.Epetra.Epetra_SerialDistributor, PyTrilinos.NOX.Epetra.SerialComm, and PyTrilinos.NOX.Epetra.Time.


Member Function Documentation

def PyTrilinos.NOX.Epetra.Object.__str__ (   self,
  args 
)
__str__(Object self) -> PyObject *

Returns the results of ``Print()`` in a string, so that
the python ``print`` command will work on ``Epetra`` objects.  The
``Print()`` methods are designed to run correctly in parallel, so do
not execute ``print`` on an Epetra object conditionally on the
processor number.  For example, do not do

  ``if comm.MyPID() == 0: print epetra_obj``

or it will hang your code.
GetTracebackMode() -> int
GetTracebackStream() -> std::ostream &
def PyTrilinos.NOX.Epetra.Object.Label (   self,
  args 
)
def PyTrilinos.NOX.Epetra.Object.Print (   self,
  args 
)
Print(Object self, PyObject * pf=None)
def PyTrilinos.NOX.Epetra.Object.ReportError (   self,
  args 
)
ReportError(Object self, string const Message, int ErrorCode) -> int
def PyTrilinos.NOX.Epetra.Object.SetLabel (   self,
  args 
)
SetLabel(Object self, char const *const Label)
SetTracebackMode(int TracebackModeValue)

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