Mark Olesen
31b172217c
ENH: support predicate checks for argList (similar to dictionary methods)
...
- Favour use of argList methods that are more similar to dictionary
method names with the aim of reducing the cognitive load.
* Silently deprecate two-parameter get() method in favour of the
more familiar getOrDefault.
* Silently deprecate opt() method in favour of get()
These may be verbosely deprecated in future versions.
2020-06-02 13:51:18 +02:00
Mark Olesen
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
Andrew Heather
fdf8d10ab4
Merge commit 'e9219558d7' into develop-v1906
2019-12-05 11:47:19 +00:00
OpenFOAM bot
e9219558d7
GIT: Header file updates
2019-10-31 14:48:44 +00:00
OpenFOAM bot
38b53e5346
STYLE: use default destructor in header definitions
2019-09-24 12:14:36 +02:00
Mark Olesen
beefee48d4
COMP: adjust compilation order with updated interdependencies
...
- Eg, with surface writers now in surfMesh, there are fewer libraries
depending on conversion and sampling.
COMP: regularize linkage ordering and avoid some implicit linkage (#1238 )
2019-04-28 14:44:33 +02:00
OpenFOAM bot
154029ddd0
BOT: Cleaned up header files
2019-02-06 12:28:23 +00:00
Mark Olesen
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
mattijs
be96876a18
BUG: mergeMeshes. Use wrong option. See #650 .
2018-08-27 09:01:36 +01:00
Mark Olesen
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
Mark Olesen
a592ebc073
STYLE: avoid unrestricted dictionary lookup in conversion, sampling, surfMesh
...
- aids with detection of excess tokens (issue #762 )
- deprecated dictionary::operator[] in favour of the lookup() method
which offers more flexibilty and clarity of purpose.
Additionally, the read<> and get<> forms should generally be used
instead anyhow.
2018-07-18 13:33:00 +02:00
mattijs
f51ee9a0e2
Merge remote-tracking branch 'origin/develop' into develop-pre-release
2018-05-31 17:34:16 +01:00
Mark Olesen
f9fe71815a
STYLE: consistent use of '= delete' for removed constructors/assignments
...
- make the purpose more explicit, and reduces some work for the
compiler as well.
2018-05-30 12:03:17 +02: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
f2ba618c19
STYLE: consistency in using argList::addArgument, argList::addOption
2017-11-22 12:54:28 +01:00
Mark Olesen
a59c87d5ac
ENH: improved zone constructors
...
- constructor for empty cell/face/point Zones, with contents to be
transferred in later.
- ZoneMesh::operator(const word&) to return existing zone or a new empty one.
2017-11-10 02:09:37 +01:00
Mark Olesen
874452717a
ENH: add mergeMeshes -resultTime option (as per subsetMesh)
2017-10-10 12:46:40 +02:00
Henry Weller
83026d2546
ENH: mergePolyMesh: Added check for zero patches in the master mesh
...
Patch contributed by Jakub Benda
Resolves bug-report https://bugs.openfoam.org/view.php?id=2727
2017-10-18 16:24:08 +01:00
mattijs
ae3d2f4d57
ENH: topoSet: clear sets upon writing modified mesh. Fixes #129 .
2016-11-16 14:58:46 +00:00
mattijs
e8e0cfb416
ENH: mergeMeshes: in parallel make sure to put processor patches last. Fixes #239
2016-11-02 14:47:55 +00:00
Andrew Heather
9fbd612672
GIT: Initial state after latest Foundation merge
2016-09-20 14:49:08 +01:00
Henry Weller
67de20df25
Further standardization of loop index naming: pointI -> pointi, patchI -> patchi
2016-05-18 21:20:42 +01:00
Henry Weller
43beb06018
Standardized cell, patch and face loop index names
2016-04-25 10:28:32 +01:00
Henry Weller
2d5ff31649
boundaryField() -> boundaryFieldRef()
2016-04-24 22:07:37 +01:00
Henry Weller
5f13806591
Updated headers
2016-04-21 21:07:28 +01:00
Henry Weller
0aaf154100
utilities/mesh/manipulation: Rationalized "End" message
2016-04-21 21:06:45 +01:00
Andrew Heather
efb39a8790
ENH: (further) Doxygen documentation updates for module support
2016-06-27 20:34:19 +01:00
andy
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
Andrew Heather
8f1d043364
GIT: Resolved conflict
2015-12-09 09:32:38 +00:00
Andrew Heather
73dac8c7ee
ENH: Updating utilities based on internal development line
2015-12-02 10:17:28 +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
Henry Weller
ed496c2cb1
mergeMeshes: Disable functionObjects
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1756
2015-10-23 12:41:46 +01:00
mattijs
aea1fbff8b
ENH: mergeMeshes: preserve additional patch data
2013-05-08 09:47:00 +01:00
andy
951c8436aa
ENH: Applying Gijs' patch: Update header documentation for utilities
2013-02-21 10:54:34 +00:00
mattijs
100a25ee25
STYLE: defineDebug: move into Foam namespace
2012-12-17 17:35:42 +00:00
mattijs
416940ed33
BUG: mergeMeshes: overwrite write to 0, not constant
2012-10-02 16:19:41 +01:00
mattijs
0d4c02c839
BUG: mergePolyMesh: zone indexing bug
2012-02-23 15:25:03 +00:00
mattijs
cd01c8f1a2
BUG: mergePolyMesh: merging zones
2012-02-03 15:53:37 +00:00
andy
040f333f63
ENH: Added -overwrite option to mergeMeshes utility
2012-01-25 09:50:08 +00:00
Henry
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01: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
a2b73a1c6d
STYLE: use X.last() method instead of X[X.size()-1]
2010-12-07 09:56:52 +01:00
graham
012494fdb5
STYLE: Fixing code style requirements for all apps.
...
Exception: applyWallFunctionBoundaryConditions.C cannot split #include
directives.
2010-07-27 15:27:05 +01:00
Mark Olesen
35afeb9b18
STYLE: remove superfluous uses of argList::validArgs.clear()
...
- a holdover from the old <root> <case> days
2010-05-03 08:38:39 +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
b6f3bd4c23
STYLE: follow coding guide recommendation for '//- Destructor'
2010-04-12 11:55:52 +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
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