src/mesh/mesh.cpp
//----------------------------------------------------------------------------------------
//! \fn void Mesh::AllocateIntUserMeshDataField(int n)
//  \brief Allocate integer AthenaArrays for user-defned data in Mesh
\fn void Mesh::AllocateIntUserMeshDataField(int n)
\brief Allocate integer AthenaArrays for user-defned data in Mesh
\ fn void Mesh :: AllocateIntUserMeshDataField ( int n ) \ brief Allocate integer AthenaArrays for user - defned data in Mesh
void Mesh::AllocateIntUserMeshDataField(int n)
{
  if(nint_user_mesh_data_!=0) {
    std::stringstream msg;
    msg << "### FATAL ERROR in Mesh::AllocateIntUserMeshDataField"
        << std::endl << "User Mesh data arrays are already allocated" << std::endl;
    throw std::runtime_error(msg.str().c_str());
  }
  nint_user_mesh_data_=n;
  iuser_mesh_data = new AthenaArray<int>[n];
  return;
}
void Mesh :: AllocateIntUserMeshDataField ( int n ) { if ( nint_user_mesh_data_ != 0 ) { std :: stringstream msg ; msg << " " << std :: endl << " " << std :: endl ; throw std :: runtime_error ( msg . str ( ) . c_str ( ) ) ; } nint_user_mesh_data_ = n ; iuser_mesh_data = new AthenaArray < int > [ n ] ; return ; }
\fn void Mesh::AllocateIntUserMeshDataField(int n)
\brief Allocate integer AthenaArrays for user-defned data in Mesh
\ fn void Mesh :: AllocateIntUserMeshDataField ( int n ) \ brief Allocate integer AthenaArrays for user - defned data in Mesh