Commit 2e684b0b authored by 's avatar
Browse files

bug fix and changelog

parent bd4151d8
......@@ -69,6 +69,7 @@ v4.4.0
- Add flag to `insertsurface` process for non-conforming geometries (!700)
- Bug fix to get two meshgen regression tests working (!700)
- Remove libANN in deference to boost::geometry (!703)
- Add a mesh extract option to the linearise module to visualise the result (!712)
**FieldConvert:**
- Move all modules to a new library, FieldUtils, to support post-processing
......
......@@ -56,7 +56,7 @@ ProcessLinear::ProcessLinear(MeshSharedPtr m) : ProcessModule(m)
m_config["prismonly"] =
ConfigOption(false, "", "only acts on prims");
m_config["extract"] =
ConfigOption(true, "0", "dump a mesh of the extracted elements");
ConfigOption(false, "", "dump a mesh of the extracted elements");
}
ProcessLinear::~ProcessLinear()
......@@ -225,15 +225,15 @@ void ProcessLinear::Process()
if(m_config["extract"].beenSet)
{
MeshSharedPtr dmp = boost::shared_ptr<Mesh>(new Mesh());
oct->m_expDim = 3;
oct->m_spaceDim = 3;
oct->m_nummode = 2;
dmp->m_expDim = 3;
dmp->m_spaceDim = 3;
dmp->m_nummode = 2;
dmp->m_element[3] = dumpEls;
ModuleSharedPtr mod = GetModuleFactory().CreateInstance(
ModuleKey(eOutputModule, "xml"), dmp);
mod->RegisterConfig("outfile", "linearised.xml");
mod->RegisterConfig("outfile", m_config["extract"].as<string>().c_str());
mod->ProcessVertices();
mod->ProcessEdges();
mod->ProcessFaces();
......
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