-
- Downloads
Use std::variant in intersection to store a face, a face vector, or none
The common case of an intersection is when it has only one face. For this case we use a variant that either holds one face, a vector of faces, or none. This way the common case is stored in the stack whereas the general case is still possible but needs dynamic allocation
parent
008a3826
Branches
Tags
Showing
- dune/grid/uggrid/uggridintersectioniterators.hh 12 additions, 3 deletionsdune/grid/uggrid/uggridintersectioniterators.hh
- dune/grid/uggrid/uggridintersections.cc 52 additions, 54 deletionsdune/grid/uggrid/uggridintersections.cc
- dune/grid/uggrid/uggridintersections.hh 27 additions, 13 deletionsdune/grid/uggrid/uggridintersections.hh
Loading
Please register or sign in to comment