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).
请教各位前辈:
针对成员函数: 定义: 返回值: 报错:
但直接返回: 计算没问题,不知问题出在哪里
@Zhy2022 因为tmp<volScalarField> 是个指针,而你的pc是个volScalarField 变量.
@Yongbo 谢谢