Fixed zero-padding for directory names in VisItDataWriter
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 250
- Forks
- 89
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
Hi developers,
I am using the VisItDataWriter class to output the visualization data. I noticed that the maximum allowable number of processors and number of time steps are both set to 99999 as there is hard-coded zero-padding with a length of 5 for the directory names. Is it possible to add options to the class for users to change the length of zero-padding?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the VisItDataWriter class and the code that creates its processor and time-step directories. Trace where the hard-coded five-character padding is applied, then determine how configurable padding options should affect both directory names. Done means users can choose the padding length instead of being limited to 99999 processors or time steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- hpc
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100