Ignore:
Timestamp:
07/15/21 12:01:14 (10 months ago)
Author:
ymipsl
Message:

Add missing metadata in mesh when using ugrid convention writing :

  • face_edge_connectivity
  • edge_face_connectivity
  • face_face_connectivity

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/io/nc4_data_output.cpp

    r1977 r2181  
    687687                SuperClassWriter::addAttribute("edge_coordinates", edge_x + " " + edge_y, &domainName); 
    688688                SuperClassWriter::addAttribute("edge_node_connectivity", edge_nodes, &domainName); 
     689                SuperClassWriter::addAttribute("face_edge_connectivity", face_edges, &domainName); 
     690                SuperClassWriter::addAttribute("edge_face_connectivity", edge_faces, &domainName); 
    689691                SuperClassWriter::addDimension(dimEdge, domain->mesh->nbEdgesGlo); 
    690692                dim0.clear(); 
     
    706708                SuperClassWriter::addAttribute("start_index", 0, &edge_nodes); 
    707709              } 
     710              SuperClassWriter::addAttribute("face_face_connectivity", face_faces, &domainName); 
    708711              SuperClassWriter::addAttribute("face_coordinates", face_x + " " + face_y, &domainName); 
    709712              SuperClassWriter::addAttribute("face_node_connectivity", face_nodes, &domainName); 
Note: See TracChangeset for help on using the changeset viewer.