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

describe: provide more tag info #77

Closed
cwsmith opened this issue Dec 11, 2023 · 3 comments
Closed

describe: provide more tag info #77

cwsmith opened this issue Dec 11, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@cwsmith
Copy link

cwsmith commented Dec 11, 2023

In the describe tool, we should add the following info on each tag:

  • number of entities with a given values (this would require additional user input: tag name and value)
  • min and max across all processes
  • type (int, bool, float, real, etc.)
  • change ‘size per entity’ → ‘number of components’
@cwsmith cwsmith added the enhancement New feature or request label Dec 11, 2023
@Angelyr
Copy link
Collaborator

Angelyr commented Dec 11, 2023

I can start this soon.

@Angelyr
Copy link
Collaborator

Angelyr commented Dec 18, 2023

I have the tool ready, but I need a clarification on printing number of entities:

  1. Should I use std::cin for the input or arguments? How would std::cin work with mpi?
  2. Ask for the rank or sum all the ranks?
  3. Ask for dimension or sum all the dimensions?

@cwsmith
Copy link
Author

cwsmith commented Dec 18, 2023

Great. Thank you.

  1. Let's assume for now the user would run describe once just to see what fields exist and then additional times to extract field specific data (for now the number of entities with a given value). For the additional runs they would append a tag name, dimension, and value to the command line arguments.
  2. Sum across all ranks. We should only count 'owned' entities with the specified value.
  3. Good question. The dimension should also be provided by the user on the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants