Commit Graph

8611 Commits

Author SHA1 Message Date
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
990a9e7f57 added HashTable::erase(const HashTable&) method 2009-01-09 09:35:53 +01:00
92c88521c4 bugfix Pstream::master used as a bool 2009-01-09 09:32:33 +01:00
0061e9ed03 added Foam::FOAMbuild to Foam::FOAMversion
- avoids problems with finding files based on FOAMversion
  (reported by Mattijs)
2009-01-09 09:11:50 +01:00
3c2e85bac9 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-08 20:19:11 +00:00
fcdcf55610 Added support for "pFinal". 2009-01-08 20:05:46 +00:00
59261a9556 hash overflow 2009-01-08 18:13:52 +00:00
f4093656d9 added unsigned label uLabel 2009-01-08 18:13:43 +00:00
50bd904e0a corrected typo in comment 2009-01-08 17:08:19 +00:00
5a8072e9f1 added clean restart option - defaults to false to recapture original behaviour 2009-01-08 12:54:10 +00:00
98f01a33dd Debug message remove. Info message tweaked. 2009-01-07 16:36:03 +00:00
d61af129f1 Finished lattice generation and molecule creation. Functions added to set the sizes of the sitePositions_ and siteForces_ members after construction from disk. 2009-01-07 15:33:16 +00:00
e5205c8676 minor docu change 2009-01-07 10:52:31 +01:00
421a14488e problem cell removal 2009-01-06 20:54:08 +00:00
8827ef2bd7 sicortex unaligned access 2009-01-06 19:40:26 +00:00
30b62fb3c1 duplicate elements in zones 2009-01-06 19:39:55 +00:00
23e1c04cca Making potential energy limit absolute value. Created all lattice generation variables. 2009-01-06 17:38:48 +00:00
e5642a9152 corrected dictionary name 2009-01-05 19:33:23 +00:00
fd9d45c3fd adding dictionary reading for zone. 2009-01-05 19:31:02 +00:00
fa0717dd00 rewriting molConfig, renamed to mdInitiaise. Driving all creation of molecules from within moleculeCloud. 2009-01-05 17:42:35 +00:00
2aa5242f27 Merge branch 'master' into molecularDynamics 2009-01-05 11:32:46 +00:00
c5b38a7232 update copyrights for 2009 2008-12-31 19:01:56 +01:00
0d5114c4d1 move Switch -> primitives/ and make asBool(), asWord() static
- motivation: we could probably reuse the Switch::asBool() within boolIO.C
  ... and possibly make Switch is-a bool and has-a word (or has-a enum for
  the word) for reuse with nicer output values for bool
2009-01-07 10:07:21 +01:00
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
cb65f1c78f stringListOps - findStrings() with wordReList
- we can now use a list of words/regexp for filtering/selecting
  ... the first results: cellTable/boundaryRegion
2009-01-05 23:08:20 +01:00
3c5852ebfc reworked regExp + wordRe a bit, minor change to keyType
regExp:
- added optional ignoreCase for constructor.
- the compile() methods is now exposed as set(...) method with an optional
  ignoreCase argument.  Not currently much use for the other regex compile
  flags though. The set() method can be used directly instead of the
  operator=() assignment.

keyType + wordRe:
- it's not clear that any particular characters are valid/invalid (compared
  to string or word), so just drop the valid(char) method for now

wordRe:
- a bool doesn't suffice, added enum compOption (compile-option)
- most constructors now have a compOption. In *all* cases it defaults to
  LITERAL - ie, the same behaviour for std::string and Foam::string
- added set(...) methods that do much the same as operator=(...), but the
  compOption can be specified.  In all cases, it defaults to DETECT.

 In Summary
    By default the constructors will generally preserve the argument as
    string literal and the assignment operators will use the wordRe::DETECT
    compOption to scan the string for regular expression meta characters
    and/or invalid word characters and react accordingly.

    The exceptions are when constructing/assigning from another
    Foam::wordRe (preserve the same type) or from a Foam::word (always
    literal).
2009-01-05 17:02:58 +01:00