Changes between Version 16 and Version 17 of rp_xml_ele_field


Ignore:
Timestamp:
Sep 12, 2013, 8:15:08 PM (4 years ago)
Author:
ldelgass
Comment:

Document association. elemtype and elemsize

Legend:

Unmodified
Added
Removed
Modified
  • rp_xml_ele_field

    v16 v17  
    1010        <component>
    1111            <mesh>output.mymesh</mesh>
     12            <association>pointdata</association>
     13            <elemtype>scalars</elemtype>
     14            <elemsize>1</elemsize>
    1215            <values>
    1316                0.143588 0.11341 0.104264 0.119749 0.148021 0.195553
     
    2629 '''<component><mesh>'''::
    2730   The name of the mesh element. The mesh is a separate [wiki:rp_xml_ele_mesh <mesh>] object.
     31 '''<component><association>'''::
     32   The association of the field values to the mesh: 'pointdata' or 'celldata'.  Defaults to 'pointdata'.
     33 '''<component><elemtype>'''::
     34   The type of field: 'colorscalars', 'normals', 'scalars', 'tcoords', 'tensors', 'vectors'.  Defaults to 'scalars'.
     35 '''<component><elemsize>'''::
     36   The number of components in each field value tuple.  For example, a field of 3D vectors would have an elemsize of 3.  The default is 1 which corresponds with the default <elemtype> of 'scalars'.
    2837 '''<component><values>'''::
    29    The values of the field. The number of values must match the number of points of the mesh.
     38   The values of the field. Each value is a tuple of one or more numbers.  The number of tuples must match the number of points (for <association> of 'pointdata') or number of cells (for 'celldata') of the mesh, and the total number of values = (number of points or cells * elemsize).
    3039
    3140There are a variety of ways that fields can be viewed.