++_count;
}
+ void ReadPyramidNodes( int* node1, int* node2, int* node3, int* node4, int* node5, int* domain )
+ {
+ integer vtx[6];
+ status_t ret = mesh_get_pyramid_vertices( _hybrid_mesh, _count, vtx);
+ if (ret != STATUS_OK) MG_Error( "unable to get resulting pyramid" );
+
+ *node1 = vtx[0];
+ *node2 = vtx[1];
+ *node3 = vtx[2];
+ *node4 = vtx[3];
+ *node5 = vtx[4];
+
+ integer tag;
+ ret = mesh_get_pyramid_tag( _hybrid_mesh, _count, &tag );
+ if (ret != STATUS_OK) MG_Error( "unable to get resulting pyramid tag" );
+
+ *domain = tag;
+
+ ++_count;
+ }
+
void ReadCorner( int* node )
{
if ( _count <= ReadNbCorners() )