Commit b4df6a75 authored by Ankang Gao's avatar Ankang Gao

use tau instead of t in AdjointAdvection

parent 6c6f15b6
......@@ -310,6 +310,7 @@ void DriverModifiedArnoldi::EV_update(
CopyArnoldiArrayToField(src);
m_equ[0]->TransCoeffToPhys();
m_equ[0]->SetTime(0.);
m_equ[0]->DoSolve();
if(m_EvolutionOperator == eTransientGrowth)
......@@ -321,6 +322,7 @@ void DriverModifiedArnoldi::EV_update(
CopyFwdToAdj();
m_equ[1]->TransCoeffToPhys();
m_equ[1]->SetTime(0.);
m_equ[1]->DoSolve();
}
......
......@@ -99,7 +99,7 @@ void AdjointAdvection::v_Advect(
for (int i = 0; i < ndim; ++i)
{
UpdateBase(m_slices, m_interp[i], m_baseflow[i],
time, m_period);
m_period-time, m_period);
UpdateGradBase(i, fields[i]);
}
}
......
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