Mark Olesen
f38190213c
ENH: support usage descriptions for command arguments
2018-12-12 11:58:56 +01:00
Mark Olesen
68ec561df8
STYLE: add usage notes to more utilities and solvers
2018-12-11 15:25:27 +01:00
Mark Olesen
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
Mark Olesen
e0f83938ee
ENH: ignore -noFunctionObjects option when disabled
...
- With argList::noFunctionObjects() we use the logic added in
4b93333292
(issue #352 )
By removing the '-noFunctionObjects' option, we automatically
suppress the creation of function-objects via Time (with argList
as a parameter).
There is generally no need in these cases for an additional
runTime.functionObjects().off() statement
Use the argList::noFunctionObjects() for more direct configuration
and reduce unnecessary clutter in the -help information.
In previous versions, the -noFunctionObjects would have been redundant
anyhow, so we can also just ignore it now instead.
2018-08-08 09:44:28 +02:00
Mark Olesen
2662042d49
ENH: improve controls for Time (issue #910 )
...
- relocate some standard functionality to TimePaths to allow a lighter
means of managing time directories without using the entire Time
mechanism.
- optional enableLibs for Time construction (default is on)
and a corresponding argList::noLibs() and "-no-libs" option
STYLE:
- mark Time::outputTime() as deprecated MAY-2016
- use pre-increment for runTime, although there is no difference in
behaviour or performance.
2018-07-02 10:20:01 +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
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
450728ea84
Standardized cell, patch, face and processor loop index names
2016-04-25 12:00:53 +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
Andrew Heather
efb39a8790
ENH: (further) Doxygen documentation updates for module support
2016-06-27 20:34:19 +01:00
Henry
c778346c96
Formatting: Rationalized the indentation of #include
2015-02-10 20:35:50 +00:00
mattijs
41650787b1
ENH: mesh tools: max write precision
2013-10-29 09:59:21 +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
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
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
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
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
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
andy
168c7e1ca9
removing FoamX
2008-06-04 13:40:02 +01:00
OpenFOAM-admin
3170c7c0c9
Creation of OpenFOAM-dev repository 15/04/2008
2008-04-15 18:56:58 +01:00