use MPI_DATAYPE_NULL thx stefanozampini

This commit is contained in:
Joachim Schöberl 2020-08-04 23:50:11 +02:00
parent 42a01b5c21
commit 3864eb2e35

View File

@ -22,7 +22,7 @@ namespace netgen
{ {
static MPI_Datatype type = MPI_DATATYPE_NULL; static MPI_Datatype type = MPI_DATATYPE_NULL;
static MPI_Datatype htype = MPI_DATATYPE_NULL; static MPI_Datatype htype = MPI_DATATYPE_NULL;
if (!type) if (type == MPI_DATATYPE_NULL)
{ {
MeshPoint hp; MeshPoint hp;
int blocklen[] = { 3, 1, 1 }; int blocklen[] = { 3, 1, 1 };