You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For my use-case, I would like to output the above Teuchos::ParameterList to an XML file.
For this, I construct a Teuchos::XMLParameterListWriter from the ParameterList
// solver_parameters is a Teuchos::ParameterList corresponding to the above input
Teuchos::XMLParameterListWriter myXMLWriter;
auto myXMLObject = myXMLWriter.toXML(solver_parameters);
myXMLObject.print(text, 0);
However, this outputs additional fields docString, id, isDefault, and isUsed, as below:
I have a
Teuchos::ParameterList
that I programatically generate which corresponds to:For my use-case, I would like to output the above
Teuchos::ParameterList
to an XML file.For this, I construct a
Teuchos::XMLParameterListWriter
from theParameterList
However, this outputs additional fields
docString
,id
,isDefault
, andisUsed
, as below:Is it possible to avoid outputting these additional fields?
Trilinos/packages/teuchos/parameterlist/src/Teuchos_ParameterEntryXMLConverter.cpp
Line 108 in 77005ad
The text was updated successfully, but these errors were encountered: