← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Prepare for probable removal of Function::Functon().

 



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:   7190:f53c5b481d28
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Sep 30 17:07:18 2009 +0100
files:       dolfin/fem/Form.cpp dolfin/fem/Form.h dolfin/fem/UFC.cpp dolfin/function/SpecialFunctions.cpp dolfin/function/SpecialFunctions.h
description:
Prepare for probable removal of Function::Functon().

Make appropriate class in SpecialFunctions subclasses of Expression.


DOLFIN can be compiled now without the constructor Function::Function(), but the demos can't. Need to think about how functions can be best initialised in the generated code.

Garth


changeset:   7189:3782f3222642
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.

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