| 15 | |
| 16 | === Connectivity CDL === |
| 17 | |
| 18 | '''See MeshMetaData''' |
| 19 | |
| 20 | === Edge Index CDL === |
| 21 | |
| 22 | Index of the edges which belong to each cell in an order which is specified for each type of cell. This describes which edge data belong to which cell similar to the connectivity that describes which nodes belong to which cell. |
| 23 | {{{ |
| 24 | int EDGES(nEdges,Cells) |
| 25 | EDGES:MESH = "MESH A" |
| 26 | EDGES:CELL TYPE = "NC_QAD" |
| 27 | EDGES:EDGE TYPE = "NOT DEFINED YET?" |
| 28 | EDGES:X edge coordinate = "x_edge" ! Should the xyz location be standard? |
| 29 | EDGES:Y edge coordinate = "y_edge" |
| 30 | EDGES:Z edge coordinate = "z_edge" |
| 31 | }}} |
| 32 | Should there be an EDGE TYPE attribute? What would its purpose be? |
| 33 | |
| 34 | === Faces Index CDL === |
| 35 | |
| 36 | Index of the faces which belong to each 3D solid cells in the mesh. The order of faces is specified in for each type of cell similar to the connectivity that describes which nodes belong to which cell. |
| 37 | {{{ |
| 38 | int FACES(nFaces,Cells) ! Data: List of faces for each cell: |
| 39 | FACES:MESH = "MESH A" ! [face1, face2, face3, ... face4] |
| 40 | FACES:CELL TYPE = "NC_QAD" |
| 41 | FACES:FACE TYPE = "NOT DEFINED YET?" |
| 42 | FACES:X face coordinate = "x_face" ! Should the xyz location be standard? |
| 43 | FACES:Y face coordinate = "y_face" |
| 44 | FACES:Z face coordinate = "z_face" |
| 45 | }}} |
| 46 | |
| 47 | === Grid Variable CDL === |
| 48 | |
| 49 | Simple Grid variable data: |
| 50 | {{{ |
| 51 | float x_A(Nodes) ! Assuming only one standard set of Dimension names |
| 52 | x_A:standard_name = "nodal x-coordinate" |
| 53 | x_A:units = |
| 54 | Other attributes? |
| 55 | |
| 56 | float y_A(Nodes) |
| 57 | y_A:standard_name = "nodal y-coordinate" |
| 58 | y_A:Mesh = "Mesh A" |
| 59 | y_A:units = |
| 60 | |
| 61 | float z_A(Nodes) [optional in case of 2D mesh or sigma coords] |
| 62 | z_A:standard_name = "nodal z-coordinate" |
| 63 | z_A:Mesh = "Mesh A" |
| 64 | z_A:units = |
| 65 | }}} |
| 66 | |
| 67 | Nodal coordinates can vary with time: |
| 68 | {{{ |
| 69 | float x_B(time,Nodes) |
| 70 | x_B:standard_name = "nodal x-coordinate" |
| 71 | x_B:Mesh = "Mesh B" |
| 72 | x_B:units = |
| 73 | |
| 74 | float y_B(time,Nodes) |
| 75 | y_B:standard_name = "nodal y-coordinate" |
| 76 | y_B:Mesh = "Mesh B" |
| 77 | y_B:units = |
| 78 | |
| 79 | float z_B(time,Nodes) [optional in case of 2D mesh or sigma Coords] |
| 80 | z_B:standard_name = "nodal z-coordinate" |
| 81 | z_B:Mesh = "Mesh B" |
| 82 | z_B:units = |
| 83 | }}} |
| 84 | |
| 85 | Grid variables for an Extruded Mesh: |
| 86 | {{{ |
| 87 | float x_C(Nodes) |
| 88 | x_C:standard_name = "nodal x-coordinate" |
| 89 | x_C:units = |
| 90 | |
| 91 | float y_C(Nodes) |
| 92 | y_C:standard_name = "nodal y-coordinate" |
| 93 | y_C:units = |
| 94 | |
| 95 | float Sigma(Layers) |
| 96 | Sigma:standard_name = "?" |
| 97 | Sigma:Positive = "up" |
| 98 | Additional attributes? |
| 99 | |
| 100 | float Surface(time,Nodes) |
| 101 | Surface:standard_name = "?" |
| 102 | Surface:Units = |
| 103 | Surface:Positive = |
| 104 | |
| 105 | float Bottom(Nodes) |
| 106 | Surface:standard_name = "?" |
| 107 | Surface:Units = |
| 108 | Surface:Positive = |
| 109 | }}} |
| 110 | |