Commit 519cc964 authored by Burlen Loring's avatar Burlen Loring

Merge branch 'develop' into 'master'

bug fixes for 3.2.1

See merge request !234
parents 228f5014 f9f15a10
#include "senseiConfig.h"
#include "VTKUtils.h"
#include "MPIUtils.h"
#include "MeshMetadata.h"
......@@ -1183,6 +1184,14 @@ void HexCell(long cid, unsigned char *pCta, vtkIdType *pClocs, vtkIdType *pCids)
int WriteDomainDecomp(MPI_Comm comm, const sensei::MeshMetadataPtr &md,
const std::string fileName)
{
#if !defined(ENABLE_VTK_IO)
(void)comm;
(void)md;
(void)fileName;
SENSEI_ERROR("VTK XML I/O capabilites are required by WriteDomainDecomp"
" but are not present in this build")
return -1;
#else
int rank = 0;
MPI_Comm_rank(comm, &rank);
......@@ -1291,6 +1300,7 @@ int WriteDomainDecomp(MPI_Comm comm, const sensei::MeshMetadataPtr &md,
ug->Delete();
return 0;
#endif
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment