Commit faeaf84f authored by Vidhi Zala's avatar Vidhi Zala

Added zero initialization for Coeff in DirectFull, added test for same

parent 5b1c3e2a
......@@ -128,6 +128,7 @@ namespace Nektar
}
else
{
Vmath::Zero(nGlobDofs-nDirDofs, &pOutput[nDirDofs], 1);
// Calculate Dirichlet forcing and subtract it from the rhs
m_expList.lock()->GeneralMatrixOp(
m_linSysKey, pOutput, tmp, eGlobal);
......
......@@ -182,6 +182,7 @@ IF( NEKTAR_SOLVER_ADR )
ADD_NEKTAR_TEST(ImDiffusion_m12)
ADD_NEKTAR_TEST(ImDiffusion_m6)
ADD_NEKTAR_TEST(ImDiffusion_VarCoeff)
ADD_NEKTAR_TEST(ImDiffusion_VarCoeff_DiectFull)
ADD_NEKTAR_TEST(ImDiffusion_Quad_Periodic_m7)
ADD_NEKTAR_TEST(ImDiffusion_Hex_Periodic_m5)
ADD_NEKTAR_TEST(SVV_Quad)
......
<?xml version="1.0" encoding="utf-8"?>
<test>
<description> 2D unsteady CG implicit diffusion, variable coeffs. </description>
<executable>ADRSolver</executable>
<parameters>-I GlobalSysSoln=DirectFull ImDiffusion_VarCoeff.xml</parameters>
<files>
<file description="Session File"> ImDiffusion_VarCoeff.xml </file>
</files>
<metrics>
<metric type="L2" id="1">
<value variable="u" tolerance="1e-12"> 1.68029e-08 </value>
</metric>
<metric type="Linf" id="2">
<value variable="u" tolerance="1e-12"> 3.25511e-08 </value>
</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