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-...
Showing
- applications/test/IOField/Test-IOField.cxx 0 additions, 3 deletionsapplications/test/IOField/Test-IOField.cxx
- applications/test/PatchTools/Test-PatchTools.C 0 additions, 1 deletionapplications/test/PatchTools/Test-PatchTools.C
- applications/test/checkDecomposePar/Test-checkDecomposePar.C 13 additions, 11 deletionsapplications/test/checkDecomposePar/Test-checkDecomposePar.C
- applications/test/extendedStencil/Test-ExtendedStencil.C 6 additions, 5 deletionsapplications/test/extendedStencil/Test-ExtendedStencil.C
- applications/test/extendedStencil/Test-ExtendedStencil2.C 8 additions, 5 deletionsapplications/test/extendedStencil/Test-ExtendedStencil2.C
- applications/test/fieldMapping/Make/options 1 addition, 0 deletionsapplications/test/fieldMapping/Make/options
- applications/test/fieldMapping/Test-fieldMapping.C 18 additions, 6 deletionsapplications/test/fieldMapping/Test-fieldMapping.C
- applications/test/hexRef8/Make/options 1 addition, 0 deletionsapplications/test/hexRef8/Make/options
- applications/test/hexRef8/Test-hexRef8.C 17 additions, 7 deletionsapplications/test/hexRef8/Test-hexRef8.C
- applications/test/mappedPatch/Test-MappedPatch.C 0 additions, 1 deletionapplications/test/mappedPatch/Test-MappedPatch.C
- applications/utilities/mesh/conversion/ccm/foamToCcm/foamToCcm.C 1 addition, 1 deletion...tions/utilities/mesh/conversion/ccm/foamToCcm/foamToCcm.C
- applications/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C 1 addition, 1 deletion...cations/utilities/mesh/conversion/gmshToFoam/gmshToFoam.C
- applications/utilities/mesh/manipulation/renumberMesh/renumberMesh.C 16 additions, 11 deletions...s/utilities/mesh/manipulation/renumberMesh/renumberMesh.C
- applications/utilities/mesh/manipulation/setsToZones/setsToZones.C 4 additions, 4 deletions...ons/utilities/mesh/manipulation/setsToZones/setsToZones.C
- applications/utilities/mesh/manipulation/topoSet/topoSet.C 2 additions, 2 deletionsapplications/utilities/mesh/manipulation/topoSet/topoSet.C
- applications/utilities/postProcessing/dataConversion/foamToTetDualMesh/foamToTetDualMesh.C 9 additions, 6 deletions...sing/dataConversion/foamToTetDualMesh/foamToTetDualMesh.C
- applications/utilities/postProcessing/lumped/lumpedPointMovement/lumpedPointMovement.C 1 addition, 1 deletion...ocessing/lumped/lumpedPointMovement/lumpedPointMovement.C
- applications/utilities/postProcessing/lumped/lumpedPointZones/lumpedPointZones.C 1 addition, 1 deletion...postProcessing/lumped/lumpedPointZones/lumpedPointZones.C
- applications/utilities/preProcessing/setAlphaField/setAlphaField.C 11 additions, 1 deletion...ons/utilities/preProcessing/setAlphaField/setAlphaField.C
- applications/utilities/preProcessing/setFields/setFields.C 13 additions, 1 deletionapplications/utilities/preProcessing/setFields/setFields.C
Please register or sign in to comment