47 for (
int iproc=0; iproc < NumProc; iproc++) {
51 os <<
"This will print out one line for each of the " << NumProc <<
" processes " << endl ;
54 os <<
"Hello. I am process " << MyPID << endl ;
const Epetra_Comm * Comm_
virtual void Barrier() const =0
virtual int MyPID() const =0
Newp_Hello(const Epetra_Comm &Comm)
Creates a Newp_Hello object and fills with default values.
virtual void Print(ostream &os) const
virtual int NumProc() const =0