45 : m_schemeAlgorithm(schemeAlgorithm),
46 m_solVector(m_schemeAlgorithm->m_numsteps),
47 m_t(m_schemeAlgorithm->m_numsteps),
48 m_setflag(m_schemeAlgorithm->m_numsteps)
51 size_t nvar = y.size();
52 size_t npoints = y[0].size();
54 for (
size_t i = 0; i < nsteps; i++)
57 for (
size_t j = 0; j < nvar; j++)
67 if (i < nMultiStepVals)
69 m_t[i] = time - i * timestep;
83 : m_schemeAlgorithm(schemeAlgorithm),
84 m_solVector(schemeAlgorithm->m_numsteps),
85 m_t(schemeAlgorithm->m_numsteps),
86 m_setflag(m_schemeAlgorithm->m_numsteps, true)
91 for (
size_t j = 0; j < nvar; j++)
100 : m_schemeAlgorithm(schemeAlgorithm),
101 m_solVector(m_schemeAlgorithm->m_numsteps),
102 m_t(m_schemeAlgorithm->m_numsteps),
103 m_setflag(m_schemeAlgorithm->m_numsteps, false)
size_t GetNmultiStepValues() const
LUE TimeIntegrationSolutionGLM(const TimeIntegrationAlgorithmGLM *schemeAlgorithm, const DoubleArray &y, const NekDouble time, const NekDouble timestep)
Array< OneD, NekDouble > m_t
const TimeIntegrationAlgorithmGLM * m_schemeAlgorithm
Array< OneD, bool > m_setflag
void Vcopy(int n, const T *x, const int incx, T *y, const int incy)