Mark Olesen
3d608bf06a
ENH: remove reliance on the Xfer class (issue #639 )
...
This class is largely a pre-C++11 holdover. It is now possible to
simply use move construct/assignment directly.
In a few rare cases (eg, polyMesh::resetPrimitives) it has been
replaced by an autoPtr.
2018-03-05 13:28:53 +01:00
Mark Olesen
345a2a42f1
ENH: simplify method names for reading argList options and arguments
...
- use succincter method names that more closely resemble dictionary
and HashTable method names. This improves method name consistency
between classes and also requires less typing effort:
args.found(optName) vs. args.optionFound(optName)
args.readIfPresent(..) vs. args.optionReadIfPresent(..)
...
args.opt<scalar>(optName) vs. args.optionRead<scalar>(optName)
args.read<scalar>(index) vs. args.argRead<scalar>(index)
- the older method names forms have been retained for code compatibility,
but are now deprecated
2018-01-08 15:35:18 +01:00
Mark Olesen
416a3790ea
STYLE: prefer autoPtr::reset() to autoPtr::set()
...
- in most cases already checked valid() so don't need additional check
for setting an existing pointer
2017-11-22 19:11:11 +01:00
Mark Olesen
f2ba618c19
STYLE: consistency in using argList::addArgument, argList::addOption
2017-11-22 12:54:28 +01:00
Mark Olesen
3e0e4532fd
STYLE: minor adjustments to doxygen comments
2016-10-04 09:16:08 +02:00
Andrew Heather
9fbd612672
GIT: Initial state after latest Foundation merge
2016-09-20 14:49:08 +01:00
Henry Weller
1319df48d9
Rationalized Doxygen documentation of command-line options
2016-06-17 09:11:58 +01:00
Andrew Heather
efb39a8790
ENH: (further) Doxygen documentation updates for module support
2016-06-27 20:34:19 +01:00
mattijs
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
mattijs
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
Henry Weller
e2ef006b91
applications: Update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
andy
951c8436aa
ENH: Applying Gijs' patch: Update header documentation for utilities
2013-02-21 10:54:34 +00:00
mattijs
9ccd5809b8
BUG: sampleDict: missing type
2012-12-05 15:21:00 +00:00
mattijs
dfa8cf417a
BUG: setFields: timeSelector overrides controlDict setting
...
(more general: timeSelector should only be used for postprocessing utils)
2012-07-26 16:55:25 +01:00
Henry
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
Henry
c3cb632c24
Documentation: converted javadoc @ to LaTeX style \ in Doxygen code docs
2011-02-08 18:22:00 +00:00
andy
eaef8d482b
STYLE: Updated 1991 start copyright year to 2004
2011-01-14 16:08:00 +00:00
andy
099cc39e2e
Revert "STYLE: 2011 copyright date."
...
This reverts commit b18f6cc1ce
.
2011-01-05 18:24:29 +00:00
graham
b18f6cc1ce
STYLE: 2011 copyright date.
2011-01-05 11:14:26 +00:00
Mark Olesen
12837a67d5
ENH: add ZoneMesh::findIndices() method
...
STYLE: use findIndices instead of findAll for coordinateSystems
2010-07-26 13:18:59 +02:00
Mark Olesen
147fa2a75d
STYLE: add notes to some (most) command-line options
...
- mapFields and splitMeshRegions need more clarification
2010-04-27 10:50:15 +02:00
Mark Olesen
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
Mark Olesen
689d4b2860
ENH: provide operator[] for accessing argList options.
...
- operator[] with label -> get args at index
- operator[] with word -> get named option
2010-02-17 11:43:42 +01:00
Mark Olesen
d857d671ac
STYLE: use new argList argRead() method and operator[] for cleaner code.
...
- deprecate argList::additionalArgs() method and remove uses of it
2010-02-16 17:57:49 +01:00
Mark Olesen
58b7e64185
Use argList::addOption, argList::addBoolOption (almost) everywhere
...
- ensure that the standard options (eg, from timeSelector) also have
some usage information
2009-12-03 13:32:12 +01:00
Mark Olesen
d1295da31f
adjust solvers and utilities to use new argList methods
...
- also drop various unused time options from src/OpenFOAM/include
2009-05-19 20:21:50 +02:00
Mark Olesen
6a3d9effa0
fixed typo in surface utils
2009-04-17 11:16:44 +02:00
Mark Olesen
ffd9bb08a8
OSspecific: altered file tests
...
- removed the previously added fileName type(), isDir(), isFile() methods.
- added optional bool parameter to isFile() function to explicitly
enable/disable the check for gzip files.
- fixed minor bugginess where the default usage of isFile() would result in
false positive matches.
- be slightly more stringent and use isDir() and isFile() instead of
exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
Mark Olesen
3aba0e28ff
surfMesh, surfaceRegistry re-working
2009-02-05 16:12:35 +01:00
Mark Olesen
a4d0094e48
added surfaceMeshImport, surfaceMeshExport
2009-02-05 00:08:24 +01:00