mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
use MPI_DATAYPE_NULL thx stefanozampini
This commit is contained in:
parent
7dbd9e6b54
commit
42a01b5c21
@ -20,8 +20,8 @@ namespace netgen
|
|||||||
#ifdef PARALLEL
|
#ifdef PARALLEL
|
||||||
MPI_Datatype MeshPoint :: MyGetMPIType ( )
|
MPI_Datatype MeshPoint :: MyGetMPIType ( )
|
||||||
{
|
{
|
||||||
static MPI_Datatype type = NULL;
|
static MPI_Datatype type = MPI_DATATYPE_NULL;
|
||||||
static MPI_Datatype htype = NULL;
|
static MPI_Datatype htype = MPI_DATATYPE_NULL;
|
||||||
if (!type)
|
if (!type)
|
||||||
{
|
{
|
||||||
MeshPoint hp;
|
MeshPoint hp;
|
||||||
|
Loading…
Reference in New Issue
Block a user