← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Fix SLEPc in parallel.

 

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

changeset:   6844:b3290120ea74fb457b73bebe926ab379a2e348d7
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Mon Aug 24 15:33:09 2009 +0100
files:       demo/pde/elasticity/cpp/main.cpp dolfin/la/SLEPcEigenSolver.cpp
description:
Fix SLEPc in parallel.


changeset:   6843:bcbcd5996a48f2b31f080cd9b714f17c8dc7c5ed
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Mon Aug 24 14:51:12 2009 +0100
files:       dolfin/function/Function.cpp
description:
Throw error if attempting to access non-const vector of a sub-function.


changeset:   6842:4e1891827208fcab16bc207076618e6b4285aed6
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Mon Aug 24 14:46:15 2009 +0100
files:       demo/pde/elasticity/cpp/main.cpp dolfin/fem/DofMap.cpp dolfin/fem/DofMap.h dolfin/function/Function.cpp dolfin/function/Function.h dolfin/function/FunctionSpace.cpp dolfin/function/FunctionSpace.h dolfin/function/SpecialFunctions.h
description:
Work on copying of sub functions.

Creating a Function u0

  Function u0 = u[0];

npw invovles a deep copy, i.e. u0 will have its own vector which will be shorter than that of u, as it was before the recent re-design.

Recall that copies can be avoided by doing

  Function& u0 = u[0];

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