← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Make PETScVector::get(double*, uint, const uint*) const retrieve values across processes.

 

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

changeset:   6819:ee9bb522a9b8e556241f7c4b1eec574f505a999f
tag:         tip
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Thu Aug 20 16:02:22 2009 +0100
files:       dolfin/function/Function.cpp dolfin/la/GenericVector.h dolfin/la/PETScVector.cpp dolfin/la/PETScVector.h
description:
Make PETScVector::get(double*, uint, const uint*) const retrieve values across processes.

This function is inevitably expensive, even if most entries live on the local process. It should be called for as large blocks as possible.

Add function PETScVector::get_local(.....). This function is more efficient and can be called when you're sure that the entries reside on the local process.


changeset:   6818:7291675e5f91477570ea389559cee54acae49a24
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Thu Aug 20 14:52:16 2009 +0100
files:       demo/pde/elastodynamics/cpp/ElastoDynamics.ufl demo/pde/elastodynamics/cpp/main.cpp dolfin/la/EpetraVector.cpp dolfin/la/EpetraVector.h dolfin/la/GenericVector.h dolfin/la/MTL4Vector.cpp dolfin/la/MTL4Vector.h dolfin/la/PETScVector.cpp dolfin/la/PETScVector.h dolfin/la/Vector.h dolfin/la/uBLASVector.cpp dolfin/la/uBLASVector.h
description:
Some const fixes in GenericVector.

Add warning when set/get(double) are called on distributed vectors.


changeset:   6817:a265338b3f3ed6f44b5924f3970651cd9fcc9dbe
parent:      6816:80d67c479ab6da09a53187237700ebc4e7604717
parent:      6815:4c19d74cf1b0d8e2a27ff1529c6d4ab9d3ba2a96
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Thu Aug 20 14:37:40 2009 +0200
files:       
description:
merge

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