Commit 7de0e83b authored by Spencer Sherwin's avatar Spencer Sherwin

Put DeclareAsContField option in process module constructor

parent fe761f06
......@@ -110,11 +110,6 @@ namespace Nektar
string xml_ending = "xml";
string xml_gz_ending = "xml.gz";
// Boundary output requires field file
if(m_f->m_writeBndFld)
{
m_f->m_declareExpansionAsContField = true;
}
std::vector<std::string> files;
// load .xml ending
......
......@@ -59,6 +59,7 @@ namespace Nektar
m_config["fldtoboundary"] = ConfigOption(false,"1","Extract fld values to boundary");
f->m_writeBndFld = true;
f->m_declareExpansionAsContField = true;
// check for correct input files
if(f->m_inputfiles.count("xml") == 0)
......
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