TOC PREV NEXT

Moritz Geometry Editor


Avoiding Large Polygonalization Times


Although it is a powerful method, it requires much more time than other methods. The processing time increases quickly with the number of objects in the cell description. Consider the orange air cell shown in wireframe in this figureDetector Spheres Link The cell lies between an outer sphere and an inner sphere enclosing a target model and excludes a ring of spheres introduced as tally volumes. As each of the tally spheres is added to the collection of triangles, the sphere’s triangles are tested for intersection with all the triangles added to the Air Around Coffee Modelcell so far, resulting in additional analysis time for each new component. Often complicated cells that take very long to polygonalize with this method result from the exclusion of many objects in a cell description, such as when defining air space around a complicated model. Exact polygonalization of such cells, besides taking a long time, is usually not useful for visualization of the model. For the example shown, an alternate cell description using only the outer sphere would suffice because the embedded spheres are themselves polygonalized and the additional surfaces from the polygonalization of the orange cell are redundant. The algorithm successfully polygonalizes the air surrounding the coffee model shown at left, but the processing time is 15 times greater than the next most expensive cell. The coffee model with the air cells invisible is shown in the figure below right.

Coffee ModelA number of settings are available to prevent algorithm from attempting to polygonalize cells that would require a significant amount of time:


The combinatorial triangles algorithm is used, by default, as the method of last resort for surface geometry. The user can adjust the order in which the algorithm is used with respect to some other methods.  The other methods may result in quicker polygonalization but may or may not result in a poorer representation.

Processing time and the possibility of bad or no 3D representation of a cell increases with the complexity (the number of unions, complements, and parentheses) and length of a cell description. Using a number of simpler cells instead will usually give better results and performance in Moritz (for the 2D plotting as well as the 3D) and better performance in the Monte Carlo calculations.

If many cells are added for importance splitting, consider saving the original model, before the importance layers are added, for the 3D visualization.



White Rock Science
http://www.whiterockscience.com/wrs.html
505 672 1105
email
 
TOC PREV NEXT