

Public Member Functions | |
| def | __init__ |
| def | SetLabel |
| def | Label |
| def | SetTracebackMode |
| def | GetTracebackMode |
| def | GetTracebackStream |
| def | ReportError |
| def | __str__ |
| def | |
Public Attributes | |
| this | |
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.
| 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.
| 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.
| def PyTrilinos.NOX.Epetra.Object.GetTracebackMode | ( | args | ) |
GetTracebackMode() -> int
| def PyTrilinos.NOX.Epetra.Object.GetTracebackStream | ( | args | ) |
GetTracebackStream() -> std::ostream &
| def PyTrilinos.NOX.Epetra.Object.Label | ( | self, | |
| args | |||
| ) |
Label(Object self) -> char const *
Reimplemented in PyTrilinos.NOX.Epetra.VbrMatrix, PyTrilinos.NOX.Epetra.CrsMatrix, and PyTrilinos.NOX.Epetra.BasicRowMatrix.
| 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)
| def PyTrilinos.NOX.Epetra.Object.SetTracebackMode | ( | args | ) |
SetTracebackMode(int TracebackModeValue)
1.7.6.1