ENH: cleanup/reorganize surfaceWriter and fileFormats

- remove unused surfaceWriter constructors, noexcept on methods

- relocate/rename writerCaching from surfMesh -> fileFormats

- changed from surfaceWriters::writerCaching to
  ensightOutput::writerCaching to permit reuse elsewhere

- relocate static output helpers to ensightCase

- refactor NAS coordinate writing
This commit is contained in:
Mark Olesen
2022-01-26 13:34:01 +01:00
parent 731e276e21
commit 295822daa6
56 changed files with 613 additions and 608 deletions

View File

@ -191,11 +191,11 @@ int main(int argc, char *argv[])
const scalar scaleFactor = args.getOrDefault<scalar>("scale", 1);
// Default to binary output, unless otherwise specified
const IOstream::streamFormat format =
const IOstreamOption::streamFormat format =
(
args.found("ascii")
? IOstream::ASCII
: IOstream::BINARY
? IOstreamOption::ASCII
: IOstreamOption::BINARY
);
// Increase the precision of the points data

View File

@ -90,11 +90,11 @@ int main(int argc, char *argv[])
// Binary output, unless otherwise specified
const IOstream::streamFormat format =
const IOstreamOption::streamFormat format =
(
args.found("ascii")
? IOstream::ASCII
: IOstream::BINARY
? IOstreamOption::ASCII
: IOstreamOption::BINARY
);
// increase the precision of the points data

View File

@ -96,11 +96,11 @@ int main(int argc, char *argv[])
Time runTime(args.rootPath(), args.caseName());
// Binary output, unless otherwise specified
const IOstream::streamFormat format =
const IOstreamOption::streamFormat format =
(
args.found("ascii")
? IOstream::ASCII
: IOstream::BINARY
? IOstreamOption::ASCII
: IOstreamOption::BINARY
);
// Increase the precision of the points data

View File

@ -308,11 +308,11 @@ int main(int argc, char *argv[])
// Configuration
// Default to binary output, unless otherwise specified
const IOstream::streamFormat format =
const IOstreamOption::streamFormat format =
(
args.found("ascii")
? IOstream::ASCII
: IOstream::BINARY
? IOstreamOption::ASCII
: IOstreamOption::BINARY
);
const bool doBoundary = !args.found("no-boundary");