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
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
19359869f4
use degToRad
2009-10-22 13:05:26 +01:00
mattijs
32e2edb94b
degrees to radians conversion
2009-10-20 22:15:18 +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
Mark Olesen
844211a940
Merge commit 'OpenCFD/master' into olesenm
2009-02-06 21:19:42 +01:00
Mark Olesen
69918f23c5
consistency update
...
- OSspecific: chmod() -> chMod(), even although it's not used anywhere
- ListOps get subset() and inplaceSubset() templated on BoolListType
- added UList<bool>::operator[](..) const specialization.
Returns false (actually pTraits<bool>::zero) for out-of-range elements.
This lets us use List<bool> with lazy evaluation and no noticeable
change in performance.
- use rcIndex() and fcIndex() wherever possible.
Could check if branching or modulus is faster for fcIndex().
- UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
Similar to the STL front() and std::string::data() methods, they return a
pointer to the first element without needing to write '&myList[0]', recast
begin() or violate const-ness.
2009-02-06 20:43:09 +01:00
mattijs
9b0bebec00
making overwrite work
2009-02-06 15:12:24 +00:00
Mark Olesen
6d57bb4e7b
added PackedBoolList typedef (used everywhere) and improved PackedList
...
- new members: capacity(), two-argument resize()/setSize(), const storage()
- new static members: max_value(), packing(), etc.
2009-01-21 11:30:10 +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