mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Implement S2 directional sampling in the random ray solver (#3811)
This commit is contained in:
parent
f007c85a50
commit
417343c920
10 changed files with 220 additions and 6 deletions
|
|
@ -326,6 +326,8 @@ void get_run_parameters(pugi::xml_node node_base)
|
|||
RandomRay::sample_method_ = RandomRaySampleMethod::PRNG;
|
||||
} else if (temp_str == "halton") {
|
||||
RandomRay::sample_method_ = RandomRaySampleMethod::HALTON;
|
||||
} else if (temp_str == "s2") {
|
||||
RandomRay::sample_method_ = RandomRaySampleMethod::S2;
|
||||
} else {
|
||||
fatal_error("Unrecognized sample method: " + temp_str);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue