src/RTT_Format_Reader/NodeData.cc
void NodeData::readData(ifstream &meshfile) {
  string dummyString;
  size_t nodeNum;

  for (size_t i = 0; i < dims.get_nnodes(); ++i) {
    meshfile >> nodeNum;
    Insist(nodeNum == i + 1, "Invalid mesh file: node data index out of order");
    for (size_t j = 0; j < dims.get_nnode_data(); ++j)
      meshfile >> data[i][j];
    std::getline(meshfile, dummyString);
  }
}
//------------------------------------------------------------------------------------------------//
/*!
 * \brief Reads and validates the node_data block datae.
 * \param meshfile Mesh file name.
 */
\brief Reads and validates the node_data block datae.
\param meshfile Mesh file name.
\ brief Reads and validates the node_data block datae . \ param meshfile Mesh file name .
void NodeData::readData(ifstream &meshfile) {
  string dummyString;
  size_t nodeNum;
  for (size_t i = 0; i < dims.get_nnodes(); ++i) {
    meshfile >> nodeNum;
    Insist(nodeNum == i + 1, "Invalid mesh file: node data index out of order");
    for (size_t j = 0; j < dims.get_nnode_data(); ++j)
      meshfile >> data[i][j];
    std::getline(meshfile, dummyString);
  }
}
void NodeData :: readData ( ifstream & meshfile ) { string dummyString ; size_t nodeNum ; for ( size_t i = 0 ; i < dims . get_nnodes ( ) ; ++ i ) { meshfile >> nodeNum ; Insist ( nodeNum == i + 1 , " " ) ; for ( size_t j = 0 ; j < dims . get_nnode_data ( ) ; ++ j ) meshfile >> data [ i ] [ j ] ; std :: getline ( meshfile , dummyString ) ; } }
\brief Reads and validates the node_data block datae.
\ brief Reads and validates the node_data block datae .