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
Mark Olesen
c091d856ae
pedantic changes: 'forAll (' -> 'forAll(' in applications/
...
- to match coding guidelines
2009-12-03 14:12:08 +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
fa93ce8cd7
coding style adherence
...
- markup codingStyleGuide.org examples so they actually indent correctly
- use 'Info<<' as per codingStyleGuide instead of 'Info <<'
2009-11-27 15:39:14 +01:00
mattijs
da8198a487
added region option
2009-09-22 15:26:19 +01:00
mattijs
9b0bebec00
making overwrite work
2009-02-06 15:12:24 +00:00
Mark Olesen
95dcb6ded7
Simplify checking of container (List/HashTable, strings) sizes
...
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
'XX.size() <= 0' or for simpler coding.
It also has the same number of characters as '!XX.size()' and /might/ be
more readable
- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00
Mark Olesen
28b200bcd9
update copyrights for 2009
2008-12-31 19:01:56 +01:00