|
|
|
<!-- --- title: Developer Upgrade Guide (OpenFOAM-v1712) -->
|
|
|
|
|
|
|
|
[![home](/icons/home.svg "wiki home")](/home)
|
|
|
|
[![upgrade](/icons/chevrons-up.svg "upgrade guide")][upgrade-guide]
|
|
|
|
[![code](/icons/code.svg "coding patterns")][code-patterns]
|
|
|
|
|
|
|
|
[[_TOC_]]
|
|
|
|
|
|
|
|
## Strings
|
|
|
|
|
|
|
|
The special `operator()` for string classes has been removed as being unnecessary since it only duplicated the standard `substr` method and made the code less clear.
|
|
|
|
|
|
|
|
Previously:
|
|
|
|
|
|
|
|
```
|
|
|
|
a = b(10);
|
|
|
|
```
|
|
|
|
Now:
|
|
|
|
|
|
|
|
```
|
|
|
|
a = b.substr(10);
|
|
|
|
```
|
|
|
|
|
|
|
|
## Lists
|
|
|
|
|
|
|
|
The rarely used, special purpose `readList<T>` function has been removed and replaced with more robust solutions.
|
|
|
|
|
|
|
|
## Conversion
|
|
|
|
The `ccm26ToFoam` application has now been removed. If you have access to the underlying libraries, the `ccmToFoam` and `foamToCcm` provide better solutions.
|
|
|
|
|
|
|
|
|
|
|
|
[code-patterns]: /coding/patterns/patterns
|
|
|
|
[upgrade-guide]: /upgrade/upgrade
|
|
|
|
|
|
|
|
[v1712-notes]: https://www.openfoam.com/releases/openfoam-v1712/ |