void Mesh::addTHnode(const string base, int node) /******************************************************************************* Routine: Mesh::addTHnode - add a time-history node to the database Author : Mark A. Christon *******************************************************************************/ { char cbuf[MAXCHR]; string fname; if (node < 1 || node > Nnp) { cout << endl << "\t!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" << endl << "\t!!!!! Error in time history node !!!!!" << endl << "\t!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" << endl << endl; exit(0); } sprintf(cbuf,"%d", node); fname = base + "_" + cbuf; th_nodes.push_back(node-1); th_names.push_back(fname); } void Mesh::echoTHnode(ostream& ofs) /******************************************************************************* Routine: Mesh::echoTHnode - echo time-history nodes Author : Mark A. Christon *******************************************************************************/ { int Nth = th_nodes.size(); for(int i=0; i