mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Implement depth-awareness when enforcing precedence between union/intersection operators (#3730)
Co-authored-by: GuySten <guyste@post.bgu.ac.il>
This commit is contained in:
parent
179048b801
commit
51ea89ccc8
4 changed files with 161 additions and 49 deletions
|
|
@ -123,11 +123,11 @@ private:
|
|||
//! BoundingBox if the particle is in a complex cell.
|
||||
BoundingBox bounding_box_complex(vector<int32_t> postfix) const;
|
||||
|
||||
//! Enfource precedence: Parenthases, Complement, Intersection, Union
|
||||
void add_precedence();
|
||||
//! Enforce precedence between intersections and unions
|
||||
void enforce_precedence();
|
||||
|
||||
//! Add parenthesis to enforce precedence
|
||||
int64_t add_parentheses(int64_t start);
|
||||
void add_parentheses(int64_t start);
|
||||
|
||||
//! Remove complement operators from the expression
|
||||
void remove_complement_ops();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue