Mark Olesen
4d6f0498d6
ENH: use vector::normalise and VectorSpace::normalised for clarity
2018-08-10 15:18:29 +02: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
c126464d1c
ENH: change wordRes to be a List of wordRe instead of a wrapper (issue #259 )
...
- this permits direct storage of a list with additional matcher
capabilities
- provide wordRes::matcher class for similar behaviour as previously
2018-02-21 10:05:30 +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
00325db33b
ENH: additional options for transforming points ( closes #660 )
...
- The -rotate-angle option allows convenient specification of a
rotation about an arbitrary axis. Eg, -rotate-angle '((1 1 1) 45)'
- The -origin option can be used to temporarily shift the origin
for the rotation operations. For example,
-origin '(0 0 1)' -rotate-angle '((1 0 0) 180)'
for mirroring.
2017-12-19 11:24:08 +01:00
Mark Olesen
f2ba618c19
STYLE: consistency in using argList::addArgument, argList::addOption
2017-11-22 12:54:28 +01:00
Mark Olesen
874452717a
ENH: add mergeMeshes -resultTime option (as per subsetMesh)
2017-10-10 12:46:40 +02:00
Mark Olesen
610854af03
STYLE: minor cleanup after merge
2017-09-22 16:25:17 +02:00
Mark Olesen
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
Mark Olesen
89f2eff565
STYLE: improve usage notes for transformPoints, surfaceTransformPoints
2017-04-20 16:27:44 +02:00
Andrew Heather
efb39a8790
ENH: (further) Doxygen documentation updates for module support
2016-06-27 20:34:19 +01:00
Henry Weller
fa5867137d
transformPoints, surfaceTransformPoints: Updated quaternion construction from Euler-angles
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2024
2016-03-14 16:40:35 +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
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
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
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
a694f6e374
Replace a few uses of triSurface with the more general meshedSurface.
2010-01-15 17:27:03 +01:00
Mark Olesen
30eac79d55
argList gets addNote() static method
...
- output any notes in the usage
2009-12-09 10:58:32 +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
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
642dadf1f7
yaw pitch roll
2009-03-12 15:12:31 +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
Mark Olesen
02cabc3cf2
updated Copyright (C) \d+-2008 OpenCFD Ltd.
2008-06-25 15:01:46 +02:00
mattijs
451fa204fa
cleanup backups
2008-05-29 14:05:42 +01:00
OpenFOAM-admin
3170c7c0c9
Creation of OpenFOAM-dev repository 15/04/2008
2008-04-15 18:56:58 +01:00