From 1842e652324793224a90f9351b302f21d85ba1b7 Mon Sep 17 00:00:00 2001 From: Gianmarco Mengaldo Date: Wed, 5 Mar 2014 17:03:41 +0000 Subject: [PATCH] Updated calls to EvaluateBoundaryConditions in some solvers. --- solvers/APESolver/EquationSystems/APE.cpp | 2 +- .../IncNavierStokesSolver/EquationSystems/IncNavierStokes.cpp | 2 +- solvers/PulseWaveSolver/EquationSystems/PulseWaveSystem.cpp | 2 +- solvers/ShallowWaterSolver/EquationSystems/LinearSWE.cpp | 2 +- solvers/ShallowWaterSolver/EquationSystems/NonlinearSWE.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/solvers/APESolver/EquationSystems/APE.cpp b/solvers/APESolver/EquationSystems/APE.cpp index c7efd73af..378d2bbf0 100755 --- a/solvers/APESolver/EquationSystems/APE.cpp +++ b/solvers/APESolver/EquationSystems/APE.cpp @@ -259,7 +259,7 @@ namespace Nektar for (int i = 0; i < nvariables; ++i) { varName = m_session->GetVariable(i); - m_fields[i]->EvaluateBoundaryConditions(time, i, varName); + m_fields[i]->EvaluateBoundaryConditions(time, varName); } } cnt +=m_fields[0]->GetBndCondExpansions()[n]->GetExpSize(); diff --git a/solvers/IncNavierStokesSolver/EquationSystems/IncNavierStokes.cpp b/solvers/IncNavierStokesSolver/EquationSystems/IncNavierStokes.cpp index e23f8ff22..e9a72d51f 100644 --- a/solvers/IncNavierStokesSolver/EquationSystems/IncNavierStokes.cpp +++ b/solvers/IncNavierStokesSolver/EquationSystems/IncNavierStokes.cpp @@ -381,7 +381,7 @@ namespace Nektar SpatialDomains::eTimeDependent) { varName = m_session->GetVariable(i); - m_fields[i]->EvaluateBoundaryConditions(time, i, varName); + m_fields[i]->EvaluateBoundaryConditions(time, varName); } } diff --git a/solvers/PulseWaveSolver/EquationSystems/PulseWaveSystem.cpp b/solvers/PulseWaveSolver/EquationSystems/PulseWaveSystem.cpp index 66c057d2c..317a559f2 100755 --- a/solvers/PulseWaveSolver/EquationSystems/PulseWaveSystem.cpp +++ b/solvers/PulseWaveSolver/EquationSystems/PulseWaveSystem.cpp @@ -739,7 +739,7 @@ namespace Nektar std::string varName = m_session->GetVariable(i); for (int k = 0; kEvaluateBoundaryConditions(m_time, i, varName); + m_vessels[k]->EvaluateBoundaryConditions(m_time, varName); } // Detect special network boundary conditions diff --git a/solvers/ShallowWaterSolver/EquationSystems/LinearSWE.cpp b/solvers/ShallowWaterSolver/EquationSystems/LinearSWE.cpp index 05d2751e9..cf058d1e8 100644 --- a/solvers/ShallowWaterSolver/EquationSystems/LinearSWE.cpp +++ b/solvers/ShallowWaterSolver/EquationSystems/LinearSWE.cpp @@ -392,7 +392,7 @@ namespace Nektar for (int i = 0; i < nvariables; ++i) { varName = m_session->GetVariable(i); - m_fields[i]->EvaluateBoundaryConditions(time, i, varName); + m_fields[i]->EvaluateBoundaryConditions(time, varName); } } cnt += m_fields[0]->GetBndCondExpansions()[n]->GetExpSize(); diff --git a/solvers/ShallowWaterSolver/EquationSystems/NonlinearSWE.cpp b/solvers/ShallowWaterSolver/EquationSystems/NonlinearSWE.cpp index d919bc613..26569f769 100644 --- a/solvers/ShallowWaterSolver/EquationSystems/NonlinearSWE.cpp +++ b/solvers/ShallowWaterSolver/EquationSystems/NonlinearSWE.cpp @@ -437,7 +437,7 @@ namespace Nektar for (int i = 0; i < nvariables; ++i) { varName = m_session->GetVariable(i); - m_fields[i]->EvaluateBoundaryConditions(time, i, varName); + m_fields[i]->EvaluateBoundaryConditions(time, varName); } } cnt += m_fields[0]->GetBndCondExpansions()[n]->GetExpSize(); -- GitLab