Commit Graph

3936 Commits

Author SHA1 Message Date
3bb1825334 removing unnecessary reduce ops 2009-01-16 14:32:58 +00:00
7aee58e5fa Switch : drop word data member in favour of enum 2009-01-16 14:06:36 +01:00
3adf0f5c8e minor cleanup for reverted string changes (commit 4f5f66e759)
- put back debug switch (even although it is never used)
- remove stringsGlobals.C, since it is now never used
2009-01-16 12:27:03 +01:00
be9051d375 Merge commit 'OpenCFD/master' into HEAD 2009-01-16 12:26:11 +01:00
b6b5eb17d7 dimensionedType gets plain lookupOrDefault() static method 2009-01-16 12:17:02 +01:00
246d569c4d consistency update for null pointers
- uniform use of reinterpret_cast<foo*>(0) instead of
  reinterpret_cast<foo*>(NULL)

- make all static null() members inline since they are really only a cast:
      "*reinterpret_cast<foo*>(0)"
2009-01-16 10:15:49 +01:00
64391aabbc Warning message update: molConfig -> mdInitialise 2009-01-15 20:16:12 +00:00
3ec52af20f Adding rMin check to electrostatic evaluation in removeHighEnergyOverlaps 2009-01-15 20:10:53 +00:00
30c9efca7d Electrostatics now implemented using pair potential object, stored in pairPotentialList. Using damped, shifted force coulomb interactions as per J.Chem.Phys. 124, 234104. 2009-01-15 20:00:51 +00:00
2dbf42085d Initial set of changes. 2009-01-15 18:29:08 +00:00
4395170915 Put back
static const char* const typeName;
        static int debug;

which had disappeared.
2009-01-15 16:57:01 +00:00
bd04dc7b59 Some stuff 2009-01-15 16:45:44 +00:00
851a5f1c81 Many corrections and improvements. 2009-01-15 16:41:31 +00:00
4f5f66e759 Reverted change concerning the location of the construction of the "null" strings.
Changed dotFoam function to use null-constructed strings rather that the "null" strings.
2009-01-15 16:41:08 +00:00
a2b24d07a8 draft for having a resizing granularity in DynamicList
- nice idea, but need to convince compiler that division by zero doesn't occur
2009-01-15 10:03:23 +01:00
81184573c8 added regExp::empty() method 2009-01-14 14:45:25 +01:00
f679bd5003 Merge commit 'OpenCFD/master' into olesenm 2009-01-14 14:32:01 +01:00
dde4ca5bf7 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-14 12:36:22 +00:00
f69806b9d2 optional perpendicular reading 2009-01-14 12:24:27 +00:00
03c7baf787 adding kinematic->dynamic pressure function object 2009-01-14 11:58:03 +00:00
9bce583063 SortableList, sortedOrder - micro-optimization 2009-01-14 10:15:01 +01:00
45bf07beaa Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-13 18:05:03 +00:00
4cc5ec39ea applying update from Graham 2009-01-13 18:03:18 +00:00
95010f7b47 minor typo 2009-01-13 17:45:05 +00:00
be789cf9a3 consistency update 2009-01-13 17:39:00 +00:00
654f844386 moved field-related function objects to field subfolder 2009-01-13 17:29:54 +00:00
44eeb27b52 Dealing with molecules that do not have all 3 diagonal components of the principal axis inertia tensor, i.e. point masses (mono-atomics) and linear molecules (diatomics and CO2 for example). 2009-01-13 16:50:11 +00:00
34c3702f1e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-13 15:51:09 +00:00
4b8e8e3ecb adding basic add functionality 2009-01-13 15:50:01 +00:00
c1a32fa8f1 made gradient dimensioned 2009-01-13 15:47:57 +00:00
a5df0008b6 renamed mass transfer model to devolatilisation model 2009-01-13 15:36:50 +00:00
30964be5c2 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-13 12:14:43 +00:00
fa8f316ecc Adding pressure measurement via r dot f and temperature measurement and control including rotational energy. Adding random orientation on initialisation. Modifying constantProperties construction to detect point masses. Tidy up hitWallPatch function to remove commented out stochastic wall code. 2009-01-12 17:35:57 +00:00
b74f109639 wildcards in selection 2009-01-12 16:39:20 +00:00
e934450b03 partial revert for b85c9a7487
- HashTableName + StaticHashTableName continue to use debug switch
  regardless of FULLDEBUG setting
2009-01-12 12:42:10 +01:00
1d27233343 className.H - remove old macro versions (were surrounded by #if 0 ... #endif) 2009-01-12 08:41:43 +01:00
c2ac216eaf HashTable::erase from list of keys or the keys from another HashTable
- the parameter HashTable can hold arbitrary data .. just the type of keys
  needs to match
2009-01-11 20:01:53 +01:00
a53b47355a rename Foam::size() -> Foam::fileSize() for carity 2009-01-11 16:44:11 +01:00
179ef86b26 JobInfo : reduced some variables, perhaps detect bad $FOAM_JOB_DIR 2009-01-11 01:38:57 +01:00
c826865f92 using .xfer() method instead of xferMoveTo<...> in a few places 2009-01-11 00:35:40 +01:00
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
16aaf5b54e autoPtr gets "empty()" method that can be used instead of "! ...valid()" 2009-01-10 10:38:53 +01:00
7f9f091f42 Removing size specification for OPstream and IPstream for neighbour face centre and area exchanges, as per email from Mattijs re buffer alignment. 2009-01-09 17:37:25 +00:00
e16553c68b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-09 16:33:01 +00:00
496747d207 adding file missed during commit 5160b81e74 2009-01-09 16:28:21 +00:00
5160b81e74 restructuring so that injection is handled by injection model and not cloud 2009-01-09 16:25:17 +00:00
b85c9a7487 avoided some unneeded conversions of string::npos, minor cleanup of className
- string doesn't use any debug info, remove it
- restructured the macros to add in NoDebug macro versions to className,
  typeInfo.  Might be helpful with tackling the globals bootstrapping issue.
- HashTableName + StaticHashTableName - avoid lookup of debug switch when
  FULLDEBUG is not defined
2009-01-09 15:15:21 +01:00
f0341171ff renamed 'empty' class to 'nil', added missing empty() member to some containers 2009-01-09 13:10:10 +01:00
036a1cd504 output FOAMbuild info in argList, but only emit FOAMversion in writeBanner 2009-01-09 11:28:08 +01:00
413f3fd903 Pstream::master fixed, see
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10427
2009-01-09 08:46:26 +00:00