28 #ifndef vtkMaterialInterfacePieceTransaction_h 29 #define vtkMaterialInterfacePieceTransaction_h 51 this->Initialize(type, remoteProc);
56 this->Data[TYPE] = (
int)type;
57 this->Data[REMOTE_PROC] = remoteProc;
60 bool Empty()
const {
return this->Data[TYPE] == 0; }
65 this->Data[REMOTE_PROC] = -1;
70 buf[0] = this->Data[TYPE];
71 buf[1] = this->Data[REMOTE_PROC];
76 this->Data[TYPE] = buf[0];
77 this->Data[REMOTE_PROC] = buf[1];
80 char GetType()
const {
return (
char)this->Data[TYPE]; }
VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT std::ostream & operator<<(std::ostream &sout, const vtkMaterialInterfacePieceTransaction &ta)
#define VTKPVVTKEXTENSIONSFILTERSMATERIALINTERFACE_EXPORT
void Initialize(char type, int remoteProc)
~vtkMaterialInterfacePieceTransaction()
int GetRemoteProc() const
Helper to the transaction matrix.
vtkMaterialInterfacePieceTransaction(char type, int remoteProc)
vtkMaterialInterfacePieceTransaction()