Skip to content
Snippets Groups Projects
Commit 9c03b7b1 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Added further MPI types

parent c8145d41
No related branches found
No related tags found
No related merge requests found
......@@ -123,6 +123,8 @@ void PlumedCommunicator::Request::wait(Status&s){
template<> MPI_Datatype PlumedCommunicator::getMPIType<float>(){ return MPI_FLOAT;}
template<> MPI_Datatype PlumedCommunicator::getMPIType<double>(){ return MPI_DOUBLE;}
template<> MPI_Datatype PlumedCommunicator::getMPIType<int>() { return MPI_INT;}
template<> MPI_Datatype PlumedCommunicator::getMPIType<char>() { return MPI_CHAR;}
template<> MPI_Datatype PlumedCommunicator::getMPIType<unsigned>() { return MPI_UNSIGNED;}
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment