← Back to team overview

dolfin team mailing list archive

[Bug 735785] Re: Cannot create EpetraVector using Epetra_FEVector::Map()

 

** Patch added: "0001-Use-BlockMap-rather-than-Map-to-create-Epetra-vector.patch"
   https://bugs.launchpad.net/bugs/735785/+attachment/1911064/+files/0001-Use-BlockMap-rather-than-Map-to-create-Epetra-vector.patch

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/735785

Title:
  Cannot create EpetraVector using Epetra_FEVector::Map()

Status in DOLFIN:
  New

Bug description:
  Since Epetra_FEVector::Map() returns an Epetra_BlockMap, while the
  EpetraVector constructor takes an Epetra_Map, it is not possible to
  create an EpetraVector with the same layout without copying.

  The attached patch changes the interface to use Epetra_BlockMap. Since
  Epetra_Map inherits from Epetra_BlockMap, existing callers are
  unchanged.



References