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
Mark Olesen
d17d015f88
Use new last() method for List-type classes
...
- use first() method in some places as well where it helps clarity
- there are a few remaining cases: git grep 'size()-1]'
2009-11-26 13:35:57 +01:00
Mark Olesen
b3cdac4baf
remove unused (and duplicate) Tuple.H in applications/utilities/mesh/advanced/modifyMesh/
2009-11-25 12:07:03 +01:00
mattijs
19359869f4
use degToRad
2009-10-22 13:05:26 +01:00
mattijs
9120e00a59
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-10-22 11:59:45 +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
mattijs
10dd3ea2a4
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-10-20 22:15:23 +01:00
mattijs
32e2edb94b
degrees to radians conversion
2009-10-20 22:15:18 +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
henry
d4864d9b6e
Moved the "generic" BCs into a separate library and included it only in those utilities
...
which need this functionality. Solvers will now check the correctness of the BCs on
read.
2009-08-04 22:13:54 +01:00
henry
816f6b3488
Updated the headers.
2009-07-24 17:01:31 +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
2e6888a714
write hexRef8 data to correct mesh
2009-04-03 12:29:40 +01:00
mattijs
0128b2be68
UIndirectList
2009-03-12 19:25:21 +00: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
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
9a4de95354
made xfer constructors explicit, with trickle down to polyMesh/fvMesh calls
2008-10-27 13:14:07 +01:00
mattijs
0dc639e90a
switch off functionObjects
2008-09-28 19:27:04 +01:00
mattijs
c4c0f54fc6
dynamicList change
2008-09-17 11:53:14 +01:00
mattijs
e4bb4fc0f0
incorrect call of removeCells
2008-08-08 10:59:29 +01:00
Mark Olesen
5e5b26edd5
update dictionary headers and FoamFile entry to 1.5 format
2008-07-14 14:50:35 +02: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
henry
47996ef186
Removed all warnings from gcc-4.3.0 except those from
...
NamedEnum (bug in compiler?)
molecule (Graham dealing with it)
lex (no comment)
VTK (again no comment)
2008-06-11 15:55:07 +01:00
andy
168c7e1ca9
removing FoamX
2008-06-04 13:40:02 +01:00
mattijs
36e61940a7
2x2x2 refinement utility
2008-05-14 16:45:06 +01:00
mattijs
c731cfdca4
initial mattijsLib merge
2008-04-23 15:51:54 +01:00
OpenFOAM-admin
3170c7c0c9
Creation of OpenFOAM-dev repository 15/04/2008
2008-04-15 18:56:58 +01:00