// generate the vector.
if (allow_different_maps == false)
{
- if (local_range() != v.local_range())
+ if (vector->Map().SameAs(v.vector->Map()) == false)
{
vector.reset();
communicator.reset (Utilities::Trilinos::
}
else if (fast == false)
{
+ // old and new vectors
+ // have exactly the
+ // same map, i.e. size
+ // and parallel
+ // distribution
int ierr;
- Assert (vector->Map().SameAs(v.vector->Map()) == true,
- ExcMessage ("The Epetra maps in the assignment operator ="
- " do not match, even though the local_range "
- " seems to be the same. Check vector setup!"));
ierr = vector->GlobalAssemble (last_action);
AssertThrow (ierr == 0, ExcTrilinosError(ierr));
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams