← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Add 1D elements for scalars to element library, might fix

 

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

changeset:   3986:c2f2061fcf5faa932bed2905e50b0991fc494b97
tag:         tip
user:        "Anders Logg <logg@xxxxxxxxx>"
date:        Sun Apr 13 22:29:20 2008 +0200
files:       dolfin/elements/element_library.inc dolfin/elements/elements.py dolfin/elements/ffc_00.h dolfin/elements/ffc_01.h dolfin/elements/ffc_02.h dolfin/elements/ffc_03.h dolfin/elements/ffc_04.h dolfin/elements/ffc_05.h dolfin/elements/ffc_06.h dolfin/elements/ffc_07.h dolfin/elements/ffc_08.h dolfin/elements/ffc_09.h dolfin/elements/ffc_10.h dolfin/elements/ffc_11.h dolfin/elements/ffc_12.h dolfin/elements/ffc_13.h dolfin/elements/ffc_14.h dolfin/elements/ffc_15.h dolfin/elements/ffc_16.h dolfin/elements/ffc_17.h dolfin/elements/ffc_18.h dolfin/elements/ffc_19.h dolfin/elements/ffc_20.h dolfin/elements/ffc_21.h dolfin/elements/ffc_22.h dolfin/elements/ffc_23.h dolfin/elements/ffc_24.h dolfin/elements/ffc_L2proj_00.h dolfin/elements/ffc_L2proj_01.h dolfin/elements/ffc_L2proj_02.h dolfin/elements/ffc_L2proj_03.h dolfin/elements/ffc_L2proj_04.h dolfin/elements/ffc_L2proj_05.h dolfin/elements/ffc_L2proj_06.h dolfin/elements/ffc_L2proj_07.h dolfin/elements/ffc_L2proj_08.h dolfin/elements/ffc_L2proj_09.h dolfin/elements/ffc_L2proj_10.h dolfin/elements/ffc_L2proj_11.h dolfin/elements/ffc_L2proj_12.h dolfin/elements/ffc_L2proj_13.h dolfin/elements/ffc_L2proj_14.h dolfin/elements/ffc_L2proj_15.h dolfin/elements/ffc_L2proj_16.h dolfin/elements/ffc_L2proj_17.h dolfin/elements/ffc_L2proj_18.h dolfin/elements/ffc_L2proj_19.h dolfin/elements/ffc_L2proj_20.h dolfin/elements/ffc_L2proj_21.h dolfin/elements/ffc_L2proj_22.h dolfin/elements/ffc_L2proj_23.h dolfin/elements/ffc_L2proj_24.h dolfin/elements/generate_elements.py dolfin/elements/generate_projections.py dolfin/elements/projection_library.inc
description:
Add 1D elements for scalars to element library, might fix
plotting problem with Viper in 1D. Vector elements on intervals
seems to be broken in FFC.


changeset:   3985:5dae421dd620ce7f0f82fffedf5bcd221da94ed5
parent:      3984:bdb5a0987ef166d0775f5dec72cf331597faf61c
parent:      3982:74c268839124cac6f8da7cbde4a955e6b4961517
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Sun Apr 13 16:54:32 2008 +0200
files:       
description:
merge


changeset:   3984:bdb5a0987ef166d0775f5dec72cf331597faf61c
user:        "Martin Sandve Alnæs <martinal@xxxxxxxxx>"
date:        Sun Apr 13 16:29:10 2008 +0200
files:       dolfin/swig/dolfin_la_post.i
description:
Added python wrapper for down_cast.
Usage:

u = Vector()
v = down_cast(u, PETScVector)

is the same as

Vector u;
PETScVector & v = u.down_cast<PETScVector>();

If people are happy with this, we can remove the
"as_foo" functions I added earlier.

The implementation uses a small python dict to map the
class argument to a helper function that calls
the right instantiation of the template member
function GenericTensor::down_cast<T>().

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