← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Added NonlinearProblem to directors.i, PyDOLFIN no longer complains about F(u) and J not being supplied by user.

 

Quoting DOLFIN <dolfin@xxxxxxxxxx>:

The demo
src/demo/nls/nonlinearpoisson/python/demo.py

now works. However, in the form() function of NonlinearProblem I call
cpp_assemble() directly instead of assemble(). This has something to do with how
references work, I think. Still room for improvement of this demo.

Kristian


> One or more new changesets pushed to the primary dolfin repository.
> A short summary of the last three changesets is included below.
> 
> changeset:   3452:44e94b868ca473f050bf02d606179e0161299d12
> tag:         tip
> user:        "Kristian Oelgaard <k.b.oelgaard@xxxxxxxxxx>"
> date:        Fri Dec 07 10:31:41 2007 +0100
> files:       src/demo/nls/nonlinearpoisson/python/demo.py
> src/demo/pde/convection-diffusion/python/demo.py src/pydolfin/directors.i
> description:
> Added NonlinearProblem to directors.i, PyDOLFIN no longer complains about
> F(u) and J not being supplied by user.
> 
> 
> changeset:   3451:fcc7cac23d6593220dc454c4b4e2d77e3be5b2ef
> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> date:        Thu Dec 06 17:48:45 2007 +0000
> files:       src/kernel/fem/Assembler.cpp src/kernel/fem/DofMap.cpp
> src/kernel/fem/DofMapSet.cpp src/kernel/fem/SparsityPatternBuilder.cpp
> src/kernel/fem/dolfin/DofMap.h src/kernel/fem/dolfin/DofMapSet.h
> src/kernel/fem/dolfin/SparsityPatternBuilder.h src/kernel/fem/dolfin/UFC.h
> description:
> Avoid direct use of ufc::dof_map in SparsityPatternBuilder.
> 
> 
> changeset:   3450:1a056de2f45469925c27fad80f33add542fc6016
> parent:      3448:fefedfd3be229569eee7c8c5f4f4cd752465307b
> parent:      3449:850619679ca47d0d90a55de5102426cc7be255ef
> user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
> date:        Thu Dec 06 14:31:17 2007 +0000
> files:       
> description:
> merge.
> 
> ----------------------------------------------------------------------
> 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
> 




References