#1260: list registered variables when exceeding MoL accumulator limit ------------------------------------+--------------------------------------- Reporter: rhaas | Owner: Type: enhancement | Status: closed Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: Resolution: fixed | Keywords: MoL ------------------------------------+---------------------------------------
Comment (by rhaas):
That would not help me. I want a single string that contains all the variable names. I get (from MoL) an array of variable indices. I want to turn it into a single string listing all the variable names, separated by spaces, terminated but a '\0'.
I want what you would get form this C++ code: {{{ ostringstream s; for(int i = 0 ; i < numvars ; i++) { char* varname = CCTK_FullName(VarIndex[i]); if(i > 0) s << " "; s << varname; } return s.str().c_str(); }}}