Public Member Functions | |
def | __init__ |
def | SetLabel |
def | Label |
def | SetTracebackMode |
def | GetTracebackMode |
def | GetTracebackStream |
def | ReportError |
def | __str__ |
def | |
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::Epetra::Object::__init__ | ( | self, | ||
args | ||||
) |
__init__(self, int TracebackModeIn = -1, bool set_label = True) -> Object __init__(self, char Label, int TracebackModeIn = -1) -> Object __init__(self, Object Object) -> Object Epetra_Object::Epetra_Object(const Epetra_Object &Object) Epetra_Object Copy Constructor. Makes an exact copy of an existing Epetra_Object instance.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, PyTrilinos::Epetra::Time, PyTrilinos::Epetra::MapColoring, PyTrilinos::Epetra::IntSerialDenseMatrix, PyTrilinos::Epetra::Epetra_IntSerialDenseMatrix, PyTrilinos::Epetra::IntSerialDenseVector, PyTrilinos::Epetra::Epetra_IntSerialDenseVector, PyTrilinos::Epetra::SerialDenseMatrix, PyTrilinos::Epetra::Epetra_SerialDenseMatrix, PyTrilinos::Epetra::SerialSymDenseMatrix, PyTrilinos::Epetra::SerialDenseVector, PyTrilinos::Epetra::Epetra_SerialDenseVector, PyTrilinos::Epetra::NumPyIntSerialDenseMatrix, PyTrilinos::Epetra::IntSerialDenseMatrix, PyTrilinos::Epetra::NumPyIntSerialDenseVector, PyTrilinos::Epetra::IntSerialDenseVector, PyTrilinos::Epetra::NumPySerialDenseMatrix, PyTrilinos::Epetra::SerialDenseMatrix, PyTrilinos::Epetra::NumPySerialDenseVector, PyTrilinos::Epetra::SerialDenseVector, PyTrilinos::Epetra::SerialComm, PyTrilinos::Epetra::Epetra_SerialDistributor, PyTrilinos::Epetra::MpiComm, PyTrilinos::Epetra::Epetra_MpiDistributor, PyTrilinos::Epetra::BlockMap, PyTrilinos::Epetra::Map, PyTrilinos::Epetra::LocalMap, PyTrilinos::Epetra::Import, PyTrilinos::Epetra::Export, PyTrilinos::Epetra::IntVector, PyTrilinos::Epetra::Epetra_IntVector, PyTrilinos::Epetra::MultiVector, PyTrilinos::Epetra::Epetra_MultiVector, PyTrilinos::Epetra::Vector, PyTrilinos::Epetra::Epetra_Vector, PyTrilinos::Epetra::FEVector, PyTrilinos::Epetra::Epetra_FEVector, PyTrilinos::Epetra::NumPyIntVector, PyTrilinos::Epetra::IntVector, PyTrilinos::Epetra::NumPyMultiVector, PyTrilinos::Epetra::MultiVector, PyTrilinos::Epetra::NumPyVector, PyTrilinos::Epetra::Vector, PyTrilinos::Epetra::NumPyFEVector, PyTrilinos::Epetra::FEVector, PyTrilinos::Epetra::CrsGraph, PyTrilinos::Epetra::OffsetIndex, PyTrilinos::Epetra::BasicRowMatrix, PyTrilinos::Epetra::CrsMatrix, PyTrilinos::Epetra::FECrsMatrix, PyTrilinos::Epetra::VbrMatrix, PyTrilinos::Epetra::FEVbrMatrix, PyTrilinos::Epetra::JadMatrix, PyTrilinos::Anasazi::EpetraMultiVec, PyTrilinos::Epetra::Time, PyTrilinos::Epetra::MapColoring, PyTrilinos::Epetra::IntSerialDenseMatrix, PyTrilinos::Epetra::Epetra_IntSerialDenseMatrix, PyTrilinos::Epetra::IntSerialDenseVector, PyTrilinos::Epetra::Epetra_IntSerialDenseVector, PyTrilinos::Epetra::SerialDenseMatrix, PyTrilinos::Epetra::Epetra_SerialDenseMatrix, PyTrilinos::Epetra::SerialSymDenseMatrix, PyTrilinos::Epetra::SerialDenseVector, PyTrilinos::Epetra::Epetra_SerialDenseVector, PyTrilinos::Epetra::NumPyIntSerialDenseMatrix, PyTrilinos::Epetra::IntSerialDenseMatrix, PyTrilinos::Epetra::NumPyIntSerialDenseVector, PyTrilinos::Epetra::IntSerialDenseVector, PyTrilinos::Epetra::NumPySerialDenseMatrix, PyTrilinos::Epetra::SerialDenseMatrix, PyTrilinos::Epetra::NumPySerialDenseVector, PyTrilinos::Epetra::SerialDenseVector, PyTrilinos::Epetra::SerialComm, PyTrilinos::Epetra::Epetra_SerialDistributor, PyTrilinos::Epetra::MpiComm, PyTrilinos::Epetra::Epetra_MpiDistributor, PyTrilinos::Epetra::BlockMap, PyTrilinos::Epetra::Map, PyTrilinos::Epetra::LocalMap, PyTrilinos::Epetra::Import, PyTrilinos::Epetra::Export, PyTrilinos::Epetra::IntVector, PyTrilinos::Epetra::Epetra_IntVector, PyTrilinos::Epetra::MultiVector, PyTrilinos::Epetra::Epetra_MultiVector, PyTrilinos::Epetra::Vector, PyTrilinos::Epetra::Epetra_Vector, PyTrilinos::Epetra::FEVector, PyTrilinos::Epetra::Epetra_FEVector, PyTrilinos::Epetra::NumPyIntVector, PyTrilinos::Epetra::IntVector, PyTrilinos::Epetra::NumPyMultiVector, PyTrilinos::Epetra::MultiVector, PyTrilinos::Epetra::NumPyVector, PyTrilinos::Epetra::Vector, PyTrilinos::Epetra::NumPyFEVector, PyTrilinos::Epetra::FEVector, PyTrilinos::Epetra::CrsGraph, PyTrilinos::Epetra::OffsetIndex, PyTrilinos::Epetra::BasicRowMatrix, PyTrilinos::Epetra::CrsMatrix, PyTrilinos::Epetra::FECrsMatrix, PyTrilinos::Epetra::VbrMatrix, PyTrilinos::Epetra::FEVbrMatrix, and PyTrilinos::Epetra::JadMatrix.
def PyTrilinos::Epetra::Object::__init__ | ( | self, | ||
args | ||||
) |
__init__(self, int TracebackModeIn = -1, bool set_label = True) -> Object __init__(self, char Label, int TracebackModeIn = -1) -> Object __init__(self, Object Object) -> Object Epetra_Object::Epetra_Object(const Epetra_Object &Object) Epetra_Object Copy Constructor. Makes an exact copy of an existing Epetra_Object instance.
Reimplemented in PyTrilinos::Anasazi::EpetraMultiVec, PyTrilinos::Epetra::Time, PyTrilinos::Epetra::MapColoring, PyTrilinos::Epetra::IntSerialDenseMatrix, PyTrilinos::Epetra::Epetra_IntSerialDenseMatrix, PyTrilinos::Epetra::IntSerialDenseVector, PyTrilinos::Epetra::Epetra_IntSerialDenseVector, PyTrilinos::Epetra::SerialDenseMatrix, PyTrilinos::Epetra::Epetra_SerialDenseMatrix, PyTrilinos::Epetra::SerialSymDenseMatrix, PyTrilinos::Epetra::SerialDenseVector, PyTrilinos::Epetra::Epetra_SerialDenseVector, PyTrilinos::Epetra::NumPyIntSerialDenseMatrix, PyTrilinos::Epetra::IntSerialDenseMatrix, PyTrilinos::Epetra::NumPyIntSerialDenseVector, PyTrilinos::Epetra::IntSerialDenseVector, PyTrilinos::Epetra::NumPySerialDenseMatrix, PyTrilinos::Epetra::SerialDenseMatrix, PyTrilinos::Epetra::NumPySerialDenseVector, PyTrilinos::Epetra::SerialDenseVector, PyTrilinos::Epetra::SerialComm, PyTrilinos::Epetra::Epetra_SerialDistributor, PyTrilinos::Epetra::MpiComm, PyTrilinos::Epetra::Epetra_MpiDistributor, PyTrilinos::Epetra::BlockMap, PyTrilinos::Epetra::Map, PyTrilinos::Epetra::LocalMap, PyTrilinos::Epetra::Import, PyTrilinos::Epetra::Export, PyTrilinos::Epetra::IntVector, PyTrilinos::Epetra::Epetra_IntVector, PyTrilinos::Epetra::MultiVector, PyTrilinos::Epetra::Epetra_MultiVector, PyTrilinos::Epetra::Vector, PyTrilinos::Epetra::Epetra_Vector, PyTrilinos::Epetra::FEVector, PyTrilinos::Epetra::Epetra_FEVector, PyTrilinos::Epetra::NumPyIntVector, PyTrilinos::Epetra::IntVector, PyTrilinos::Epetra::NumPyMultiVector, PyTrilinos::Epetra::MultiVector, PyTrilinos::Epetra::NumPyVector, PyTrilinos::Epetra::Vector, PyTrilinos::Epetra::NumPyFEVector, PyTrilinos::Epetra::FEVector, PyTrilinos::Epetra::CrsGraph, PyTrilinos::Epetra::OffsetIndex, PyTrilinos::Epetra::BasicRowMatrix, PyTrilinos::Epetra::CrsMatrix, PyTrilinos::Epetra::FECrsMatrix, PyTrilinos::Epetra::VbrMatrix, PyTrilinos::Epetra::FEVbrMatrix, PyTrilinos::Epetra::JadMatrix, PyTrilinos::Anasazi::EpetraMultiVec, PyTrilinos::Epetra::Time, PyTrilinos::Epetra::MapColoring, PyTrilinos::Epetra::IntSerialDenseMatrix, PyTrilinos::Epetra::Epetra_IntSerialDenseMatrix, PyTrilinos::Epetra::IntSerialDenseVector, PyTrilinos::Epetra::Epetra_IntSerialDenseVector, PyTrilinos::Epetra::SerialDenseMatrix, PyTrilinos::Epetra::Epetra_SerialDenseMatrix, PyTrilinos::Epetra::SerialSymDenseMatrix, PyTrilinos::Epetra::SerialDenseVector, PyTrilinos::Epetra::Epetra_SerialDenseVector, PyTrilinos::Epetra::NumPyIntSerialDenseMatrix, PyTrilinos::Epetra::IntSerialDenseMatrix, PyTrilinos::Epetra::NumPyIntSerialDenseVector, PyTrilinos::Epetra::IntSerialDenseVector, PyTrilinos::Epetra::NumPySerialDenseMatrix, PyTrilinos::Epetra::SerialDenseMatrix, PyTrilinos::Epetra::NumPySerialDenseVector, PyTrilinos::Epetra::SerialDenseVector, PyTrilinos::Epetra::SerialComm, PyTrilinos::Epetra::Epetra_SerialDistributor, PyTrilinos::Epetra::MpiComm, PyTrilinos::Epetra::Epetra_MpiDistributor, PyTrilinos::Epetra::BlockMap, PyTrilinos::Epetra::Map, PyTrilinos::Epetra::LocalMap, PyTrilinos::Epetra::Import, PyTrilinos::Epetra::Export, PyTrilinos::Epetra::IntVector, PyTrilinos::Epetra::Epetra_IntVector, PyTrilinos::Epetra::MultiVector, PyTrilinos::Epetra::Epetra_MultiVector, PyTrilinos::Epetra::Vector, PyTrilinos::Epetra::Epetra_Vector, PyTrilinos::Epetra::FEVector, PyTrilinos::Epetra::Epetra_FEVector, PyTrilinos::Epetra::NumPyIntVector, PyTrilinos::Epetra::IntVector, PyTrilinos::Epetra::NumPyMultiVector, PyTrilinos::Epetra::MultiVector, PyTrilinos::Epetra::NumPyVector, PyTrilinos::Epetra::Vector, PyTrilinos::Epetra::NumPyFEVector, PyTrilinos::Epetra::FEVector, PyTrilinos::Epetra::CrsGraph, PyTrilinos::Epetra::OffsetIndex, PyTrilinos::Epetra::BasicRowMatrix, PyTrilinos::Epetra::CrsMatrix, PyTrilinos::Epetra::FECrsMatrix, PyTrilinos::Epetra::VbrMatrix, PyTrilinos::Epetra::FEVbrMatrix, and PyTrilinos::Epetra::JadMatrix.
def PyTrilinos::Epetra::Object::__str__ | ( | self, | ||
args | ||||
) |
__str__(self) -> string Returns the results of ``Print()`` in a string, so that the ``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::Epetra::Object::__str__ | ( | self, | ||
args | ||||
) |
__str__(self) -> string Returns the results of ``Print()`` in a string, so that the ``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::Epetra::Object::GetTracebackMode | ( | args | ) |
GetTracebackMode() -> int int Epetra_Object::GetTracebackMode() Get the value of the Epetra_Object error report mode.
def PyTrilinos::Epetra::Object::GetTracebackMode | ( | args | ) |
GetTracebackMode() -> int int Epetra_Object::GetTracebackMode() Get the value of the Epetra_Object error report mode.
def PyTrilinos::Epetra::Object::GetTracebackStream | ( | args | ) |
GetTracebackStream() -> std::ostream std::ostream & Epetra_Object::GetTracebackStream() Get the output stream for error reporting.
def PyTrilinos::Epetra::Object::GetTracebackStream | ( | args | ) |
GetTracebackStream() -> std::ostream std::ostream & Epetra_Object::GetTracebackStream() Get the output stream for error reporting.
def PyTrilinos::Epetra::Object::Label | ( | self, | ||
args | ||||
) |
Label(self) -> char const char * Epetra_Object::Label() const Epetra_Object Label access funtion. Returns the string used to define this object.
Reimplemented in PyTrilinos::Epetra::BasicRowMatrix, PyTrilinos::Epetra::CrsMatrix, PyTrilinos::Epetra::VbrMatrix, PyTrilinos::Epetra::BasicRowMatrix, PyTrilinos::Epetra::CrsMatrix, and PyTrilinos::Epetra::VbrMatrix.
def PyTrilinos::Epetra::Object::Label | ( | self, | ||
args | ||||
) |
Label(self) -> char const char * Epetra_Object::Label() const Epetra_Object Label access funtion. Returns the string used to define this object.
Reimplemented in PyTrilinos::Epetra::BasicRowMatrix, PyTrilinos::Epetra::CrsMatrix, PyTrilinos::Epetra::VbrMatrix, PyTrilinos::Epetra::BasicRowMatrix, PyTrilinos::Epetra::CrsMatrix, and PyTrilinos::Epetra::VbrMatrix.
def PyTrilinos::Epetra::Object::Print | ( | self, | ||
args | ||||
) |
Print(self, PyObject pf = None) void Epetra_Object::Print(ostream &os) const Print object to an output stream Print method
def PyTrilinos::Epetra::Object::Print | ( | self, | ||
args | ||||
) |
Print(self, PyObject pf = None) void Epetra_Object::Print(ostream &os) const Print object to an output stream Print method
def PyTrilinos::Epetra::Object::ReportError | ( | self, | ||
args | ||||
) |
ReportError(self, string Message, int ErrorCode) -> int int Epetra_Object::ReportError(const string Message, int ErrorCode) const Error reporting method.
def PyTrilinos::Epetra::Object::ReportError | ( | self, | ||
args | ||||
) |
ReportError(self, string Message, int ErrorCode) -> int int Epetra_Object::ReportError(const string Message, int ErrorCode) const Error reporting method.
def PyTrilinos::Epetra::Object::SetLabel | ( | self, | ||
args | ||||
) |
SetLabel(self, char Label) void Epetra_Object::SetLabel(const char *const Label) Epetra_Object Label definition using char *. Defines the label used to describe the this object.
def PyTrilinos::Epetra::Object::SetLabel | ( | self, | ||
args | ||||
) |
SetLabel(self, char Label) void Epetra_Object::SetLabel(const char *const Label) Epetra_Object Label definition using char *. Defines the label used to describe the this object.
def PyTrilinos::Epetra::Object::SetTracebackMode | ( | args | ) |
SetTracebackMode(int TracebackModeValue) void Epetra_Object::SetTracebackMode(int TracebackModeValue) Set the value of the Epetra_Object error traceback report mode. Sets the integer error traceback behavior. TracebackMode controls whether or not traceback information is printed when run time integer errors are detected: <= 0 - No information report = 1 - Fatal (negative) values are reported >= 2 - All values (except zero) reported. Default is set to 1.
def PyTrilinos::Epetra::Object::SetTracebackMode | ( | args | ) |
SetTracebackMode(int TracebackModeValue) void Epetra_Object::SetTracebackMode(int TracebackModeValue) Set the value of the Epetra_Object error traceback report mode. Sets the integer error traceback behavior. TracebackMode controls whether or not traceback information is printed when run time integer errors are detected: <= 0 - No information report = 1 - Fatal (negative) values are reported >= 2 - All values (except zero) reported. Default is set to 1.