Skip to content

Commit

Permalink
Refactored remaining identifier to follow the identifier_* design to …
Browse files Browse the repository at this point in the history
…allow that these can also profit from identifierNAME from NXobject
  • Loading branch information
atomprobe-tc committed Jan 17, 2025
1 parent 9ba70cf commit 9f6becc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions base_classes/NXcg_face_list_data_structure.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ duplicate of an NXoff_geometry ?-->
Number of faces of the primitives.
</doc>
</field>
<field name="vertex_identifier_offset" type="NX_INT" units="NX_UNITLESS">
<field name="identifier_vertex_offset" type="NX_INT" units="NX_UNITLESS">
<doc>
Integer offset whereby the identifier of the first member
of the vertices differs from zero.
Expand All @@ -106,7 +106,7 @@ duplicate of an NXoff_geometry ?-->
Inspect the definition of NXcg_primitive for further details.
</doc>
</field>
<field name="edge_identifier_offset" type="NX_INT" units="NX_UNITLESS">
<field name="identifier_edge_offset" type="NX_INT" units="NX_UNITLESS">
<doc>
Integer offset whereby the identifier of the first member
of the edges differs from zero.
Expand All @@ -115,7 +115,7 @@ duplicate of an NXoff_geometry ?-->
Inspect the definition of NXcg_primitive for further details.
</doc>
</field>
<field name="face_identifier_offset" type="NX_INT" units="NX_UNITLESS">
<field name="identifier_face_offset" type="NX_INT" units="NX_UNITLESS">
<doc>
Integer offset whereby the identifier of the first member
of the faces differs from zero.
Expand All @@ -124,23 +124,23 @@ duplicate of an NXoff_geometry ?-->
Inspect the definition of NXcg_primitive for further details.
</doc>
</field>
<field name="vertex_identifier" type="NX_INT" units="NX_UNITLESS">
<field name="identifier_vertex" type="NX_INT" units="NX_UNITLESS">
<doc>
Integer identifier to distinguish all vertices explicitly.
</doc>
<dimensions rank="1">
<dim index="1" value="n_v"/>
</dimensions>
</field>
<field name="edge_identifier" type="NX_INT" units="NX_UNITLESS">
<field name="identifier_edge" type="NX_INT" units="NX_UNITLESS">
<doc>
Integer used to distinguish all edges explicitly.
</doc>
<dimensions rank="1">
<dim index="1" value="n_e"/>
</dimensions>
</field>
<field name="face_identifier" type="NX_INT" units="NX_UNITLESS">
<field name="identifier_face" type="NX_INT" units="NX_UNITLESS">
<doc>
Integer used to distinguish all faces explicitly.
</doc>
Expand Down
8 changes: 4 additions & 4 deletions base_classes/NXcg_half_edge_data_structure.nxdl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<dim index="1" value="n_he"/>
</dimensions>
</field>
<field name="vertex_identifier_offset" type="NX_INT" units="NX_UNITLESS">
<field name="identifier_vertex_offset" type="NX_INT" units="NX_UNITLESS">
<doc>
Integer offset whereby the identifier of the first member
of the vertices differs from zero.
Expand All @@ -92,7 +92,7 @@
Inspect the definition of :ref:`NXcg_primitive` for further details.
</doc>
</field>
<field name="edge_identifier_offset" type="NX_INT" units="NX_UNITLESS">
<field name="identifier_edge_offset" type="NX_INT" units="NX_UNITLESS">
<doc>
Integer offset whereby the identifier of the first member
of the edges differs from zero.
Expand All @@ -101,7 +101,7 @@
Inspect the definition of :ref:`NXcg_primitive` for further details.
</doc>
</field>
<field name="face_identifier_offset" type="NX_INT">
<field name="identifier_face_offset" type="NX_INT">
<doc>
Integer offset whereby the identifier of the first member
of the faces differs from zero.
Expand All @@ -110,7 +110,7 @@
Inspect the definition of :ref:`NXcg_primitive` for further details.
</doc>
</field>
<!--therefore, vertex_-, face_-, half_edge_-identifier are implicit-->
<!--therefore, identifier_ -vertex, -face, -half_edge are implicit-->
<field name="position" type="NX_NUMBER" units="NX_ANY">
<doc>
The position of the vertices.
Expand Down

0 comments on commit 9f6becc

Please sign in to comment.