← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Automatically interpolate user-defined functions on assignment

 



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:   5853:f1ef6132a568d5a56e5c70b17ce118c19bfa961c
tag:         tip
user:        Anders Logg <logg@xxxxxxxxx>
date:        Wed Mar 11 23:01:49 2009 +0100
files:       ChangeLog demo/pde/poisson/cpp/Poisson.h dolfin/function/Function.cpp sandbox/misc/Poisson.form sandbox/misc/Poisson.h sandbox/misc/README sandbox/misc/SConstruct sandbox/misc/cpp/Poisson.form sandbox/misc/cpp/Poisson.h sandbox/misc/cpp/SConstruct sandbox/misc/cpp/main.cpp sandbox/misc/main.cpp
description:
Automatically interpolate user-defined functions on assignment


I thought that we decided that this wasn't a good thing to do? With assignment, I expect the objects to be identical. I would prefer

  Function u;
  u.interpolate(v);

Garth



changeset:   5852:43a3c8802c5d79b138d41c3111ceac03d1a64be0
user:        Anders Logg <logg@xxxxxxxxx>
date:        Wed Mar 11 19:15:01 2009 +0100
files:       dolfin/function/SpecialFunctions.cpp dolfin/function/SpecialFunctions.h dolfin/swig/dolfin_docstrings.i dolfin/swig/dolfin_shared_ptr_classes.i site-packages/dolfin/specialfunctions.py
description:
Add Python wrapper for MeshCoordinates function:

  mesh = UnitSquare(32, 32)
  x = MeshCoordinates(mesh)
  plot(x)


changeset:   5851:52dde26b547629e5a03eeb97c0b82845ca0d30c5
user:        Anders Logg <logg@xxxxxxxxx>
date:        Wed Mar 11 18:53:15 2009 +0100
files:       ChangeLog dolfin/function/Data.cpp dolfin/function/Data.h dolfin/function/SpecialFunctions.cpp dolfin/function/SpecialFunctions.h
description:
Add new built-in function MeshCoordinates, useful in ALE simulations

----------------------------------------------------------------------
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




Follow ups

References