Commit a85612bb authored by Praetorius, Simon's avatar Praetorius, Simon

changed type-traits since problems with bullxmpi

parent aafd52ee
......@@ -80,7 +80,7 @@ namespace mpi14
// 2. send size of buffer (with MPI_Ibsend)
// 3. send buffer
template <class Data,
REQUIRES( not is_mpi_type<Data> )>
REQUIRES( !is_mpi_type<Data> )>
void send(Data const& data, int to, int tag = 0) const;
// -------------------------------------------------------------------------------------
......@@ -123,7 +123,7 @@ namespace mpi14
// 2. send size of buffer (with MPI_Ibsend)
// 3. send buffer (with MPI_Ibsend)
template <class Data,
REQUIRES( not is_mpi_type<Data> )>
REQUIRES( !is_mpi_type<Data> )>
Request isend(Data const& data, int to, int tag = 0) const;
// -------------------------------------------------------------------------------------
......@@ -171,7 +171,7 @@ namespace mpi14
// receive complex datatype
template <class Data,
REQUIRES( not is_mpi_type<Data> )>
REQUIRES( !is_mpi_type<Data> )>
MPI_Status recv(Data& data, int from, int tag = 0) const;
// -------------------------------------------------------------------------------------
......@@ -207,7 +207,7 @@ namespace mpi14
// receive complex datatype asynchronousely
// Wait for data, by calling Future::test() or Future::wait().
template <class Data,
REQUIRES( not is_mpi_type<Data> )>
REQUIRES( !is_mpi_type<Data> )>
Request irecv(Data& data, int from, int tag = 0) const;
......
......@@ -33,7 +33,7 @@ void Communicator::send(std::vector<T> const& vec, int to, int tag) const
// 2. send size of buffer (with MPI_Ibsend)
// 3. send buffer
template <class Data,
REQUIRES( not is_mpi_type<Data> )>
REQUIRES( !is_mpi_type<Data> )>
void Communicator::send(Data const& data, int to, int tag) const
{
auto buffer = serialization::store(data);
......@@ -102,7 +102,7 @@ Request Communicator::isend(std::vector<T> const& vec, int to, int tag) const
// 2. send size of buffer (with MPI_Ibsend)
// 3. send buffer (with MPI_Ibsend)
template <class Data,
REQUIRES( not is_mpi_type<Data> )>
REQUIRES( !is_mpi_type<Data> )>
Request Communicator::isend(Data const& data, int to, int tag) const
{
check_buffers();
......@@ -158,7 +158,7 @@ MPI_Status Communicator::recv(std::vector<T>& vec, int from, int tag) const
// receive complex datatype
template <class Data,
REQUIRES( not is_mpi_type<Data> )>
REQUIRES( !is_mpi_type<Data> )>
MPI_Status Communicator::recv(Data& data, int from, int tag) const
{
MPI_Status status;
......@@ -213,7 +213,7 @@ Request Communicator::irecv(std::vector<T>& vec, int from, int tag) const
template <class Data,
REQUIRES( not is_mpi_type<Data> )>
REQUIRES( !is_mpi_type<Data> )>
Request Communicator::irecv(Data& data, int from, int tag) const
{
return {RecvDynamicSize(MPI_BYTE,from,tag,comm_,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment