From aad4566c4bcb9051c1506b6e0ca07e02be3afb81 Mon Sep 17 00:00:00 2001 From: Tuomas Karna <tuomas.karna@uclouvain.be> Date: Thu, 21 Jul 2011 17:26:24 +0000 Subject: [PATCH] dg: shallow water 3d update --- Solver/function.cpp | 2 +- gmshpy/gmshGeo.i | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Solver/function.cpp b/Solver/function.cpp index 77f3392fcb..d9e3b3b311 100644 --- a/Solver/function.cpp +++ b/Solver/function.cpp @@ -759,7 +759,7 @@ functionC::functionC (std::string file, std::string symbol, int nbCol, dlHandler = dlopen(file.c_str(), RTLD_NOW); callback = (void(*)(void))dlsym(dlHandler, symbol.c_str()); if(!callback) - Msg::Error("Cannot get the callback to the compiled C function"); + Msg::Error("Cannot get the callback to the compiled C function: %s", symbol.c_str()); #else Msg::Error("Cannot construct functionC without dlopen"); #endif diff --git a/gmshpy/gmshGeo.i b/gmshpy/gmshGeo.i index 2c4bb975d6..512424d74b 100644 --- a/gmshpy/gmshGeo.i +++ b/gmshpy/gmshGeo.i @@ -23,9 +23,12 @@ #include "MPrism.h" #include "MQuadrangle.h" #include "MLine.h" + #include "MEdge.h" + #include "MFace.h" #include "SVector3.h" #include "SPoint3.h" #include "SPoint2.h" + #include "SBoundingBox3d.h" %} namespace std { @@ -57,6 +60,9 @@ namespace std { %include "MPrism.h" %include "MQuadrangle.h" %include "MLine.h" +%include "MEdge.h" +%include "MFace.h" %include "SVector3.h" %include "SPoint3.h" %include "SPoint2.h" +%include "SBoundingBox3d.h" -- GitLab