Commit 2ddba25d authored by Douglas Serson's avatar Douglas Serson

Fix uses of UnsteadySystem where should be AdvectionSystem

parent 7eab21b4
......@@ -54,7 +54,7 @@ namespace Nektar
void CFLtester::v_InitObject()
{
UnsteadySystem::v_InitObject();
AdvectionSystem::v_InitObject();
m_velocity = Array<OneD, Array<OneD, NekDouble> >(m_spacedim);
std::vector<std::string> vel;
......@@ -242,7 +242,7 @@ namespace Nektar
void CFLtester::v_GenerateSummary(SummaryList& s)
{
UnsteadySystem::v_GenerateSummary(s);
AdvectionSystem::v_GenerateSummary(s);
}
......
......@@ -57,7 +57,8 @@ string APE::className = GetEquationSystemFactory().RegisterCreatorFunction(
APE::APE(
const LibUtilities::SessionReaderSharedPtr& pSession)
: UnsteadySystem(pSession)
: UnsteadySystem(pSession),
AdvectionSystem(pSession)
{
}
......@@ -67,7 +68,7 @@ APE::APE(
*/
void APE::v_InitObject()
{
UnsteadySystem::v_InitObject();
AdvectionSystem::v_InitObject();
// TODO: We have a bug somewhere in the 1D boundary conditions. Therefore 1D
// problems are currently disabled. This should get fixed in the future.
......@@ -292,7 +293,7 @@ bool APE::v_PreIntegrate(int step)
m_bfField->BwdTrans(tmpC, m_bf[i]);
}
return UnsteadySystem::v_PreIntegrate(step);
return AdvectionSystem::v_PreIntegrate(step);
}
/**
......
......@@ -38,6 +38,7 @@
#define NEKTAR_SOLVERS_APESOLVER_EQUATIONSYSTEMS_APE_H
#include <SolverUtils/UnsteadySystem.h>
#include <SolverUtils/AdvectionSystem.h>
#include <SolverUtils/Advection/Advection.h>
#include <SolverUtils/Forcing/Forcing.h>
#include <SolverUtils/RiemannSolvers/RiemannSolver.h>
......@@ -47,7 +48,7 @@ using namespace Nektar::SolverUtils;
namespace Nektar
{
class APE : public UnsteadySystem
class APE : public AdvectionSystem
{
public:
......
......@@ -55,7 +55,7 @@ namespace Nektar
void ImageWarpingSystem::v_InitObject()
{
UnsteadySystem::v_InitObject();
AdvectionSystem::v_InitObject();
// Define Velocity fields
m_velocity = Array<OneD, Array<OneD, NekDouble> >(m_spacedim);
......@@ -277,6 +277,6 @@ namespace Nektar
void ImageWarpingSystem::v_GenerateSummary(SolverUtils::SummaryList& s)
{
UnsteadySystem::v_GenerateSummary(s);
AdvectionSystem::v_GenerateSummary(s);
}
}
......@@ -200,7 +200,7 @@ namespace Nektar
*/
void VelocityCorrectionScheme::v_GenerateSummary(SolverUtils::SummaryList& s)
{
UnsteadySystem::v_GenerateSummary(s);
AdvectionSystem::v_GenerateSummary(s);
SolverUtils::AddSummaryItem(s,
"Splitting Scheme", "Velocity correction (strong press. form)");
......@@ -242,8 +242,7 @@ namespace Nektar
*/
void VelocityCorrectionScheme::v_DoInitialise(void)
{
UnsteadySystem::v_DoInitialise();
AdvectionSystem::v_DoInitialise();
// Set up Field Meta Data for output files
m_fieldMetaDataMap["Kinvis"] =
......
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