svalinn / dagmc_stats

Tool for calculating and reporting statistics about DAGMC models
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

Write entity specific output file #37

Closed kkiesling closed 5 years ago

kkiesling commented 5 years ago

I am not sure if this would actually be helpful, but for stats such as tris/vertex (maybe less so this one), tris/surf, and surfs/vol, writing an output file that lists the surf or volume ID or entity handle and the number of tris, surfs, etc. This could be an optional output file but might be helpful if the user wants to know the data for a specific surface or volume. I think it would be a little too much to do the tris/vertex, but tris/surf and surfs/vol could be doable.

Example output:

Surface-ID   Triangles/surface
    1          12
    2          45
    3          5
...    ...

Another way to get this information would be to make it an argparse option to specify a specific volume or surface ID and then print to screen the # triangles, surfaces, etc.

kkiesling commented 5 years ago

I am also trying to look at PRs #26, #27, and #28 to see if the information is essentially already reported out.