dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #22056
[Bug 735785] [NEW] Cannot create EpetraVector using Epetra_FEVector::Map()
Public bug reported:
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.
** Affects: dolfin
Importance: Undecided
Status: New
--
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.
Follow ups
References