Commit Graph

1382 Commits

Author SHA1 Message Date
20b1d49a82 ENH: dynamicCode: display line numbers 2011-03-25 04:43:29 +00:00
bc6642668e ENH: DimensionedIOField: use expensive headerOk() only when needed 2011-03-23 10:59:37 +00:00
157d89f3de STYLE: OutputFilterFunctionObject.C : indentation 2011-03-23 04:57:09 +00:00
402c557f3a Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-22 22:17:36 +00:00
ffa5368d10 Merge remote branch 'opencfd/master' into olesenm 2011-03-22 16:42:48 +01:00
cf99e5c800 ENH: codeStream: added codeLibs 2011-03-21 17:54:20 +00:00
ea67afaf96 ENH: codedFixedValue : added printing 2011-03-18 14:54:11 +00:00
2a925aeff3 ENH: support alternative values in string expansion
- syntax as per Bourne/Korn shell
      ${parameter:+altValue}

  If parameter is unset or null, nothing is substituted.
  Otherwise the \c altValue is substituted.
2011-03-18 10:12:38 +01:00
90a80f490b Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-17 22:27:55 +00:00
4ee0f51e96 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-17 16:02:19 +00:00
fbfac5e83c ENH: cyclics: transformPosition for lagrangian positions. Rotational transform calculation
For rotational:
- 180 degree transformation now correct
- use furthest away face to determine rotation
- do not use calculated faceNormals at all
2011-03-17 15:56:46 +00:00
0e871459b8 Merge remote branch 'OpenCFD/master' into olesenm 2011-03-17 08:50:13 +01:00
06f2882b53 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-14 13:25:56 +00:00
e759866be0 ENH: Added ramdom point func using cachedRandom 2011-03-14 12:07:59 +00:00
9cbc0efca3 ENH: add support for WM_PROJECT_SITE env variable
- alternative to WM_PROJECT_INST_DIR/site for systems with locked down
  installation paths (eg, when packaged as RPM or deb)

  When "$WM_PROJECT_SITE" is defined, it is used in favour of
  "$WM_PROJECT_INST_DIR/site"
2011-03-11 18:32:18 +01:00
12d965ead9 STYLE: more constness on const char* values 2011-03-11 09:08:45 +01:00
92c0055aa2 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-09 18:11:06 +00:00
4d2cf1472f BUG: HashTable: remove conversion operator from iterator to const_iterator 2011-03-09 18:08:30 +00:00
d4fa022f2a COMP: removed #include file introduced in 92ff766 2011-03-08 15:44:19 +00:00
44ccbf7c56 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-08 15:42:06 +00:00
37316712a9 ENH: moved initialisation of mesh demand driven data in commit 8c09620 2011-03-08 15:41:55 +00:00
92ff766c19 COMP: cloud.c : missing include 2011-03-08 15:30:19 +00:00
cab0142959 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-08 14:55:30 +00:00
0599dce7e6 Merge branch 'olesenm' 2011-03-08 13:59:37 +00:00
8c09620771 ENH: Initialise mesh demand-driven data in cloud constructor 2011-03-08 12:51:10 +00:00
b50eb38937 COMP: HashTable: make end() iterator a reference to a static.
Weird one. Reported crash with gcc452 with end() iterator returning a copy.
The end() iterator returned was not initialised. No idea why & could not
repeat.
2011-03-08 10:56:30 +00:00
e8a3587df4 ENH: support file-scope 'localCode' in dynamicCode 2011-03-08 11:08:42 +01:00
82ba4e5419 ENH: allow silent operation (-s) for wmake, wclean, wmakeLnInclude
- reduces verbosity for dynamicCode

- non-silent wmakeLnInclude output to stderr to avoid polluting logs
2011-03-08 09:32:30 +01:00
8006c12405 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-07 12:55:50 +00:00
0ba821d184 ENH: codeStream: added message if loading library 2011-03-07 12:54:28 +00:00
1b953f3d45 STYLE: Dates. 2011-03-07 11:01:11 +00:00
5528940ae5 Merge branch 'master' of ssh://hunt//home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-04 14:06:43 +00:00
a9d0a6d02b ENH: Non-inertial reference frame particle force. 2011-03-04 13:45:25 +00:00
7ca8b24a0d STYLE: minor code cleanup for codeStream/codedFixedValueFvPatchScalarField 2011-03-03 14:16:00 +01:00
0f8b423a68 ENH: add dynamicCode::libraryBaseName() service function
- return the library basename without leading 'lib' or trailing '.so'
2011-03-03 13:58:07 +01:00
97da787c69 ENH: add fileName::name(bool) for returning basename without extension 2011-03-03 13:48:04 +01:00
2fcc1db960 Merge remote branch 'OpenCFD/master' into olesenm 2011-03-03 10:41:04 +01:00
ffc74562f7 STYLE: shorten paths reported in dynamicCode 2011-03-02 15:36:02 +01:00
3b72fc3e38 ENH: support default values in string expansion
- syntax as per Bourne/Korn shell
      ${parameter:-defValue}

  If parameter is unset or null, the \c defValue is substituted.
  Otherwise, the value of parameter is substituted.
2011-03-02 14:11:30 +01:00
01ea4623f9 BUG: string expand bombed out on first unknown construct
- eg,
       "$USER $(PWD) $USER"  ->  "username $(PWD) $USER"
  instead of
       "$USER $(PWD) $USER"  ->  "username $(PWD) username"

  this is noticable in some dynamicCode usages

STYLE: consolidate all string expand code into stringOps
2011-03-02 13:46:15 +01:00
cb38e02622 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-03-01 18:04:55 +00:00
a1d40dec77 Merge remote branch 'OpenCFD/master' into olesenm 2011-03-01 15:15:44 +01:00
97cd3af1ff ENH: cleanup codeStream - use dynamicCode, dynamicCodeContext encapsulation
Problems remain with codedFixedValueFvPatchScalarField:

- readIfModified() notices change on system/codeDict, but the
  codeProperties::setUnmodified() means that only a single entry will
  get processed

- it appears that while dlclose() may (or may not) be actually closing
  the library, there are probably still references about. This means
  that a subsequent reloading still points to the original functions
  and the lookup is not updated correctly.
2011-03-01 14:19:24 +01:00
344a4500cb ENH: runTimeSelection with addRemovable 2011-02-28 16:39:35 +01:00
f2ff53f7b4 ENH: add dlSymFound() to check for existence of symbol without warnings 2011-02-25 18:19:45 +01:00
7e7b75be36 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-02-25 16:44:39 +00:00
0484d1b25b ENH: allow '_' prefix when reading/writing SHA1Digest
- the resulting SHA1 can be written and parsed directly
  without any ambiguities when it starts with a digit
  eg, SHA1: _024ea2fa570968069f52f55aa47ee82ac417f5f6

- provide same optional prefix functionality in conversion to string
  and in comparison with strings

- add SHA1Digest::null
2011-02-25 14:53:12 +01:00
7e7d486bf0 BUG: Use Foam::mag for vector 2011-02-24 17:30:02 +00:00
fd3dc4681b Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2011-02-24 17:23:56 +00:00
fd954c6167 ENH: Update to commit 0bbd3e5 re: tet point inside 2011-02-24 16:28:10 +00:00