message: DOC: add comments to external array sidre
diff: @@ -76,7 +76,10 @@ void sidre_read( MPI_Comm comm,
  SLIC_ASSERT( root->hasChildView("data") );
  sidre::View* view = root->getView( "data" );
  + SLIC_ASSERT( view->isDescribed() );
  + SLIC_ASSERT( view->isExternal() );
  + // get the array shape information
  sidre::IndexType shape[2];
  view->getShape( 2, shape );
  numTuples = shape[ 0 ];
  @@ -85,12 +88,14 @@ void sidre_read( MPI_Comm comm,
  axom::IndexType nelems = view->getNumElements();
  SLIC_ASSERT( nelems==(numTuples*numComponents) );
  + // allocate external data
  data = axom::allocate< int >(nelems);
  SLIC_ASSERT( data != nullptr );
  - SLIC_ASSERT( view->isDescribed() );
  - SLIC_ASSERT( view->isExternal() );
  + // set external data for the view
  view->setExternalDataPtr( data );
  +
  + // load the external data
  sidre_io.loadExternalData(root,file);
  // DEBUG
  