#1825: CCTK_ImpFromVarI sometimes returns the thorn name ---------------------+------------------------------------------------------ Reporter: sbrandt | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: Other | Version: development version Keywords: | ---------------------+------------------------------------------------------ I added the following debug code to one of my routines {{{ int n = CCTK_NumVars(); for(int v=0; v < n; ++v) { void *data = CCTK_VarDataPtrI(cctkGH,0,v); if(data == 0) continue; std::string imp = CCTK_ImpFromVarI(v); std::cout << "DEBUG: " << imp << "::" << CCTK_VarName(v) << std::endl; } }}}
I get the following correct output from CartGrid3D DEBUG: GRID::x DEBUG: GRID::y DEBUG: GRID::z DEBUG: GRID::r
However, I see this output from CarpetReduce DEBUG: CARPETREDUCE::weight DEBUG: CARPETREDUCE::excised_cells
And I expected to see "REDUCE::weight"