1.5 => 1.6: Matrix template - ODETest does not compile
with the change from version OF1.5 to 1.6, I encountered a problem when using code bits which I derived from ODETest (applications-test).
In OF 1.5 I was able to wmake ODETest without any problems. Doing this in 1.6 I get the following error message:
ODETest.C:72: error: wrong number of template arguments (1, should be 2)
OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/Matrix.H:55: error: provided for ‘template<classForm, class Type> class Foam::Matrix’
ODETest.C: In member function ‘void testODE::jacobian(Foam::scalar, const Foam::scalarField&, Foam::scalarField&, int&) const’:
This error message seems clear enough. In Matrix.H I see there is a declaration of Form (Matrix<Form, type>). However I do not know how to modify the code in order to make it work again for 1.6. Any help is greatly appreciated here.
I have exactly the same issue and would be grateful if you could share how you resolved this problem. Thank you very much.
Quick answer - Mark's original issue was solved here: http://repo.or.cz/w/OpenFOAM-1.6.x.g...1b95655#patch6
|All times are GMT -4. The time now is 16:27.|