Skip to content
Snippets Groups Projects
Commit 10d59bbf authored by Claudine Bon's avatar Claudine Bon
Browse files

ifdef MZone* with HAVE_CGNS for now

parent eb873fb5
No related branches found
No related tags found
No related merge requests found
...@@ -173,7 +173,7 @@ class Block ...@@ -173,7 +173,7 @@ class Block
// Destructor // Destructor
~Block() ~Block()
{ {
free(array); std::free(array);
} }
friend class Pool<T>; friend class Pool<T>;
......
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
// //
// GModelIO_CGNS.cpp - Copyright (C) 2008 S. Guzik, C. Geuzaine, J.-F. Remacle // GModelIO_CGNS.cpp - Copyright (C) 2008 S. Guzik, C. Geuzaine, J.-F. Remacle
#include "GModel.h"
#include "Message.h"
#if defined(HAVE_LIBCGNS)
#ifdef _OPENMP #ifdef _OPENMP
#include <omp.h> #include <omp.h>
#else #else
...@@ -24,14 +29,10 @@ ...@@ -24,14 +29,10 @@
#include <vector> #include <vector>
#include <queue> #include <queue>
#include "GModel.h"
#include "Message.h"
#include "MZone.h" #include "MZone.h"
#include "MZoneBoundary.h" #include "MZoneBoundary.h"
#include "CGNSOptions.h" #include "CGNSOptions.h"
#if defined(HAVE_LIBCGNS)
#include <cgnslib.h> #include <cgnslib.h>
//--Error function for the CGNS library //--Error function for the CGNS library
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
// //
// MZone.cpp - Copyright (C) 2008 S. Guzik, C. Geuzaine, J.-F. Remacle // MZone.cpp - Copyright (C) 2008 S. Guzik, C. Geuzaine, J.-F. Remacle
#if defined(HAVE_LIBCGNS)
#include <iostream> // DBG #include <iostream> // DBG
#include "MZone.h" #include "MZone.h"
...@@ -341,3 +343,5 @@ template void MZone<2>::add_elements_in_entity ...@@ -341,3 +343,5 @@ template void MZone<2>::add_elements_in_entity
template void MZone<3>::add_elements_in_entity template void MZone<3>::add_elements_in_entity
<GRegion*> <GRegion*>
(GRegion* entity, const int partition); (GRegion* entity, const int partition);
#endif
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
// //
// MZoneBoundary.cpp - Copyright (C) 2008 S. Guzik, C. Geuzaine, J.-F. Remacle // MZoneBoundary.cpp - Copyright (C) 2008 S. Guzik, C. Geuzaine, J.-F. Remacle
#if defined(HAVE_LIBCGNS)
#include <iostream> // DBG #include <iostream> // DBG
#include <limits> // ? #include <limits> // ?
...@@ -921,3 +923,5 @@ MZoneBoundary<3>::GlobalVertexData<MFace>::FaceDataB::FaceDataB() ...@@ -921,3 +923,5 @@ MZoneBoundary<3>::GlobalVertexData<MFace>::FaceDataB::FaceDataB()
template class MZoneBoundary<2>; template class MZoneBoundary<2>;
template class MZoneBoundary<3>; template class MZoneBoundary<3>;
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment