Commit Graph

17 Commits

Author SHA1 Message Date
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
74bc658fe9 ENH: new encapsulation: dynamicCode, dynamicCodeContext
- improve loading/unloading characteristics for codedFixedValue
  but still needs work
2011-02-24 17:14:59 +01:00
6eb982573c ENH: add stub function to codedFixedValueFvPatchScalarField for version checking
- eg, fixedValue10_<SHA1>, its existence indicates that the correct
  library has been loaded
2011-02-24 08:54:12 +01:00
97a15a8b06 STYLE: simplify stringOps::expand names 2011-02-23 14:42:51 +01:00
67fc6a171a ENH: use stringOps::expandDict when processing codeStream input 2011-02-23 14:22:14 +01:00
f4a84af465 STYLE: trim both ends of codeStream entries
- improves consistency of SHA1 calculation
2011-02-23 10:23:50 +01:00
abde400dd5 Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	bin/foamCleanPath
2011-02-22 19:24:31 +01:00
70f359bb2b STYLE: refactor codeStream code into codeStreamTools 2011-02-22 18:22:57 +01:00
dce20ade07 ENH: compile codedFixedValueFvPatchScalarField into local directory only 2011-02-22 16:25:34 +01:00
141fe37a86 ENH: compile codeStream into local directory only 2011-02-22 16:07:06 +01:00
f0f2bfa632 ENH: refactor codeStreamTools, use for codedFixedValueFvPatchScalarField 2011-02-22 15:01:20 +01:00
d9a1d9c5bd ENH: codeStream: derive input binary/ascii format. (though use of #codeStream in binary field?) 2011-02-22 12:16:29 +00:00
4aa279d7bc ENH: use HashTable for mapping codeStream entries
- write intermediate code to _SHA1 directories
- add Test-codeStream
2011-02-22 12:34:20 +01:00
ba873744f3 ENH: add stringOps namespace with a collection of string-related ops 2011-02-22 10:20:55 +01:00
d6874f0fce ENH: codeStream, codedFixedValue: renamed. added template directory. 2011-02-21 14:33:14 +00:00
7542b9b53b COMP: codeStream.C: added cast 2011-02-21 11:56:51 +00:00
5538eb4f95 ENH: #codeStream : new functionEntry 2011-02-21 10:13:01 +00:00