Commit 1c3f01c1 authored by Spencer Sherwin's avatar Spencer Sherwin
Browse files

Made SVV so that only Homo1D can be activitated with SpectralVanishingViscosityHomo1D flag

parent 664d5248
......@@ -98,7 +98,12 @@ namespace Nektar
{
ASSERTL0(m_nConvectiveFields > 2,"Expect to have three velcoity fields with homogenous expansion");
m_session->MatchSolverInfo("SpectralVanishingViscosity","True",m_useHomo1DSpecVanVisc,false);
m_session->MatchSolverInfo("SpectralVanishingViscosityHomo1D","True",m_useHomo1DSpecVanVisc,false);
if(m_useHomo1DSpecVanVisc == false)
{
m_session->MatchSolverInfo("SpectralVanishingViscosity","True",m_useHomo1DSpecVanVisc,false);
}
if(m_useHomo1DSpecVanVisc)
{
......
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