Mark Olesen
d17bc72585
ENH: consistency of HashSet setMany(), insertMany() with packed-list version
...
- this also provides a better separation of the intent
(ie, inserting a single value, or inserting multiply values)
2018-03-14 21:08:29 +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
f2ba618c19
STYLE: consistency in using argList::addArgument, argList::addOption
2017-11-22 12:54:28 +01:00
Mark Olesen
8730a7622a
ENH: enumerations for known cell models in cellModel, ptr/ref lookups
...
- this provides a better typesafe means of locating predefined cell
models than relying on strings. The lookup is now ptr() or ref()
directly. The lookup functions behave like on-demand singletons when
loading "etc/cellModels".
Functionality is now located entirely in cellModel but a forwarding
version of cellModeller is provided for API (but not ABI) compatibility
with older existing user code.
STYLE: use constexpr for cellMatcher constants
2017-11-18 11:05:05 +01:00
Mark Olesen
7d7b0bfe84
STYLE: use list methods find/found instead of findIndex function
2017-10-24 19:07:34 +02:00
Andrew Heather
9fbd612672
GIT: Initial state after latest Foundation merge
2016-09-20 14:49:08 +01:00
Henry Weller
43beb06018
Standardized cell, patch and face loop index names
2016-04-25 10:28:32 +01:00
Andrew Heather
efb39a8790
ENH: (further) Doxygen documentation updates for module support
2016-06-27 20:34:19 +01: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
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
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
a50f01b079
STYLE: use forAllIter, forAllConstIter instead of long-hand version
...
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
2010-04-12 11:18:38 +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
ee293cde8e
ENH: add usage information for '-overwrite' option.
...
- make centrally available via #include "addOverwriteOption.H"
2010-02-16 11:44:27 +01:00
Mark Olesen
a694f6e374
Replace a few uses of triSurface with the more general meshedSurface.
2010-01-15 17:27:03 +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
c3457b5152
argList - specializations for optionRead<string> etc.
...
- new optionLookupOrDefault and additional form of optionReadIfPresent
with a default value
2009-12-02 13:45:11 +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
henry
d6a278f2b2
Introduced the new file unitConversion.H to hold degToRad, radToDeg
...
and other unit conversion functions as they are required e.g. slug <-> kg.
2009-10-21 10:55:00 +01:00
Mark Olesen
ffc9d0d97b
find/replace pi/180.0 -> degToRad() and 180.0/pi -> radToDeg()
...
- note left utilities/mesh/advanced/collapseEdges/collapseEdges.C as-is.
It looks suspicious, but the change was recent, so maybe it means something
2009-10-19 13:53:25 +02:00
henry
e9da288118
Reverted the Americanism "math" back to the original "mathematical" and reverted name of
...
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
andy
8dcea0f8cd
using new constant definitions
2009-08-28 18:04:22 +01:00
Chris Greenshields
1bfa912781
Modified more Description entries in utilities for documenting purposes
2009-07-22 15:51:53 +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
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
mattijs
0dc639e90a
switch off functionObjects
2008-09-28 19:27:04 +01:00
Mark Olesen
69bcc1baad
Merge commit 'OpenCFD/master' into olesenm
2008-06-26 14:08:49 +02:00
andy
47673b653f
added overwrite flag
2008-06-26 12:24:18 +01:00
Mark Olesen
02cabc3cf2
updated Copyright (C) \d+-2008 OpenCFD Ltd.
2008-06-25 15:01:46 +02:00
OpenFOAM-admin
3170c7c0c9
Creation of OpenFOAM-dev repository 15/04/2008
2008-04-15 18:56:58 +01:00