openfoam 6.0与openfoam v1806代码编写区别记录

1、在Openfoam v1806中新建labelList和labelIOList类对象的方式与Openfoam 6.0不同:
Openfoam v1806:

labelList Gsize_BF(N_BF,0);

Openfoam 6.0:

Gsize_BF = new labelList(N_BF, 0);

2、在openfoam v1806中调用labelList和labelIOList类对象的方式与Openfoam 6.0不同:
Openfoam v1806:

Gsize_BF[i];

Openfoam 6.0:

Gsize_BF()[i];

注:该文章不定时补充。

你可能感兴趣的:(openfoam 6.0与openfoam v1806代码编写区别记录)