Commit e234e039 authored by Julian Marcon's avatar Julian Marcon

Added regression tests

parent 037d5d6a
......@@ -130,5 +130,7 @@ ADD_NEKTAR_TEST_LENGTHY(StarTec/StraightRW)
IF(NEKTAR_USE_MESHGEN)
ADD_NEKTAR_TEST (MeshGen/cylinder)
ADD_NEKTAR_TEST (MeshGen/sphere)
ADD_NEKTAR_TEST (MeshGen/2d-cad)
ADD_NEKTAR_TEST (MeshGen/2d-naca)
# ADD_NEKTAR_TEST_LENGTHY(MeshGen/predator) disabled for now
ENDIF()
This diff is collapsed.
<NEKTAR>
<MESHING>
<INFORMATION>
<I PROPERTY="CADFile" VALUE="2d-cad.STEP" />
<I PROPERTY="MeshType" VALUE="2DBL" />
</INFORMATION>
<PARAMETERS>
<P PARAM="MinDelta" VALUE="0.01" />
<P PARAM="MaxDelta" VALUE="0.5" />
<P PARAM="EPS" VALUE="0.1" />
<P PARAM="Order" VALUE="4" />
<P PARAM="BLSurfs" VALUE="5-6" />
<P PARAM="BLThick" VALUE="0.02" />
<P PARAM="BLLayers" VALUE="6" />
<P PARAM="BLProg" VALUE="1.5" />
</PARAMETERS>
<BOOLPARAMETERS>
</BOOLPARAMETERS>
</MESHING>
</NEKTAR>
<?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Simple 2D aerofoil mesh</description>
<executable>NekMesh</executable>
<parameters>-m jac:list 2d-cad.mcf 2d-cad.xml:xml:test</parameters>
<files>
<file description="Input File">2d-cad.mcf</file>
<file description="Input File 2">2d-cad.STEP</file>
</files>
<metrics>
<metric type="regex" id="1">
<regex>^Total negative Jacobians: (\d+)</regex>
<matches>
<match>
<field id="0">0</field>
</match>
</matches>
</metric>
</metrics>
</test>
<NEKTAR>
<MESHING>
<INFORMATION>
<I PROPERTY="CADFile" VALUE="0012" />
<I PROPERTY="MeshType" VALUE="2DBL" />
</INFORMATION>
<PARAMETERS>
<P PARAM="MinDelta" VALUE="0.01" />
<P PARAM="MaxDelta" VALUE="0.5" />
<P PARAM="EPS" VALUE="0.1" />
<P PARAM="Order" VALUE="4" />
<P PARAM="BLSurfs" VALUE="5-6" />
<P PARAM="BLThick" VALUE="0.02" />
<P PARAM="BLLayers" VALUE="6" />
<P PARAM="BLProg" VALUE="1.5" />
</PARAMETERS>
<BOOLPARAMETERS>
</BOOLPARAMETERS>
</MESHING>
</NEKTAR>
<?xml version="1.0" encoding="utf-8" ?>
<test>
<description>Simple 2D NACA mesh</description>
<executable>NekMesh</executable>
<parameters>-m jac:list 2d-naca.mcf 2d-naca.xml:xml:test</parameters>
<files>
<file description="Input File">2d-naca.mcf</file>
</files>
<metrics>
<metric type="regex" id="1">
<regex>^Total negative Jacobians: (\d+)</regex>
<matches>
<match>
<field id="0">0</field>
</match>
</matches>
</metric>
</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