← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Return shared_ptr to FunctionSpaces from Form rather than references.

 

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

changeset:   7189:3782f3222642
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Sep 30 16:52:58 2009 +0100
files:       demo/pde/poisson/cpp/main.cpp dolfin/fem/Assembler.cpp dolfin/fem/Form.cpp dolfin/fem/Form.h dolfin/fem/SystemAssembler.cpp dolfin/fem/VariationalProblem.cpp dolfin/function/SpecialFunctions.h
description:
Return shared_ptr to FunctionSpaces from Form rather than references.

This makes it possible to initialise Functions without fear that the function space will go out of scope. See VariationalProblem.


changeset:   7188:437ee8b12a41
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Sep 30 16:04:46 2009 +0100
files:       demo/pde/poisson/cpp/main.cpp dolfin/function/Function.cpp dolfin/function/Function.h
description:
Remove some code.


changeset:   7187:0dcf7442d97e
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Sep 30 16:00:05 2009 +0100
files:       dolfin/function/Function.cpp dolfin/function/Function.h
description:
Comment out local (cell) Function::interpolate functions.

Add some code to Function::restrict. It's so simple, can it possibly be correct?

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