Skip to content

How do you specify coordinates for MueLu (Zoltan)? #13593

Answered by cgcgcg
abodado asked this question in Q&A
Discussion options

You must be logged in to vote

Hm. Could you run this through a debugger? We should have code that wraps the Tpetra MV to Xpetra for you automatically:

if (userList.isParameter("Coordinates")) {
RCP<Xpetra::MultiVector<typename Teuchos::ScalarTraits<Scalar>::coordinateType, LO, GO, NO> > coordinates = Teuchos::null;
try {
coordinates = TpetraMultiVector_To_XpetraMultiVector<typename Teuchos::ScalarTraits<Scalar>::coordinateType, LO, GO, NO>(userList.get<RCP<Tpetra::MultiVector<typename Teuchos::ScalarTraits<Scalar>::coordinateType, LocalOrdinal, GlobalOrdinal, Node> > >("Coordinates"));

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@cgcgcg
Comment options

cgcgcg Nov 13, 2024
Collaborator

@abodado
Comment options

@cgcgcg
Comment options

cgcgcg Nov 13, 2024
Collaborator

Answer selected by abodado
@abodado
Comment options

@cgcgcg
Comment options

cgcgcg Nov 13, 2024
Collaborator

@abodado
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants