Skip to content

Commit

Permalink
Revert 'Add matrix view for Residuals and MarkerResiduals'
Browse files Browse the repository at this point in the history
  • Loading branch information
patelha57 committed Nov 3, 2023
1 parent 918181f commit 62f2969
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions SU2_CFD/include/drivers/CDriverBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,23 +454,6 @@ class CDriverBase {
"MarkerSolution of " + solver->GetSolverName(), false);
}

/*!
* \brief Get a read/write view of the residuals on all mesh nodes of a solver.
*/
inline CPyWrapperMatrixView Residuals(unsigned short iSolver) {
auto* solver = GetSolverAndCheckMarker(iSolver);
return CPyWrapperMatrixView(solver->LinSysRes, "Residuals of " + solver->GetSolverName(), false);
}

/*!
* \brief Get a read/write view of the residuals on the mesh nodes of a marker.
*/
inline CPyWrapperMarkerMatrixView MarkerResiduals(unsigned short iSolver, unsigned short iMarker) {
auto* solver = GetSolverAndCheckMarker(iSolver, iMarker);
return CPyWrapperMarkerMatrixView(solver->LinSysRes, main_geometry->vertex[iMarker], main_geometry->GetnVertex(iMarker),
"MarkerResiduals of " + solver->GetSolverName(), false);
}

/*!
* \brief Get a read/write view of the solution at time N on all mesh nodes of a solver.
*/
Expand Down

0 comments on commit 62f2969

Please sign in to comment.