openfoam/src/OpenFOAM/include
Mark Olesen dbfd1f90b1 ENH: add single-time handling to timeSelector
- the timeSelector is often used to select single or multiple times
  (eg, for post-processing). However, there are a few applications
  where only a *single* time should be selected and set.

  These are now covered by this type of use:

      timeSelector::addOptions_singleTime();  // Single-time options
      ...
      // Allow override of time from specified time options, or no-op
      timeSelector::setTimeIfPresent(runTime, args);

   In some cases, if can be desirable to force starting from the
   initial Time=0 when no time options have been specified:

      // Set time from specified time options, or force start from Time=0
      timeSelector::setTimeIfPresent(runTime, args, true);

   These changes make a number of includes redundant:

     * addTimeOptions.H
     * checkConstantOption.H
     * checkTimeOption.H
     * checkTimeOptions.H
     * checkTimeOptionsNoConstant.H

ENH: add time handling to setFields, setAlphaField (#3143)

    Co-authored-by: Johan Roenby <>

STYLE: replace instant("constant") with instant(0, "constant")

- avoids relying on atof parse behaviour returning zero
2024-05-06 22:22:42 +02:00
..
m4 ENH: make op names unambiguous 2022-04-29 11:44:28 +02:00
addAllRegionOptions.H ENH: minor simplifications for handling region meshes 2023-12-07 17:42:24 +01:00
addCheckCaseOptions.H ENH: argList improvements 2021-11-03 11:38:21 +01:00
addDictOption.H ENH: tag some options as 'advanced' (only shown with -help-full) 2018-07-31 11:54:15 +02:00
addFunctionObjectOptions.H STYLE: minor changes 2022-02-10 16:46:13 +01:00
addOverwriteOption.H ENH: tag some options as 'advanced' (only shown with -help-full) 2018-07-31 11:54:15 +02:00
addProfilingOption.H ENH: tag some options as 'advanced' (only shown with -help-full) 2018-07-31 11:54:15 +02:00
addRegionOption.H ENH: minor simplifications for handling region meshes 2023-12-07 17:42:24 +01:00
addTimeOptions.H ENH: add single-time handling to timeSelector 2024-05-06 22:22:42 +02:00
checkConstantOption.H ENH: add single-time handling to timeSelector 2024-05-06 22:22:42 +02:00
checkTimeOption.H ENH: add single-time handling to timeSelector 2024-05-06 22:22:42 +02:00
checkTimeOptions.H ENH: add single-time handling to timeSelector 2024-05-06 22:22:42 +02:00
checkTimeOptionsNoConstant.H ENH: add single-time handling to timeSelector 2024-05-06 22:22:42 +02:00
createMesh.H ENH: minor simplifications for handling region meshes 2023-12-07 17:42:24 +01:00
createMeshNoClear.H STYLE: make polyMesh constructor explicit 2021-05-12 11:24:57 +02:00
createNamedMesh.H ENH: minor simplifications for handling region meshes 2023-12-07 17:42:24 +01:00
createNamedMeshes.H ENH: add 'filtered' polyMesh regionName() method 2022-05-27 14:10:31 +02:00
createNamedPolyMesh.H ENH: minor simplifications for handling region meshes 2023-12-07 17:42:24 +01:00
createNamedPolyMeshes.H ENH: minor simplifications for handling region meshes 2023-12-07 17:42:24 +01:00
createPolyMesh.H ENH: centralized handling of -allRegions, -regions, -region (#2072) 2021-05-07 09:46:33 +02:00
createTime.H src/OpenFOAM: Moved function documentation comments into .H files and removed duplicates 2016-03-01 12:29:01 +00:00
demandDrivenData.H GIT: Header file updates 2019-10-31 14:48:44 +00:00
foamDlOpenLibs.H COMP: force dlOpen for windows application binaries (#1238) 2019-05-25 19:10:14 +02:00
foamVersion.H COMP: split endian.H into foamEndianFwd.H and foamEndian.H 2023-11-07 10:33:47 +01:00
getAllRegionOptions.H ENH: minor simplifications for handling region meshes 2023-12-07 17:42:24 +01:00
getRegionOption.H ENH: minor simplifications for handling region meshes 2023-12-07 17:42:24 +01:00
macros.H Merge commit 'e9219558d7' into develop-v1906 2019-12-05 11:47:19 +00:00
openfoam_mpi.H ENH: add wrapped accessor for MPI_Comm 2024-04-23 10:58:38 +02:00
OSspecific.H ENH: Foam::readLink(..) 2022-11-26 01:13:53 +01:00
setConstantMeshDictionaryIO.H ENH: support predicate checks for argList (similar to dictionary methods) 2020-06-02 13:51:18 +02:00
setConstantRunTimeDictionaryIO.H ENH: support predicate checks for argList (similar to dictionary methods) 2020-06-02 13:51:18 +02:00
setRootCase.H COMP: force dlOpen for windows application binaries (#1238) 2019-05-25 19:10:14 +02:00
setRootCaseListOptions.H BUG: inconsistent ifdef detection for application -listXXX options 2022-06-21 13:50:40 +02:00
setRootCaseListOutput.H BUG: inconsistent ifdef detection for application -listXXX options 2022-06-21 13:50:40 +02:00
setRootCaseLists.H ENH: consolidate handling of mandatory/optional command arguments 2018-12-13 01:45:09 +01:00
setSystemMeshDictionaryIO.H ENH: support predicate checks for argList (similar to dictionary methods) 2020-06-02 13:51:18 +02:00
setSystemRunTimeDictionaryIO.H ENH: support predicate checks for argList (similar to dictionary methods) 2020-06-02 13:51:18 +02:00
stdFoam.H ENH: extend VectorSpace traits to include pTraits_cmptType 2023-11-07 10:33:47 +01:00