Skip to content
Snippets Groups Projects
Commit 69e62949 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

dg : complete swig bindings

parent 8a9120e9
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,7 @@
#include "Bindings.h"
template<>
void linearSystem<double>::registerBindings(binding *b){
void linearSystemBase::registerBindings(binding *b){
methodBinding *cm;
classBinding *cb = b->addClass<linearSystemBase>("linearSystemBase");
cb->setDescription("Base class for linear systems");
......
......@@ -23,6 +23,7 @@ class linearSystemBase {
virtual int systemSolve() = 0;
void setParameter (std::string key, std::string value);
virtual void insertInSparsityPattern(int _row, int _col){};
static void registerBindings (binding*);
};
template <class scalar>
......@@ -35,7 +36,6 @@ class linearSystem : public linearSystemBase {
virtual void addToRightHandSide(int _row, const scalar &val) = 0;
virtual void getFromRightHandSide(int _row, scalar &val) const = 0;
virtual void getFromSolution(int _row, scalar &val) const = 0;
static void registerBindings (binding*);
virtual double normInfRightHandSide() const = 0;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment