Skip to content
  • Mark OLESEN's avatar
    ENH: consolidate 'formatOptions' handling for coordSetWriter/surfaceWriter · 5b29ff0e
    Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
    - replaced ad hoc handling of formatOptions with coordSetWriter and
      surfaceWriter helpers.
    
      Accompanying this change, it is now possible to specify "default"
      settings to be inherited, format-specific settings and have a
      similar layering with surface-specific overrides.
    
    - snappyHexMesh now conforms to setFormats
    
      Eg,
    
          formatOptions
          {
              default
              {
                  verbose     true;
                  format      binary;
              }
              vtk
              {
                  precision   10;
              }
         }
    
         surfaces
         {
             surf1
             {
                 ...
    
                 formatOptions
                 {
                     ensight
                     {
                         scale   1000;
                     }
                 }
             }
         }
    5b29ff0e