[Debian-astro-commits] [gyoto] 165/221: Remove NumericalMetricLorene::getFileName(); complete gyoto_lorene Python extension.

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Fri May 22 20:52:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

thibaut pushed a commit to branch master
in repository gyoto.

commit 1b064a9fcd21e588ead7e4f7860c72695bdab375
Author: Thibaut Paumard <paumard at users.sourceforge.net>
Date:   Sat Dec 20 22:39:04 2014 +0100

    Remove NumericalMetricLorene::getFileName(); complete gyoto_lorene Python extension.
---
 include/GyotoNumericalMetricLorene.h | 1 -
 lib/NumericalMetricLorene.C          | 5 -----
 python/gyoto_lorene.i                | 7 +++++--
 3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/include/GyotoNumericalMetricLorene.h b/include/GyotoNumericalMetricLorene.h
index 93e04ac..d963e49 100644
--- a/include/GyotoNumericalMetricLorene.h
+++ b/include/GyotoNumericalMetricLorene.h
@@ -103,7 +103,6 @@ class Gyoto::Metric::NumericalMetricLorene
   std::vector<double> refineIntegStep() const;
   void refineIntegStep(std::vector<double> const&);
 
-  char const * getFileName() const;
   Lorene::Vector** getShift_tab() const;
   Lorene::Scalar** getLapse_tab() const;
   Lorene::Sym_tensor** getGamcon_tab() const;
diff --git a/lib/NumericalMetricLorene.C b/lib/NumericalMetricLorene.C
index e90e180..4f3de8f 100644
--- a/lib/NumericalMetricLorene.C
+++ b/lib/NumericalMetricLorene.C
@@ -266,11 +266,6 @@ void NumericalMetricLorene::setMetricSource() {
 
 }
 
-char const *  NumericalMetricLorene::getFileName() const 
-{
-  GYOTO_DEBUG << endl; 
-  return filename_; }
-
 Sym_tensor** NumericalMetricLorene::getGamcon_tab() const {
   GYOTO_DEBUG << endl;
   return gamcon_tab_;}
diff --git a/python/gyoto_lorene.i b/python/gyoto_lorene.i
index af4b992..0f41c74 100644
--- a/python/gyoto_lorene.i
+++ b/python/gyoto_lorene.i
@@ -1,6 +1,9 @@
 %module(docstring="The Gyoto Lorene plug-in") gyoto_lorene
 %import gyoto.i
+
 %{
+
+#define GYOTO_NO_DEPRECATED
 #include "GyotoWorldline.h"
 #include "GyotoPhoton.h"
 #include "GyotoUniformSphere.h"
@@ -19,6 +22,6 @@
 %array_class(double, array_double)
 %array_class(double, array_unsigned_long)
 
-
-   //GyotoSmPtrClassDerived(Metric, NumericalMetricLorene)
 GyotoSmPtrClassDerived(Metric, RotStar3_1)
+GyotoSmPtrClassDerived(Metric, NumericalMetricLorene)
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/gyoto.git



More information about the Debian-astro-commits mailing list