← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Added SubFunction to dolfin_function.h so swig interface compile\nRename of function.in to function._in\nAdded __contains__ in FunctionSpace so one can write u in V.\nAdded % import ufc.h in dolfin_dunction_pre.i as dolfin::function inherits ufc::function\nand last added ufc-1 as swig dependencies so swig find ufc.h

 

On Monday 03 November 2008 13:07:38 Garth N. Wells wrote:
> DOLFIN wrote:
> > One or more new changesets pushed to the primary dolfin repository.
> > A short summary of the last three changesets is included below.
> >
> > changeset:   5069:fbbadf8f8b7ac1d0320109bb0c1e0f3a90a32f8a
> > tag:         tip
> > user:        "Johan Hake <hake@xxxxxxxxx>"
> > date:        Sun Nov 02 16:16:54 2008 +0100
> > files:       dolfin/function/dolfin_function.h dolfin/scons.cfg
> > dolfin/swig/dolfin_docstrings.i dolfin/swig/dolfin_function_post.i
> > dolfin/swig/dolfin_function_pre.i dolfin/swig/dolfin_headers.i
> > description:
> > Added SubFunction to dolfin_function.h so swig interface compile\nRename
> > of function.in to function._in\nAdded __contains__ in FunctionSpace so
> > one can write u in V.\nAdded % import ufc.h in dolfin_dunction_pre.i as
> > dolfin::function inherits ufc::function\nand last added ufc-1 as swig
> > dependencies so swig find ufc.h
>
> Related to this change, I'm getting the swig error
>
>      dolfin/swig/dolfin_function_pre.i:2: Error: Unable to find 'ufc.h'


Hmmm, this should work...

I added 'ufc-1' to SwigDependencies so simula_scons would pick up the 
dependency. I guess that ufc.h is located in a directory that is included 
anyway on my computer, and thats why I did not get the error.

Johannes any clue why this is not working? 

Johan

> Garth
>
> > changeset:   5068:d8ae3ee4805da0688a02cca6089b0d652c68ab68
> > user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> > date:        Sun Nov 02 16:06:26 2008 +0000
> > files:       demo/fem/assembly/cpp/main.cpp
> > demo/nls/nonlinearpoisson/cpp/main.cpp dolfin/function/Function.cpp
> > description:
> > Get nonlinear Poisson demo working.
> >
> >
> > changeset:   5067:a0683b4740df5cb3da8bd8875482fd431db2684b
> > user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> > date:        Sun Nov 02 13:21:43 2008 +0000
> > files:       demo/fem/simple/cpp/main.cpp demo/function/eval/cpp/main.cpp
> > dolfin/mf/MatrixFactory.cpp description:
> > Get MatrixFactory working and get some more demos working.
> >
> > ----------------------------------------------------------------------
> > For more details, visit http://www.fenics.org/hg/dolfin
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev




References