Skip to content

Commit

Permalink
Recognise a Few More Miscellaneous Vector Types
Browse files Browse the repository at this point in the history
In particular, add vectors such as NLINSMAX, NLINSMIN, TCPUDAY and
TCPUTS to the list of 'misc' vectors.  We're most likely to see
these when plotting "all" vectors--through the '-a' command line
option--from a result set that uses the PERFORMA summary keyword.
  • Loading branch information
bska committed Jul 15, 2024
1 parent 8c03429 commit f9d5fa5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions appl/smry_appl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -922,9 +922,15 @@ SmryAppl::vectorEntry SmryAppl::make_vector_entry ( std::string vect_name )
{
SmryAppl::vectorEntry res;

std::vector<std::string> misc = {"TCPU", "ELAPSED", "TIME", "TIMESTEP", "YEARS", "DAY", "MAXDPR",
"MAXDSG", "MAXDSO", "MAXDSW", "MLINEARS", "MONTH", "MSUMLINS", "NEWTON", "NLINEARS", "STEPTYPE",
"YEAR", "MSUMNEWT" };
const std::vector<std::string> misc {
"DAY",
"ELAPSED",
"MAXDPR", "MAXDSG", "MAXDSO", "MAXDSW", "MLINEARS", "MONTH", "MSUMLINS", "MSUMNEWT",
"NEWTON", "NLINEARS", "NLINSMAX", "NLINSMIN",
"STEPTYPE",
"TCPU", "TCPUDAY", "TCPUTS", "TELAPLIN", "TIME", "TIMESTEP",
"YEAR", "YEARS",
};

if ( std::find ( misc.begin(), misc.end(), vect_name ) != misc.end() ) {
res = std::make_tuple ( vect_name, "", "" );
Expand Down

0 comments on commit f9d5fa5

Please sign in to comment.