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

[Core][TrilinosApplication] Adding IsDistributedSpace to TrilinosSpace and UblasSpacein order to recognize statically #11846

Merged

Conversation

loumalouomega
Copy link
Member

📝 Description

This PR makes changes to two header files: trilinos_space.h in the TrilinosApplication directory and ublas_space.h in the kratos/spaces directory. Here's a summary of the changes:

  1. In trilinos_space.h:

    • Added a new member function IsDistributedSpace() to the TrilinosSpace class.
    • This function is declared as static constexpr bool and returns true, indicating that the TrilinosSpace is distributed.
  2. In ublas_space.h:

    • Added a new member function IsDistributedSpace() to the UblasSpace class.
    • This function is declared as static constexpr bool and returns false, indicating that the UblasSpace is not distributed.
    • Replace typedef by using
    • Replace tabulations for spaces in header
    • Adding some documentation in class

Overall, this PR introduces a new function IsDistributedSpace() to both TrilinosSpace and UblasSpace classes, allowing the code to determine whether the space is distributed or not.

🆕 Changelog

@loumalouomega loumalouomega merged commit 1a4ca38 into master Nov 24, 2023
16 checks passed
@loumalouomega loumalouomega deleted the core+trilinos/static-method-IsDistributedSpace-spaces branch November 24, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants