multiphaseEuler::phaseModel: Changed the phase-fraction field construction to work around a problem with Clang The Clang compiler does not use std::move to transfer the result of the ternary operator into the phase-fraction field resulting in it not being registered to the database. To work around this limitation/bug the ternary operator is now provided with tmp fields the result of which is passed with an IOobject to the final field constructor to ensure it is registered and the IO options set correctly.
multiphaseEuler::phaseModel: Changed the phase-fraction field construction to work around a problem with Clang
The Clang compiler does not use std::move to transfer the result of the ternary operator into the phase-fraction field resulting in it not being registered to the database. To work around this limitation/bug the ternary operator is now provided with tmp fields the result of which is passed with an IOobject to the final field constructor to ensure it is registered and the IO options set correctly.
开源的场运算和处理软件
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号