E3SM-Project / HOMMEXX

Clone of ACME for CMDV-SE project to convert HOMME to C++
11 stars 0 forks source link

Trace printing #176

Closed mfdeakin-sandia closed 6 years ago

mfdeakin-sandia commented 6 years ago

Adds a new debug level, called TRACE. Enabled by specifying DEBUG_TRACE=ON when configuring with CMake. This also changes the DEBUG_PRINTs in RemapFunctor to be TRACE_PRINTs.

mfdeakin-sandia commented 6 years ago

I think I'll leave those as TODO items; if we add much more functionality I think using a logging library might make sense. I'll merge this once I've compiled and run both versions

ambrad commented 6 years ago

Agreed. (Might have some \es to put in.)

mfdeakin-sandia commented 6 years ago

I think I got them; sorry, clang-format only added them on some of the lines for some reason (usually means something else is wrong...)