QMCPACK
ProgressReportEngine.cpp
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2016 Jeongnim Kim and QMCPACK developers.
6 //
7 // File developed by: Jeremy McMinnis, jmcminis@gmail.com, University of Illinois at Urbana-Champaign
8 // Jeongnim Kim, jeongnim.kim@gmail.com, University of Illinois at Urbana-Champaign
9 // Mark Dewing, markdewing@gmail.com, University of Illinois at Urbana-Champaign
10 //
11 // File created by: Jeongnim Kim, jeongnim.kim@gmail.com, University of Illinois at Urbana-Champaign
12 //////////////////////////////////////////////////////////////////////////////////////
13 
14 
15 #include "Configuration.h"
16 #include "ProgressReportEngine.h"
17 
18 namespace qmcplusplus
19 {
20 void ReportEngine::echo(xmlNodePtr cur, bool recursive)
21 {
22  if (cur == nullptr)
23  return;
24  app_debug() << R"(<input node=")" << (const char*)(cur->name) << '"';
25  xmlAttrPtr att = cur->properties;
26  while (att != nullptr)
27  {
28  app_debug() << " " << (const char*)(att->name) << R"(=")" << (const char*)(att->children->content) << '"';
29  att = att->next;
30  }
31  app_debug() << R"(/>\n)";
32 }
33 
34 bool ReportEngine::DoOutput = false;
35 
36 } // namespace qmcplusplus
void echo(xmlNodePtr cur, bool recursive=false)
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
#define app_debug
Definition: OutputManager.h:75
declaration of ProgressReportEngine