src/mesh/mesh.cpp
//----------------------------------------------------------------------------------------
//! \fn void Mesh::AllocateUserHistoryOutput(int n)
//  \brief set the number of user-defined history outputs
\fn void Mesh::AllocateUserHistoryOutput(int n)
\brief set the number of user-defined history outputs
\ fn void Mesh :: AllocateUserHistoryOutput ( int n ) \ brief set the number of user - defined history outputs
void Mesh::AllocateUserHistoryOutput(int n)
{
  nuser_history_output_ = n;
  user_history_output_names_ = new std::string[n];
  user_history_func_ = new HistoryOutputFunc_t[n];
  for(int i=0; i<n; i++) user_history_func_[i] = NULL;
}
void Mesh :: AllocateUserHistoryOutput ( int n ) { nuser_history_output_ = n ; user_history_output_names_ = new std :: string [ n ] ; user_history_func_ = new HistoryOutputFunc_t [ n ] ; for ( int i = 0 ; i < n ; i ++ ) user_history_func_ [ i ] = NULL ; }
\fn void Mesh::AllocateUserHistoryOutput(int n)
\brief set the number of user-defined history outputs
\ fn void Mesh :: AllocateUserHistoryOutput ( int n ) \ brief set the number of user - defined history outputs