Set to Epetra_FEVector with Epetra_BlockMap
Created by: RATATATO
It seems not to work Epetra_FEVector::ReplaceGlobalValues on Epetra_FEVector with Epetra_BlockMap.
Epetra_FEVector::ReplaceGlobalValues (and Epetra_FEVector::SumIntoGlobalValues) sets only the head of a block.
- It is a bug? or
- It is correct, so we should not use Epetra_BlockMap to Epetra_FEVector?
An example is here: https://gist.github.com/RATATATO/457f25c1e5960632378e7559cfeb0225
The output is as the follow:
ReplaceGlobalValues: 1 0 0 2 0 0 ReplaceGlobalValue: 1 2 4 8 16 32