This module composes a compressed pyramid from a series of lattices. The input lattice named Base becomes the base lattice of the pyramid. The Indices Lattice input should have the list of indices ( 0-based ) in the data portion of the lattice. If the pyramid consists of only a single object type (e.g. all 8 node bricks) then the nDataVar of the lattice is the number of nodes in the object. If there are more than a single object type, then nDataVar is the maximum number of nodes in any object type. And the type for each object is specified in the Type lattice.

ComposePyr creates a finite element pyramid data structure as a collection of 3D finite elements, using the pyramid dictionary concepts to relate the elements to their constituent vertices. ComposePyr does this by accepting an array of vertices to define the nodes of the finite element grid, as well as two other lattices, which respectively define the vertex list and element type of each finite element in the grid.

Thus ComposePyr allows you to create a finite element pyramid the way you think of the mesh. You specify the vertices and make elements out of vertices, with a flag per element to indicate its type. There is no construction of intermediate faces and edges in the ComposePyr output pyramids.


Port: Base
Type: Lattice
Constraints: 1-D
Constraints: curvilinear
The base lattice on the pyramid to be constructed. It must have both a data portion and a coordinate portion.

Port: Indices Lattice
Type: Lattice
Constraints: 1-D
Constraints: long
This lattice contains the indices ( 0-based ) in the data portion.

Port: Type Lattice
Type: Lattice
Optional: This port is optional.
Constraints: 1-D
Constraints: 1-vector
Constraints: long
This lattice contains the object type in the data portion. The object type is the number of nodes in the object, except that 0 means quad ( 4 means tetra ).


Port: Type
Type: Radio Box
Menu Item: Single type
Menu Item: Multiple types
Specifies whether the pyramid is composed of a single object type or multiple object types. The latter will require the use of the Type Lattice.

Port: Quad
Type: Radio Box
Menu Item: Quad
Menu Item: Tetra
For a single object type, this is used to differentiate the meaning of 4 nodes ( 2D quad vs 3D tetra ).


Port: Output
Type: Pyramid
Constraints: 1..3-layer
Constraints: 1..-baseLat
Constraints: 2..3-D compression
Constraints: unique..multiple-compression type
The composed pyramid.



[Documentation Home]
© The Numerical Algorithms Group Ltd, Oxford UK. 2000