openfoam/applications/utilities/postProcessing/dataConversion/foamToVTK
Mark Olesen 730ce92b68 ENH: handle try-construct faMesh (#2399)
- a try/catch approach is not really robust enough (or even possible)
  since read failures likely do not occur on all ranks simultaneously.
  This leads to situations where the master has thrown an exception
  (and thus exiting the current routine) while other ranks are still
  waiting to receive data and the program blocks completely.

  Since this primarily affects data conversion routines such as
  foamToEnsight etc, treat similarly to lagrangian: check for the
  existence of essential files before proceeding or not. This is
  wrapped into a TryNew factory method:

      autoPtr<faMesh> faMeshPtr(faMesh::TryNew(mesh));
      if (faMeshPtr) ...
2022-03-12 21:16:30 +01:00
..
Make COMP: relocate regionProperties to meshTools 2019-09-20 14:06:30 -07:00
convertAreaFields.H ENH: handle try-construct faMesh (#2399) 2022-03-12 21:16:30 +01:00
convertLagrangian.H STYLE: broadcast instead of combineScatter/listCombineScatter/mapCombineScatter 2022-03-12 21:16:30 +01:00
convertProcessorPatches.H ENH: centralized handling of -allRegions, -regions, -region (#2072) 2021-05-07 09:46:33 +02:00
convertSurfaceFields.H BUG: face flips lost on foamToVTK faceZone output 2021-10-29 17:04:51 +02:00
convertTopoSet.H ENH: centralized handling of -allRegions, -regions, -region (#2072) 2021-05-07 09:46:33 +02:00
convertVolumeFields.H BUG: foamToVTK patch/proc ids missing if there are no volume fields 2021-09-27 13:18:27 +02:00
createMeshAccounting.H ENH: centralized handling of -allRegions, -regions, -region (#2072) 2021-05-07 09:46:33 +02:00
foamToVTK.C ENH: 'foamToVTK -finite-area' option (compat: -finiteAreaFields) 2021-05-19 18:16:05 +02:00
readFields.C STYLE: avoid deprecation warnings for autoPtr set() method 2022-01-24 12:26:38 +01:00
readFields.H GIT: Header file updates 2019-10-31 14:48:44 +00:00
reportFields.H GIT: Header file updates 2019-10-31 14:48:44 +00:00
writeAreaFields.H STYLE: avoid deprecation warnings for autoPtr set() method 2022-01-24 12:26:38 +01:00
writeDimFields.H STYLE: avoid deprecation warnings for autoPtr set() method 2022-01-24 12:26:38 +01:00
writePointFields.H STYLE: avoid deprecation warnings for autoPtr set() method 2022-01-24 12:26:38 +01:00
writeSurfaceFields.H BUG: face flips lost on foamToVTK faceZone output 2021-10-29 17:04:51 +02:00
writeVolFields.H STYLE: avoid deprecation warnings for autoPtr set() method 2022-01-24 12:26:38 +01:00