mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
needed for curved elements in parallel
This commit is contained in:
parent
150c7c1f10
commit
b90dbcfbe5
@ -36,6 +36,19 @@ namespace netgen
|
||||
{ return MPI_DOUBLE; }
|
||||
|
||||
|
||||
template <int S> class Vec;
|
||||
template <>
|
||||
inline MPI_Datatype MyGetMPIType<Vec<3> > ()
|
||||
{
|
||||
static MPI_Datatype MPI_T = 0;
|
||||
if (!MPI_T)
|
||||
{
|
||||
MPI_Type_contiguous ( 3, MPI_DOUBLE, &MPI_T);
|
||||
MPI_Type_commit ( &MPI_T );
|
||||
}
|
||||
return MPI_T;
|
||||
};
|
||||
|
||||
|
||||
inline void MyMPI_Send (int i, int dest, int tag)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user