ENH: cleanup ensight surface reader (#2535)

- some central (core) bits under fileFormats,

- general surface reading relocated from sampling to surfMesh since it
  does not use any sampling-specific components and will permit
  re-use in meshTools (for example)

- remove old mask, subDir methods from ensightFile which were
  previously relocated to ensightCase

- improve handling of 'undef' values when generating and reading,
  respect Ensight component ordering when reading.
This commit is contained in:
Mark Olesen
2022-07-14 16:37:04 +02:00
parent c4d18e97a3
commit b4612b4c04
26 changed files with 440 additions and 438 deletions

View File

@ -31,7 +31,7 @@ License
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
void Foam::ensightGeoFile::initialize()
void Foam::ensightGeoFile::init()
{
writeBinaryHeader();
@ -61,7 +61,7 @@ Foam::ensightGeoFile::ensightGeoFile
:
ensightFile(pathname, fmt)
{
initialize();
init();
}
@ -74,7 +74,7 @@ Foam::ensightGeoFile::ensightGeoFile
:
ensightFile(path, name, fmt)
{
initialize();
init();
}