Commit 016ef65c authored by Chris Cantwell's avatar Chris Cantwell

Merge branch 'fixtimeAdjointAdvection' into 'master'

use T-t instead of t in AdjointAdvection

See merge request !1133
parents c9874270 8c12a215
......@@ -21,6 +21,9 @@ v5.0.1
- Fix incorrect coordinate dimension used in history point filter (!1118)
- Fix compile errors with GCC 9.x (!1108)
**IncNavierStokesSolver**
- Change the baseflow time in the Adjoint advection (!1133)
**NekMesh**
- Fix compile errors when using intel cc (!1114)
......
......@@ -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