mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: consistency improvements for surface patch handling (fixes #483)
- remove (unused) Istream constructors, prune some unused methods, rationalize write() vs writeDict(). Deprecate inconsistent construction order. - handle empty names for ".ftr" surface patches (for plain triSurface format) with double-quoted strings for more reliable streaming. Written on a single line. This is _backward_ compatible, but if users have been parsing these files manually, they will need to adjust their code. Previously: ``` ( frt-fairing:001%1 empty windshield:002%2 empty ... ) ``` Updated (with example handling of empty name): ``` ( frt-fairing:001%1 empty windshield:002%2 "" ... ) ```
This commit is contained in:
@ -588,7 +588,6 @@ DebugSwitches
|
||||
generic 0;
|
||||
genericPatch 0;
|
||||
geomCellLooper 0;
|
||||
geometricSurfacePatch 0;
|
||||
global 0;
|
||||
globalIndexAndTransform 0;
|
||||
globalMeshData 0;
|
||||
@ -880,7 +879,6 @@ DebugSwitches
|
||||
surfaceInterpolationScheme 0;
|
||||
surfaceIntersection 0;
|
||||
surfaceNormalFixedValue 0;
|
||||
surfacePatch 0;
|
||||
surfaceScalarField 0;
|
||||
surfaceScalarField::Internal 0;
|
||||
surfaceSlipDisplacement 0;
|
||||
|
||||
Reference in New Issue
Block a user