OpenFOAM: v1812 released! - For more information see https://www.openfoam.com/releases/openfoam-v1812

  • Mark Olesen's avatar
    STYLE: reduced usage of Switch · fb5e5509
    Mark Olesen authored
    - Since 'bool' and 'Switch' use the _identical_ input mechanism
      (ie, both accept true/false, on/off, yes/no, none, 1/0), the main
      reason to prefer one or the other is the output.
    
      The output for Switch is as text (eg, "true"), whereas for bool
      it is label (0 or 1). If the output is required for a dictionary,
      Switch may be appropriate. If the output is not required, or is only
      used for Pstream exchange, bool can be more appropriate.
    fb5e5509
Name
Last commit
Last update
..
sampledDistanceSurface.C Loading commit data...
sampledDistanceSurface.H Loading commit data...
sampledDistanceSurfaceTemplates.C Loading commit data...