CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

1.5 => 1.6: Matrix template - ODETest does not compile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2009, 05:08
Default 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
markc is on a distinguished road
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
markc is offline   Reply With Quote

Old   November 26, 2013, 10:41
Default
  #2
Member
 
Camille Bilger
Join Date: Jul 2013
Posts: 43
Rep Power: 12
kmou is on a distinguished road
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.
kmou is offline   Reply With Quote

Old   November 26, 2013, 17:00
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer - Mark's original issue was solved here: http://repo.or.cz/w/OpenFOAM-1.6.x.g...1b95655#patch6
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 09:21
ChtMuliRegionFoam-Case (OF 1.6 Tutorial-case -> OF 1.5) suitup OpenFOAM 15 November 11, 2009 12:43
OpenFOAM version 1.6 details lakeat OpenFOAM Running, Solving & CFD 42 August 26, 2009 21:47
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 15:48.