← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Remove old function from DofMap.

 

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

changeset:   5451:3c1e18de43282905bd5312a62b737e3ebbd75d3d
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Dec 24 14:03:47 2008 +0000
files:       dolfin/fem/DirichletBC.cpp dolfin/fem/DofMap.cpp dolfin/fem/DofMap.h dolfin/fem/PeriodicBC.cpp dolfin/function/Function.cpp dolfin/function/Function.h dolfin/function/FunctionSpace.cpp dolfin/function/FunctionSpace.h dolfin/function/SpecialFunctions.cpp
description:
Remove old function from DofMap.


changeset:   5450:b36222005c32e021258f50335f0da09725855c35
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Dec 24 13:18:30 2008 +0000
files:       dolfin/function/FunctionSpace.cpp dolfin/function/FunctionSpace.h
description:
Make FunctionSpaces cache subspaces.

This means that FunctionSpace.extract_sub_space(..) will create a new sub space only if it hasn't already been created. It's now possble to do

  Function x, Function y;
  for(uint i=0; i<10; ++i)
  {
    x = U[0];
    y = U[1];
  }

Creating a SubSpace will still create a new sub space.


changeset:   5449:a8cf96f245f67020286d993cfe5681dffd52196b
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Dec 24 10:24:18 2008 +0000
files:       dolfin/function/FunctionSpace.cpp dolfin/function/FunctionSpace.h dolfin/function/SubSpace.cpp
description:
Return smart pointer for FunctionSpace::::extract_sub_space instead of a plain pointer.

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