Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
最近在看compressibleInterFoam时遇到一个问题,在compressibleAlphaEqnSubCycle.H文件中有这样一句话
rho == alpha1*rho1 + alpha2*rho2;
C++中==不是判断是否相等的一个运算符吗,如果是赋值,那这里不应该是用=吗
@tens 操作符重载了。你可以简单的理解为就是等号。但是==对边界条件也会更正。你可以简单的理解为就是等号。
@李东岳 谢谢东岳老师