mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 13:50:33 +05:00
Merge branch 'add_forgotten_isend' into 'master'
add forgotten isend See merge request jschoeberl/netgen!221
This commit is contained in:
commit
6d874bece8
@ -165,6 +165,14 @@ namespace ngcore
|
|||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<typename T, typename T2 = decltype(GetMPIType<T>())>
|
||||||
|
MPI_Request ISend (const FlatArray<T> & s, int dest, int tag) const
|
||||||
|
{
|
||||||
|
MPI_Request request;
|
||||||
|
MPI_Isend (s.Data(), s.Size(), GetMPIType<T>(), dest, tag, comm, &request);
|
||||||
|
return request;
|
||||||
|
}
|
||||||
|
|
||||||
template<typename T, typename T2 = decltype(GetMPIType<T>())>
|
template<typename T, typename T2 = decltype(GetMPIType<T>())>
|
||||||
MPI_Request IRecv (T & val, int src, int tag) const
|
MPI_Request IRecv (T & val, int src, int tag) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user