← Back to team overview

dolfin team mailing list archive

Re: [HG dolfin] Rewrite elasticity demo for new interface.

 

On Sat, Apr 21, 2007 at 07:31:58PM +0200, Garth N. Wells wrote:
> Should
> 
>   DiscreteFunction::interpolate(real* values)
> 
> be working for vector-valued elements? The VTK output for the elasticity 
> demo doesn't look right.
> 
> Garth

It "should" work but it's not been tested, so I'd be surprised if it
worked. The elasticity demo compiles, runs and computes something, but
I haven't looked at the numbers. Also, one of the boundary conditions
is commented out (for no other reason than I didn't get around to
fixing it yet).

I'll be trying to get it working, but if you spot the problem just let
me know.

/Anders


> 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:   2892:3e819bb24a338aebd069fe83e3c4a75d03350556
> >tag:         tip
> >user:        "Anders Logg <logg@xxxxxxxxx>"
> >date:        Sat Apr 21 01:53:25 2007 +0200
> >files:       src/demo/pde/elasticity/Elasticity.h 
> >src/demo/pde/elasticity/main.cpp src/kernel/fem/BoundaryCondition.cpp 
> >src/kernel/function/ConstantFunction.cpp src/kernel/pde/LinearPDE.cpp 
> >src/kernel/pde/NonlinearPDE.cpp
> >description:
> >Rewrite elasticity demo for new interface.
> >
> >
> >changeset:   2891:67544746e97a9889437c5635486d5dcfad7a8543
> >user:        "Anders Logg <logg@xxxxxxxxx>"
> >date:        Fri Apr 20 12:39:04 2007 +0200
> >files:       src/demo/pde/elasticity/Elasticity.h src/sandbox/bdm/Makefile 
> >src/sandbox/bdm/MixedPoisson.form src/sandbox/bdm/MixedPoisson.h 
> >src/sandbox/bdm/main.cpp
> >description:
> >Add BDM sandbox
> >
> >
> >changeset:   2890:d0f39513b2412481cb38cbe21c6403462a0c6e8f
> >user:        "Anders Logg <logg@xxxxxxxxx>"
> >date:        Thu Apr 19 23:33:26 2007 +0200
> >files:       src/demo/pde/elasticity/Elasticity.form 
> >src/demo/pde/elasticity/Elasticity.h 
> >src/demo/pde/elasticity/ElasticityStrain.form 
> >src/demo/pde/elasticity/ElasticityStrain.h 
> >src/demo/pde/elasticity/main.cpp src/demo/pde/poisson/Poisson.form
> >description:
> >Recompile Elasticity for with FFC including support for nested elements 
> >(compiles now).
> >
> >
> >----------------------------------------------------------------------
> >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