← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Added support for f.split()

 

One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   5262:0e349fbe09ce4179252652fe5c1d58725951bc3f
tag:         tip
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Sat Dec 06 12:05:42 2008 +0100
files:       demo/pde/stokes/taylor-hood/python/demo.py dolfin/function/SpecialFunctions.h dolfin/swig/dolfin_function_pre.i site-packages/dolfin/function.py
description:
Added support for f.split()
 - Renamed operator[] to f._sub instead of f.sub
 - f.sub(i) now returns an instantiated sub function
 - f.split() uses f.sub() to return a tuple of all sub functions
 - stoke/taylor-hood demo now runs.


changeset:   5261:81b05dcdaa9618ada8749e82ae52342ac4e52225
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Sat Dec 06 11:59:50 2008 +0100
files:       site-packages/dolfin/constant.py
description:
Fixed bug in Constant
 - To compile a vector function with compile_function we need to pass
   a tuple not a list. The latter will create len(cppexpr) number of
   scalar functions.


changeset:   5260:e1b927206b5f1bbdce9fd2d19eafc08b554a3b0c
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Sat Dec 06 11:57:09 2008 +0100
files:       site-packages/dolfin/compile_function.py
description:
Better argument checks in compile_functions

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin


Follow ups