1310e85225
ENH: support 'get()' for retrieving argList options
...
- previously only had 'opt<..>()' for options, but 'get<..>()'
provides more similarity with dictionary methods.
The 'opt<..>()' method is retained.
2019-11-26 21:07:11 +01:00
e9219558d7
GIT: Header file updates
2019-10-31 14:48:44 +00:00
154029ddd0
BOT: Cleaned up header files
2019-02-06 12:28:23 +00:00
14a404170b
ENH: for-range, forAllIters() ... in applications/utilities
...
- reduced clutter when iterating over containers
2019-01-07 09:20:51 +01:00
1d85fecf4d
ENH: use Zero when zero-initializing types
...
- makes the intent clearer and avoids the need for additional
constructor casting. Eg,
labelList(10, Zero) vs. labelList(10, 0)
scalarField(10, Zero) vs. scalarField(10, scalar(0))
vectorField(10, Zero) vs. vectorField(10, vector::zero)
2018-12-11 23:50:15 +01:00
29a5793b5b
STYLE: argList::opt method instead of the longer argList::lookupOrDefault
...
- also replaced a few instances of readIfPresent with opt<> for
constant values.
2018-12-12 12:10:39 +01:00
f38190213c
ENH: support usage descriptions for command arguments
2018-12-12 11:58:56 +01:00
68ec561df8
STYLE: add usage notes to more utilities and solvers
2018-12-11 15:25:27 +01:00
4d6f0498d6
ENH: use vector::normalise and VectorSpace::normalised for clarity
2018-08-10 15:18:29 +02:00
ae36f5f504
ENH: change argList get<> and getList<> from read<>, readList<>
...
- more consistent with dictionary method naming. The get<> or
getList<> returns a value, doesn't read into a existing location.
2018-08-09 11:27:36 +02:00
cb919a6c41
ENH: tag some options as 'advanced' (only shown with -help-full)
...
General:
* -roots, -hostRoots, -fileHandler
Specific:
* -to <coordinateSystem> -from <coordinateSystem>
- Display -help-compat when compatibility or ignored options are available
STYLE: capitalization of options text
2018-07-31 11:54:15 +02:00
57291e8692
STYLE: use autoPtr::New and tmp::New for simple return types
2018-02-26 14:00:30 +01:00
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
c0e86940b0
ENH: minor improvements for Enum
...
- found() method for consistency with other classes
- operator()(name, deflt) for similarity to lookupOrDefault,
but without a dictionary
2017-11-28 09:15:04 +01:00
f2ba618c19
STYLE: consistency in using argList::addArgument, argList::addOption
2017-11-22 12:54:28 +01:00
7c1d8cb146
STYLE: more consistent use of labelUList and labelUIndList typedefs
2017-11-19 09:27:47 +01:00
7d7b0bfe84
STYLE: use list methods find/found instead of findIndex function
2017-10-24 19:07:34 +02:00
139edb2468
ENH: add input surface scaling (issue #514 )
...
- surfaceFeatureExtract
* dictionary "scale" entry
- triSurface
- triSurfaceLoader
* optional scaleFactor on reading
- surfaceAdd
- surfaceBooleanFeatures
- surfaceClean
- surfaceCoarsen
* scale option
- surfaceTransformPoints, transformPoints
* scale option as scalar or vector quantity
2017-08-14 09:18:15 +02:00
dfafe6075a
ENH: region-wise self intersection for surfaceFeatureExtract (issue #450 )
2017-05-29 18:57:25 +02:00
0e7630feca
ENH: improved handling of 'unresolved' surface intersections (issue #450 )
...
- the heuristic for matching unresolved intersections is a relatively
simple matching scheme that seems to be more robust than attempting to walk
the geometry or the cuts.
- avoid false positives for self intersection
2017-05-08 14:57:47 +02:00
7f0cc0045d
ENH: Random numbers - updated dependent code from change cachedRandom->Random class
2017-04-28 09:15:52 +01:00
aa6b835104
ENH: use fileName::nameLessExt() instead of fileName::name(bool)
...
- the purpose is more explicit, without needing to check documentation
about what the bool parameter means.
STYLE: improve formatting of fileName documentation
2017-03-10 11:49:56 +01:00
95e7faf309
STYLE: use the more succinct forms for argList (issue #307 )
...
* args[int] vs args.args()[int]
* args[word] vs args.options()[word]
etc.
2016-11-20 13:06:57 +01:00
efb39a8790
ENH: (further) Doxygen documentation updates for module support
2016-06-27 20:34:19 +01:00
b9313ef2fe
ENH: Consistency updates after Foundation merge and code tidying
2016-04-25 16:46:56 +01:00
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
8c6fa81eba
vector::zero -> Zero
2016-04-16 18:34:41 +01:00
56fa7c0906
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
0e01c44129
GIT: Resolved conflict
2015-12-09 16:19:28 +00:00
abeef3313d
STYLE: Updated header file documentation
2015-12-09 16:10:35 +00:00
8f1d043364
GIT: Resolved conflict
2015-12-09 09:32:38 +00:00
eafd5a3850
ENH: Updated Info, Warning and Error messages
2015-12-08 11:15:39 +00:00
3f55f752fc
GIT: Resolve conflict with upstream merge from Foundation
2015-12-07 17:07:20 +00:00
73dac8c7ee
ENH: Updating utilities based on internal development line
2015-12-02 10:17:28 +00:00
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
c6a3d4f3c5
ENH: surface: various updates to the surface utilities
...
surfaceBooleanFeatures: use CGAL for intersection
surfaceCheck: write surface zoning as vtk file
surfaceInflate: new utility to offset surface
surfacePatch: replacement for surfaceAutoPatch. Also does cutting of surfaces.
2015-11-10 15:04:32 +00:00
8342cdc6ee
Documentation: Use '-' rather than '+' for lists for Doxygen
2015-10-29 22:41:34 +00:00
c778346c96
Formatting: Rationalized the indentation of #include
2015-02-10 20:35:50 +00:00
f4596ad247
Resolve issues relating to compilation with clang-3.5.0
2014-12-15 22:38:10 +00:00
615a74626e
ENH: foamyHexMesh: Include baffle handling
2013-09-25 12:37:19 +01:00
62f18ee7d5
BUG: extendedFeatureEdgeMesh: Add stream operators for sideVolumeType
2013-06-20 12:40:15 +01:00
4ac91793a3
ENH: surfaceBooleanFeatures: Update and start handling baffles
2013-05-31 17:17:34 +01:00
f33b977421
ENH: surfaceBooleanFeatures: Output files to constant/extendedFeatureEdgeMesh
2013-03-15 12:46:18 +00:00
9f61b9123b
ENH: Add enum and featurePointEdges.
2012-12-11 17:08:27 +00:00
b35ae36e7b
ENH: surfaceBooleanFeatures: write eMesh edgeMesh as well
2012-05-01 17:13:29 +01:00
5beb857d8e
BUG: surfaceBooleanFeatures: extraneous command-line clearing
2012-04-02 10:50:40 +01:00
51b6dcd4a3
COMP: 64bit label changes
2011-11-28 12:56:34 +00:00
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
74b4639b4f
COMP: meshTools.H
2011-05-13 10:39:19 +01:00
a3b1263184
ENH: Using enhancedFeatureEdgeMesh.
2011-02-18 16:17:49 +00:00