85e246b8f2
BUG: profiling dictionary could be binary/compressed ( fixed #157 )
...
BUG: memInfo not activated by -profiling option (fixed #157 )
2016-06-22 17:20:15 +02:00
37bf28c249
STYLE: rename Profiling -> profiling
2016-06-20 21:20:31 +02:00
be73d81a22
ENH: support '-profiling' command-line option
...
- this option overrides any controlDict settings as a convenient means
to selecting profiling without messing with the controlDict.
- provide Profiling::writeNow() to emit profiling for utilities that
don't have any natural time increment mechanism to trigger it.
2016-06-17 23:45:03 +02:00
2dc31390df
ENH: add some system information when outputting profiling
...
- basic cpuInfo (model identification, MHz, etc)
- process memInfo
- profiling is activated via the case system/controlDict by
adding a "profiling" sub-dictionary.
Simply add the following (everything enabled):
profiling
{}
Which corresponds to the longer form:
profiling
{
active true; // default: true
cpuInfo true; // default: true
memInfo true; // default: true
sysInfo true; // default: true
}
This can be used to selectively disable any extra information
(eg, you don't want anyone else to know what hardware was used).
2016-06-15 20:17:44 +02:00
ef34e60e2d
ENH: add profiling code from Bernhard Gschaider
...
- activate via the case's <system/controlDict>:
profiling yes;
2016-06-08 16:38:10 +01:00
9ab102bce3
STYLE: reduce code duplication in Time.C
2016-06-08 16:33:46 +01:00
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
3963149c05
src/OpenFOAM: Moved function documentation comments into .H files and removed duplicates
2016-02-29 21:21:41 +00:00
9e3ce4ec7f
Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus into feature-shared-file
...
Conflicts:
applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C
applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/pointFile/pointFile.C
applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C
applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamUpdateInfo.C
applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/vtkPV4Foam/vtkPV4FoamUpdateInfo.C
applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C
applications/utilities/postProcessing/velocityField/Co/Co.C
applications/utilities/postProcessing/velocityField/Pe/Pe.C
applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C
applications/utilities/preProcessing/changeDictionary/changeDictionary.C
applications/utilities/preProcessing/setFields/setFields.C
applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C
applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C
applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C
applications/utilities/surface/surfaceRedistributePar/surfaceRedistributePar.C
src/OpenFOAM/db/IOobject/IOobject.C
src/OpenFOAM/db/IOobjects/CompactIOList/CompactIOList.C
src/OpenFOAM/db/IOobjects/IOField/IOField.C
src/OpenFOAM/db/IOobjects/IOList/IOList.C
src/OpenFOAM/db/IOobjects/IOPtrList/IOPtrList.C
src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionary.C
src/OpenFOAM/db/Time/findInstance.C
src/OpenFOAM/db/regIOobject/regIOobject.C
src/OpenFOAM/db/regIOobject/regIOobjectI.H
src/OpenFOAM/db/regIOobject/regIOobjectRead.C
src/OpenFOAM/db/regIOobject/regIOobjectWrite.C
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/IOmapDistribute.C
src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
src/dynamicMesh/fvMeshDistribute/IOmapDistributePolyMesh.C
src/dynamicMesh/motionSolver/componentDisplacement/componentDisplacementMotionSolver.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/refinementHistory.C
src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.C
src/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C
src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C
src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C
src/lagrangian/basic/Cloud/CloudIO.C
src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C
src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
src/postProcessing/functionObjects/field/readFields/readFieldsTemplates.C
src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C
src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
2016-01-25 16:29:04 +00:00
e424059208
ENH: glboal file handling: initial commit
...
Moved file path handling to regIOobject and made it type specific so
now every object can have its own rules. Examples:
- faceZones are now processor local (and don't search up anymore)
- timeStampMaster is now no longer hardcoded inside IOdictionary
(e.g. uniformDimensionedFields support it as well)
- the distributedTriSurfaceMesh is properly processor-local; no need
for fileModificationChecking manipulation.
2016-01-25 13:03:15 +00:00
8f1d043364
GIT: Resolved conflict
2015-12-09 09:32:38 +00:00
3e5da0bcf2
ENH: functionObjects: call execute on last time step
...
- old convention was that on last time step it would only call end()
and not execute()
- however this meant that e.g. the functionObjectProperties file
did not get written
- and almost all functionObjects were doing an execute() inside of end()
- new convention: call execute() on last time step, just before doing end()
2015-12-03 17:39:34 +00:00
dc43311e62
src/OpenFOAM: Update ...IOErrorIn -> ...IOErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 21:13:04 +00:00
36ca836f28
Time: Correct precision adjustment for user-time
2015-05-20 12:43:54 +01:00
c28036665d
potentialFoam: No longer executes functionObjects by default
...
Use the new -withFunctionObjects command-line option to execute functionObjects
2015-04-25 21:56:14 +01:00
ddb82aa14c
Time: Corrected message when maximum time-precision is reached
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=815
2015-03-22 09:48:49 +00:00
3c2679c4bd
Time: Adjust the precision of the time-directories only for write-times
...
Avoids unnecessary increases in precision during intermediate steps for
cases with adjustable time-step which may require very high precision to
represent the time name.
2015-03-15 18:49:52 +00:00
5c21051349
Time: Increase the precision the value entry is written in uniform/time
...
Add check for round-off error causing time reversal
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=815
2015-03-14 20:33:51 +00:00
b6e5ecc45f
Time: Improved tolerance used to test time equivalence from Bruno
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=815
2015-03-08 21:02:51 +00:00
beb27a76a7
Update headers
2015-03-08 16:31:32 +00:00
7f3fb82ba0
Time: Handle precision changes on start-up and running more robustly
...
Changes based on patches from and discussions with Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=815
2015-03-08 16:29:01 +00:00
b6fbff5229
Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
2013-09-09 15:37:02 +01:00
0752591f4a
ENH: Time: fast time comparison
2013-09-09 15:36:51 +01:00
2d773bc089
ENH: adding hook adjustTimeStep to function objects. The hook is called in
...
Time::adjustDeltaT(). It allows function objects to manipulate the time step to
dump at adjustable times. The following options are available for output in
function objects: timeStep, outputTime, adjustableTime, runTime, clockTime
and cpuTime.
2013-09-09 14:13:21 +01:00
a50d78ea93
EMH: Adding a hook to functionObject called 'timeSet' at the
...
end of Time::operator++. This allows to know if the next timeIndex will be
a dumping time. The function object "partialWrite" modifyes the write option
of the those fields which will be written down at given intervals of the overall
outout times.
2013-06-07 10:11:07 +01:00
dfb16a0468
Time: set runTimeModifiable off by default
2013-01-17 11:06:20 +00:00
f2d25c5e2c
Time: set runTimeModifiable off by default
2013-01-17 11:06:14 +00:00
8e968f5647
STYLE: debug: move debug declaration into Foam namespace
2012-12-11 09:33:20 +00:00
e8ff31f9e8
ENH: Time: use constant(), time() instead of hardcoded strings
2012-12-06 08:24:54 +00:00
1b884d0e37
ENH: Time: have secondaryPurgeWrite
2012-11-16 13:05:13 +00:00
e4f7c306ab
BUG: Time: have separate timer for secondary write interval
2012-10-16 14:15:14 +01:00
f3590edfa0
BUG: Time: restart with non-standard Time (e.g. engineTime) compared values instead of names.
2012-02-23 14:55:28 +00:00
8691b18271
OpenFOAM/Time: updated the setting of deltaT on restart
...
Use the deltaT in the controlDict if "adjustTimeStep" is not present or set
otherwise use that in the "uniform/time" file
2012-01-30 16:03:04 +00:00
81ba434cc1
ENH: Time.C: warn for same timename
2012-01-26 09:42:45 +00:00
df916fb923
ENH: Time.C: compare based on current time precision
2011-11-30 17:55:33 +00:00
8558af2cdf
COMP: 64bit label changes
2011-11-28 11:10:46 +00:00
5f587a080a
Time: Corrected the restart of deltaT for cases with variable time-step
2011-11-03 16:35:25 +00:00
3829ca5660
ENH: Time: check restart time value.
2011-10-21 14:16:53 +01:00
99c860d2e2
ENH: Time: secondary write controls, signal handling
2011-10-05 17:31:12 +01:00
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
da836edfc1
ENH: argList: added -noFunctionObjects to all argList
2011-06-08 14:21:51 +01:00
f79aeb9402
ENH: Time: construct dlLibraryTable before reading dictionary so controlDict can have e.g. #codeStream
2011-04-20 11:52:24 +01:00
a791316896
ENH: dlLibraryTable: moved library handles to objects
2011-04-18 16:41:21 +01:00
6ee1d853b6
BUG: Time: not setting IO flags for e.g. fvSolution constructed from Time.
2011-03-28 16:43:04 +01:00
acc8d7714a
BUG: Time.C: adjustTimeStep overflow of scalar
2011-02-24 10:44:22 +00:00
eaef8d482b
STYLE: Updated 1991 start copyright year to 2004
2011-01-14 16:08:00 +00:00
099cc39e2e
Revert "STYLE: 2011 copyright date."
...
This reverts commit b18f6cc1ce .
2011-01-05 18:24:29 +00:00
b18f6cc1ce
STYLE: 2011 copyright date.
2011-01-05 11:14:26 +00:00
85bae17943
STYLE: add formatting of NamedEnum template arguments
2010-12-17 14:36:13 +01:00
b5dddd8980
ENH: parallel runTimeModifiable - master only
2010-11-16 12:41:44 +00:00