Commit abbb1f28 authored by Christophe Geuzaine's avatar Christophe Geuzaine

cleanp

parent f84bcb85
Pipeline #1851 failed with stage
in 19 minutes and 37 seconds
......@@ -18,12 +18,6 @@
#include "SPoint3.h"
#include "SBoundingBox3d.h"
#ifdef HAVE_LIBCGNS
namespace CGNS {
#include <cgnslib.h>
}
#endif
template <class scalar> class simpleFunction;
class FM_Internals;
......@@ -121,10 +115,9 @@ class GModel {
void _createFMInternals();
void _deleteFMInternals();
#if defined(HAVE_LIBCGNS)
int _readCGNSStructured(const std::string& name);
int _readCGNSUnstructured(const std::string& name);
#endif
// CGNS helpers
int _readCGNSStructured(const std::string &name);
int _readCGNSUnstructured(const std::string &name);
// characteristic length (mesh size) fields
FieldManager *_fields;
......
......@@ -3201,6 +3201,10 @@ int GModel::writeCGNS(const std::string &name, int zoneDefinition,
#else
int GModel::_readCGNSUnstructured(const std::string& fileName){}
int GModel::_readCGNSStructured(const std::string &name){}
int GModel::readCGNS(const std::string &name)
{
Msg::Error("This version of Gmsh was compiled without CGNS support");
......
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