Possible bug in OpenFoam Interpolation class
Hello everybody,
I'm currrently using the class interpolationCellPoint, but I experienced a strange behaviour in its usage. I'm using this class in two different ways: - the first, I declare an object Uinter of class interpolationCellPoint in the header file of my custom class: Code:
#include "interpolationCellPoint.H" // need by Uinter Code:
#include "myClass.h" Code:
#include "myClass.h" - the second, I declare and define the variable Uinter of class intersectioCellPoint directly inside the velInterp function, so it is no more a myClass public member, but it borns and dies directly inside the function: Code:
#include "myClass.h" I can't figure out the reason for this discrepancy in the results. Is it my fault or have I found a bug? |
I forgot to mention that I'm using openfoam 2.2.2.
|
Greetings Matteo,
Without a complete test case (case + application source code) for easily+quickly testing this, it's very hard for anyone to be able to answer to your question(s), without taking several hours to set-up an identical code structure and test case. Best regards, Bruno |
All times are GMT -4. The time now is 00:00. |