dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #23248
[Bug 735785] Re: Cannot create EpetraVector using Epetra_FEVector::Map()
** Changed in: dolfin
Status: Fix Committed => Fix Released
--
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:
Fix Released
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