llnl / llnl/SAMRAI

Fixed zero-padding for directory names in VisItDataWriter

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.