Commit f8ec8b8d authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

SolverOptions printHamiltonianAverage

When given to SolverOptions, printHamiltonianAverage causes
the printing of <...|H|...> in NGSTs.
parent cd6116da
......@@ -357,7 +357,7 @@ public:
them for all sites. This is will use more RAM, but might be needed
to target expressions.
\item [calcAndPrintEntropies] Calculate entropies and print to cout file
\item [noPrintHamiltonianAverage] Don't print <...|H|...> in NGSTs.
\item [printHamiltonianAverage] Print <...|H|...> in NGSTs.
\end{itemize}
*/
void check(const PsimagLite::String& label,
......@@ -424,7 +424,7 @@ public:
registerOpts.push_back("shrinkStacksOnDisk");
registerOpts.push_back("OperatorsChangeAll");
registerOpts.push_back("calcAndPrintEntropies");
registerOpts.push_back("noPrintHamiltonianAverage");
registerOpts.push_back("printHamiltonianAverage");
PsimagLite::Options::Writeable optWriteable(registerOpts,
PsimagLite::Options::Writeable::PERMISSIVE);
......
......@@ -25,8 +25,8 @@ public:
static PsimagLite::String logo(PsimagLite::String appName)
{
PsimagLite::OstringStream msg;
msg<<appName<<"\x1b[38;5;240m";
msg<<" [master "<<DMRGPP_VERSION<<"] "<<PsimagLite::AnsiColor::reset;
msg<<appName<<"\x1b[38;5;124m";
msg<<" [features "<<DMRGPP_VERSION<<"] "<<PsimagLite::AnsiColor::reset;
PsimagLite::String ctOpts("");
#ifdef USE_LONG
ctOpts += "LONG ";
......
......@@ -279,7 +279,7 @@ public:
PsimagLite::String options = this->model().params().options;
if (options.find("noPrintHamiltonianAverage") == std::string::npos)
if (options.find("printHamiltonianAverage") != std::string::npos)
printEnergies(); // in-situ
bool normalizeTimeVectors = true;
......
......@@ -276,7 +276,7 @@ private:
PsimagLite::String options = this->model().params().options;
if (options.find("noPrintHamiltonianAverage") == std::string::npos)
if (options.find("printHamiltonianAverage") != std::string::npos)
printEnergies(); // in-situ
bool normalizeTimeVectors =
......
#ifndef DMRGPP_VERSION
#define DMRGPP_VERSION "5.60"
#define DMRGPP_VERSION "5.61"
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment