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

Bug compilation OpenFoam

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

Like Tree1Likes
  • 1 Post By olesen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2022, 18:50
Default Bug compilation OpenFoam
  #1
New Member
 
Boucetta Lahcene
Join Date: Feb 2022
Location: Paris
Posts: 22
Rep Power: 2
B6_lacen is on a distinguished road
Hello everyone,

I am currently working on reduced Order Models with ITHACAFV(c++ user developped library) , I made a modifcation in the c++ code and I have this error. (Modification: tried to initialize a submesh in class(ITHACAFVDEIM) definition in .c file using submesh(f(mesh)) command. where function f returns an autoPtr<fvMeshSubset>. An automatic Pointer object towards fvMeshSubset element. I don't know how to debug on OpenFoam. It would be great help if i had hints on this type of error.

Bonus question : How to we convert ore change an autoPtr<templ T> to a normal pointer?

Thank you.

Best regard,

MicrosoftTeams-image (1).png
B6_lacen is offline   Reply With Quote

Old   June 22, 2022, 06:05
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,503
Rep Power: 35
olesen will become famous soon enougholesen will become famous soon enough
Quote:
Originally Posted by B6_lacen View Post
Bonus question : How to we convert ore change an autoPtr<templ T> to a normal pointer?

Not sure why this is a "bonus question" when the answer is already documented:
https://www.openfoam.com/documentati..._1autoPtr.html
B6_lacen likes this.
olesen is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Compilation error (openFOAM v4.1) praveenSrinivas OpenFOAM Installation 2 September 30, 2019 19:40
OpenFOAM 4.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 2 October 6, 2017 06:40
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56
Cumulative patch for OpenFOAM 141 January 3rd 2007 msrinath80 OpenFOAM Bugs 6 January 4, 2008 11:12


All times are GMT -4. The time now is 02:50.