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

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

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 7
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
New Member
 
Camille Bilger
Join Date: Jul 2013
Posts: 15
Rep Power: 3
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,997
Blog Entries: 32
Rep Power: 69
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
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

Thread Tools
Display Modes

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 On
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 23:31.