mpiwrapper

This commit is contained in:
Joachim Schöberl 2019-02-11 22:17:02 +01:00
parent 9b8f273b14
commit a1a16ef8f0
2 changed files with 3 additions and 3 deletions

View File

@ -274,7 +274,7 @@ namespace netgen
void UpdateTopology ();
void DoArchive (Archive & archive);
MPI_Comm GetCommunicator() const;
NgMPI_Comm GetCommunicator() const;
virtual ~Ngx_Mesh();

View File

@ -61,8 +61,8 @@ namespace netgen
SetGlobalMesh (mesh);
}
MPI_Comm Ngx_Mesh :: GetCommunicator() const
{ return Valid() ? mesh->GetCommunicator() : MPI_COMM_NULL; }
NgMPI_Comm Ngx_Mesh :: GetCommunicator() const
{ return Valid() ? mesh->GetCommunicator() : NgMPI_Comm(MPI_COMM_NULL); }
void Ngx_Mesh :: SaveMesh (ostream & ost) const
{