I'm going to use 'mapInlet.H'
I'm going to use 'mapInlet.H' from version 1.1 in 1.2, but there is a problem. In 1.1, for the same case, the result of following sentence is "true", but in 1.2, the outcome is "false".
if (planeMapping && targetPatchNamePresent && cut.cut())
// some code
I know for sure that both planeMapping and targetPatchNamePresent are true in both 1.1 and 1.2, but I guess there is a problem so 1.2 doesn't recognize "cut.cut()" and it returns false.
I suspect this is because of some changes in the 1.2, what I should put instead if "cut.cut()" to make it working in 1.2?
You could check the source cod
You could check the source code. What type is cut? Wasn't it a cuttingPlane? (sampling library)
Mattijs, Yes 'cut' is 'cut
Yes 'cut' is 'cuttingPlane' type. I found no change of syntax between 1.1 and 1.2. I shifted the position of my
mapping plane sligtly and it worked. It might be that I am cutting exactly between two cell layers, which could cause the cutting algorithm to fail.
But the thing is I have exact same location of mapping (two identical cases) and 1.1 works without any problem, but 1.2 does not work, I'm still puzzled.
Anyhow, just shifting mapping location solves the problem but it's still odd.
Can you create a simple testca
Can you create a simple testcase which shows this behaviour? The 1.2 code should be at least as good as the 1.1 code (but much faster)
|All times are GMT -4. The time now is 22:45.|