|
[Sponsors] |
June 20, 2022, 17:50 |
Bug compilation OpenFoam
|
#1 |
New Member
Boucetta Lahcene
Join Date: Feb 2022
Location: Paris
Posts: 22
Rep Power: 4 |
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 |
|
June 22, 2022, 05:05 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40 |
Quote:
Not sure why this is a "bonus question" when the answer is already documented: https://www.openfoam.com/documentati..._1autoPtr.html |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Compilation error (openFOAM v4.1) | praveenSrinivas | OpenFOAM Installation | 2 | September 30, 2019 18:40 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 05: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 06:25 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 05:56 |
Cumulative patch for OpenFOAM 141 January 3rd 2007 | msrinath80 | OpenFOAM Bugs | 6 | January 4, 2008 10:12 |