Commit 236cb5f9 authored by Michael Turner's avatar Michael Turner

Merge branch 'fix/xml-output' into 'master'

Fix XML output when range flag used

See merge request !761
parents 9825170f 276f930b
......@@ -15,6 +15,9 @@ v4.4.1
**Library**
- Remove the duplicate output of errorutil (!756)
**FieldConvert**:
- Fix issue with FieldConvert when range flag used (!761)
**NekMesh**:
- Fix memory consumption issue with Gmsh output (!747, !762)
- Rework meshing control so that if possible viewable meshes will be dumped
......
......@@ -1925,6 +1925,12 @@ namespace Nektar
{
stringstream s;
TiXmlElement *c = new TiXmlElement("C");
if (cIt->second->size() == 0)
{
continue;
}
GeometrySharedPtr firstGeom = cIt->second->at(0);
int shapeDim = firstGeom->GetShapeDim();
string tag = (shapeDim < m_meshDimension) ?
......
......@@ -24,6 +24,7 @@ ADD_NEKTAR_TEST(chan3DH1D_plane)
ADD_NEKTAR_TEST(chan3DH1D_stretch)
ADD_NEKTAR_TEST(chan3D_probe)
ADD_NEKTAR_TEST(cube_prismhex)
ADD_NEKTAR_TEST(cube_prismhex_range)
ADD_NEKTAR_TEST(outflow_pointdatatofld)
ADD_NEKTAR_TEST(chan3D_equispacedoutput)
ADD_NEKTAR_TEST(chan3D_isocontour)
......
<?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Test XML output using a range filter</description>
<executable>FieldConvert</executable>
<parameters>-r 0,0.5,0,0.5,0,0.5 cube_prismhex.xml out.xml</parameters>
<files>
<file description="Session File">cube_prismhex.xml</file>
</files>
<metrics>
</metrics>
</test>
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