Skip to content

to_silo() rewrite#1508

Merged
JustinPrivitera merged 120 commits intodevelopfrom
task/JustinPrivitera/01_27_26/to_silo_modern_rewrite
Mar 30, 2026
Merged

to_silo() rewrite#1508
JustinPrivitera merged 120 commits intodevelopfrom
task/JustinPrivitera/01_27_26/to_silo_modern_rewrite

Conversation

@JustinPrivitera
Copy link
Copy Markdown
Member

@JustinPrivitera JustinPrivitera commented Jan 29, 2026

rewrite to_silo
make it much faster
remove support for strangely formatted matsets
add support for all specset layouts

Resolves #1362
Resolves #1470
Resolves #1496

@JustinPrivitera JustinPrivitera marked this pull request as ready for review March 25, 2026 23:09
@JustinPrivitera JustinPrivitera requested a review from cyrush March 25, 2026 23:09
Copy link
Copy Markdown
Member

@cyrush cyrush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, code is easier to understand and comments are great.
Thanks for this!

index_t next_slot_index = slot_index;
for(const auto& zone_mix_mat : elem_mat_map)
// num_elems by num_materials mf vals vectors
std::vector<std::vector<std::vector<float64>>> mf_vals(num_elems,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

triple std vector scares me a little bit for the future, but we will figure it out.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

species make things complicated :)

@JustinPrivitera JustinPrivitera merged commit e126b3c into develop Mar 30, 2026
25 checks passed
@JustinPrivitera JustinPrivitera deleted the task/JustinPrivitera/01_27_26/to_silo_modern_rewrite branch March 30, 2026 20:08
@cyrush
Copy link
Copy Markdown
Member

cyrush commented Mar 30, 2026

Awesome work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants