← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Small formatting fix.

 

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

changeset:   5452:78e0a7fb7be7e83dca1abd5bd6e7d259349c9cd8
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Wed Dec 24 14:29:32 2008 +0000
files:       dolfin/function/SpecialFunctions.cpp
description:
Small formatting fix.


changeset:   5451:3c1e18de43282905bd5312a62b737e3ebbd75d3d
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.

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