[Trilinos-Users] Question on Epetra_BlockMap with variable element length

Heroux, Mike MHeroux at csbsju.edu
Thu Jan 27 11:23:53 MST 2011


Dave,

BlockMap was not designed to handle a block entry size of 0.  I am not sure what would be required to do so.  Might it be possible to keep the ID of the self, then check the ID list and ignore the self ID?

This would allow you to proceed.

Mike


On 1/27/11 12:11 PM, "Littlewood, David John" <djlittl at sandia.gov> wrote:

Greetings,

When constructing an Epetra_BlockMap with a variable element length, is it possible to have an element with length zero?

I am using a map to store the list of neighbors in a peridynamics simulation, and it is possible to have zero neighbors.  It appears that one cannot construct an Epetra_BlockMap with an element that has zero length (throws exception).

Thanks,
Dave

________________________________
_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov
http://software.sandia.gov/mailman/listinfo/trilinos-users




More information about the Trilinos-Users mailing list