ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
View Changeset
|
Root Listing
root
/
group
/
trunk
/
mdtools
/
mpi_implementation
/
mpiSimulation.cpp
Revision:
134
Committed:
Fri Oct 11 15:09:09 2002 UTC
(22 years, 6 months ago) by
chuckv
File size:
252 byte(s)
Log Message:
*** empty log message ***
File Contents
#
Content
1
#include <mpi.h>
2
#include <mpiSimulation.hpp>
3
4
mpiSimulation::mpiSimulation(void)
5
{
6
7
MPI::Init();
8
9
numberProcessors = MPI::COMM_WORLD.Get_size();
10
myNode = MPI::COMM_WORLD.Get_rank();
11
MPI::Get_processor_name(processorName,processorNameLen);
12
}
13
14