|
[Sponsors] |
1.5 => 1.6: Matrix template - ODETest does not compile |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 14, 2009, 06:08 |
1.5 => 1.6: Matrix template - ODETest does not compile
|
#1 |
Senior Member
Mark Couwenberg
Join Date: Mar 2009
Location: Netherlands
Posts: 130
Rep Power: 17 |
Hello All,
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. Brgds, Mark |
|
November 26, 2013, 11:41 |
|
#2 |
Member
Camille Bilger
Join Date: Jul 2013
Posts: 43
Rep Power: 13 |
Hi markc,
I have exactly the same issue and would be grateful if you could share how you resolved this problem. Thank you very much. |
|
November 26, 2013, 18:00 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer - Mark's original issue was solved here: http://repo.or.cz/w/OpenFOAM-1.6.x.g...1b95655#patch6
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change in triangle::intersection breaks stitchMesh in 1.5 and 1.6 | gschaider | OpenFOAM Bugs | 7 | February 12, 2010 10:21 |
ChtMuliRegionFoam-Case (OF 1.6 Tutorial-case -> OF 1.5) | suitup | OpenFOAM | 15 | November 11, 2009 13:43 |
OpenFOAM version 1.6 details | lakeat | OpenFOAM Running, Solving & CFD | 42 | August 26, 2009 22:47 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |