← Back to team overview

dolfin team mailing list archive

Re: swig error

 

On Wednesday 07 October 2009 20:00:49 Garth N. Wells wrote:
> Something is going wrong with Swig. Below is the error that I get.

I do not get this.

I suppose you do not have GMP? Then I think the director typemap for SubDomain 
double *y kicks in. 

I will see if we can make the typemap a bit more specific. For example 
activate it in mesh_pre and deactivate it in mesh_post.

Johan

> Garth
> 
> 
> dolfin/swig/cpp_wrap.cc: In member function ‘virtual void
> SwigDirector_ODE::f(const dolfin::real*, dolfin::real, dolfin::real*)’:
> dolfin/swig/cpp_wrap.cc:5074: error: ‘class SwigDirector_ODE’ has no
> member named ‘geometric_dimension’
> dolfin/swig/cpp_wrap.cc: In member function ‘virtual void
> SwigDirector_ODE::M(const dolfin::real*, dolfin::real*, const
> dolfin::real*, dolfin::real)’:
> dolfin/swig/cpp_wrap.cc:5142: error: ‘class SwigDirector_ODE’ has no
> member named ‘geometric_dimension’
> dolfin/swig/cpp_wrap.cc:5152: error: ‘class SwigDirector_ODE’ has no
> member named ‘geometric_dimension’
> dolfin/swig/cpp_wrap.cc: In member function ‘virtual void
> SwigDirector_ODE::J(const dolfin::real*, dolfin::real*, const
> dolfin::real*, dolfin::real)’:
> dolfin/swig/cpp_wrap.cc:5188: error: ‘class SwigDirector_ODE’ has no
> member named ‘geometric_dimension’
> dolfin/swig/cpp_wrap.cc:5198: error: ‘class SwigDirector_ODE’ has no
> member named ‘geometric_dimension’
> dolfin/swig/cpp_wrap.cc: In member function ‘virtual void
> SwigDirector_ODE::JT(const dolfin::real*, dolfin::real*, const
> dolfin::real*, dolfin::real)’:
> dolfin/swig/cpp_wrap.cc:5234: error: ‘class SwigDirector_ODE’ has no
> member named ‘geometric_dimension’
> dolfin/swig/cpp_wrap.cc:5244: error: ‘class SwigDirector_ODE’ has no
> member named ‘geometric_dimension’
> scons: *** [dolfin/swig/cpp_wrap.os] Error 1
> scons: building terminated because of errors.
> dolfin/swig/cpp_wrap.os failed: Error 1
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
> 


Follow ups

References