operators in openfoam
When I add the following lines in fireFoam.C:
if(x > length)
I failed to compiled it successfully. The error message is:
mo match for 'operator>' in x > length
If I indeed would like this condition in if statements, how can modify the source file fireFoam.C? Can anybody help me ? My C++ skill is a little low.
Thank you in advance!
If you want to find the cells whose x-coordinates are greater than the value "length", you can use the following:
|All times are GMT -4. The time now is 02:32.|