19.14.4. Node-Based Scoping

In regard to usage, suppose two user defined results (with identifiers A and B, respectively) are scoped to ScopeA and ScopeB. The algorithm to draw the contours for C = A + B (scoped to ScopeC) proceeds as follows:

  • The results A and B are combined on all common bodies (determined from ScopeA and ScopeB and referred to as CommonBodies).

  • The scope (ScopeC) of the newly defined result C is then employed: the contours of C are drawn on the intersection of ScopeC and CommonBodies.

Note, each of ScopeA, ScopeB, and ScopeC can be any set of geometric entities: vertices, edges, faces, bodies, or named selections (consisting of geometric entities or even nodes in the mesh).

Example 19.1: Nodal Scoping

Assumptions: A is scoped to bodies 1 and 2 and B is scoped to two faces, one in body 2 and one in body 3. The combination C = A+B is scoped to two vertices, one in body 2, and the other in body 3.

Result: A+B will be computed on nodes common to the underlying bodies of A and B; these nodes will exist only in body 2. Then the combination C = A + B will be displayed only on the vertex belonging to body 2 (the one belonging to body 3 is not in the intersection of the two original scoping bodies).