Adding non-static function to Foam::myPCG::solve?
Hello,
I get the following compile error: myPCG.C: In member function ‘virtual Foam::solverPerformance Foam::myPCG::solve(Foam::scalarField&, const scalarField&, Foam::direction) const’:myPCG.C:171:33: error: invalid use of non-static member function ldu2ublas(matrix, ublas_matrix); Code:
Foam::solverPerformance Foam::myPCG::solve Where/How must I introduce the function so it can be used in the solve section in PCG.C? Klaus |
All times are GMT -4. The time now is 08:58. |