Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tpetra: Promote "mapPairIsFitted" out of Ifpack2 into Tpetra::Map #437

Closed
mhoemmen opened this issue Jun 13, 2016 · 2 comments
Closed

Tpetra: Promote "mapPairIsFitted" out of Ifpack2 into Tpetra::Map #437

mhoemmen opened this issue Jun 13, 2016 · 2 comments

Comments

@mhoemmen
Copy link
Contributor

@trilinos/tpetra @trilinos/ifpack2

Promote the "mapPairIsFitted" function out of Ifpack2::LocalFilter into Tpetra::Map. This will help us fix issues like #435, #436, and ultimately #385 and #424.

For Tpetra::Map instances map1 and map2, we say that map1 is fitted to map2 (on the calling process), when the initial indices of map1 (on the calling process) are the same and in the same order as those of map2. "Fittedness" is entirely a local (per MPI process) property. The predicate "map1 is fitted to map2?" is not symmetric. For example, map2 may have more entries than map1.

If the domain Map of a matrix is fitted to the matrix's column Map on a process, then one can compute (non-transpose) matrix-vector multiply without copying the local entries of the source (multi)vector on that process.

@mhoemmen
Copy link
Contributor Author

Tpetra::Details::isLocallyFitted (see Trilinos/packages/tpetra/core/src/Tpetra_Map_decl.hpp) provides the local version of this predicate.

@mhoemmen
Copy link
Contributor Author

mhoemmen commented Nov 2, 2016

This is related to #767.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant