Identify unknown function (boundMinMax) and include Header file
I have a function which definition is unknown while compiling the code.
Is is called boundMinMax and takes three inputs.
Does anybody know which H.-file I have to include to make the compilation work?
You could have at least mentioned the OpenFOAM version you were using! :rolleyes:
According to google:
I'm using version 1.7.1 in which boundMinMax is not included in bound.H any more. Instead there is only the function bound, which looks like having a different kind of input.
Do you know how the new bound-function works?
Oddly enough, the official OpenFOAM apparently can survive without bounding the maximum value. It has done this since at least version 1.4.1. And the bound function works as simply as if were named boundMin; bound also exists in 1.5-dev and 1.6-ext.
So, basically, if your code already uses boundMinMax, then take out the maximum value. But if you see it still needs to bind the maximum value, either reimplement the code from the OpenFOAM variant -dev or -ext, or negate the scalar field and bind the negative maximum to it!
I did a bit more digging and found that boundMinMax is only used in "src/sampling/boundField/boundField.C" in 1.5-dev and 1.6-ext... so no wonder that only bound exists in the original code, as well as in the variants...
|All times are GMT -4. The time now is 01:56.|