<e53cbae4a6d3a1b3b1083d8ac6088d0a4418b916.e53cbae4a6d3a1b3b1083d8ac6088d0a4418b916.ffc_form_e53cbae4a6d3a1b3b1083d8ac6088d0a4418b916_finite_element_0;
proxy of <Swig Object of type 'boost::shared_ptr<
ffc_form_e53cbae4a6d3a1b3b1083d8ac6088d0a4418b916_finite_element_0 > *' at
0x347c3c0> >
On Wednesday September 14 2011 01:06:53 Johannes Ring wrote:
> I get the same error with the development version of SWIG.
Could you add these print statements:
=== modified file 'site-packages/ dolfin/ functions/ functionspace. py' dolfin/ functions/ functionspace. py 2011-09-09 13:48:18 dolfin/ functions/ functionspace. py 2011-09-14 15:54:08
ufc_element, ufc_dofmap = jit(self. _ufl_element)
--- site-packages/
+0000
+++ site-packages/
+0000
@@ -72,6 +72,11 @@
# Instantiate DOLFIN FiniteElement and DofMap __class_ _ __class_ _.__bases_ _
self. _dolfin_ element = cpp.FiniteEleme nt(ufc_ element)
dolfin_ dofmap = cpp.DofMap( ufc_dofmap, mesh)
+ print ufc_element
+ print
+ print ufc_element.
+ print
+ print ufc_element.
And run demo_poisson.py and report the output?
I get:
<e53cbae4a6d3a1 b3b1083d8ac6088 d0a4418b916. e53cbae4a6d3a1b 3b1083d8ac6088d 0a4418b916. ffc_form_ e53cbae4a6d3a1b 3b1083d8ac6088d 0a4418b916_ finite_ element_ 0; e53cbae4a6d3a1b 3b1083d8ac6088d 0a4418b916_ finite_ element_ 0 > *' at
proxy of <Swig Object of type 'boost::shared_ptr<
ffc_form_
0x347c3c0> >
<class b3b1083d8ac6088 d0a4418b916. e53cbae4a6d3a1b 3b1083d8ac6088d 0a4418b916. ffc_form_ e53cbae4a6d3a1b 3b1083d8ac6088d 0a4418b916_ finite_ element_ 0'>
'e53cbae4a6d3a1
(<class 'ufc.ufc. finite_ element' >,)
Which indidacates it is a shared_ptr version of a ufc::finite_ element.
Hopefully you get something different...
Johan