Fixing redundancy in MatrixEpetra::addToCoefficients
Index vectors were passed by value into the method and, additionally, copied element by element into new vectors, to remove the const attribute (which is no longer necessary), before calling the Epetra method. This resulted in two additional copy operations for each vector.
Please register or sign in to comment