bf14e44bb3
Updated code comments
2016-05-19 09:40:17 +01:00
83c7e97655
dynamicCode: Renamed 'redirectType' to 'name' to clarify the purpose
...
of the entry which is to provide the name of the generated class.
'redirectType' is supported for backward-compatibility.
2016-05-18 23:10:42 +01:00
354bc8bdcb
dynamicCode: the "code" entry is now optional
...
codedFunctionObject: Added the "codeWrite" entry
for the "write" function for consistency.
The previous method of using the "code" entry for the "write"
function was inconsistent and very confusing.
2016-05-18 12:20:03 +01:00
95d146ecdf
Rationalized the indentation of C-preprocessor directives
2016-02-29 15:42:03 +00:00
68e86f97fe
Info -> InfoInFunction and updated comments
2016-01-20 10:18:13 +00:00
dc43311e62
src/OpenFOAM: Update ...IOErrorIn -> ...IOErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 21:13:04 +00:00
a4ab3f61db
src/OpenFOAM: Update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-08 12:23:52 +00:00
8628ef2fea
Corrected capitalization of Doxygen documentation comments
2015-02-14 13:10:15 +00:00
325b003b6e
Added and verified support for 64bit labels
...
To compile with 64bit labels set
WM_LABEL_SIZE=64
in ~/OpenFOAM/dev/prefs.sh
source ~/.bashrc
then Allwmake in OpenFOAM-dev.
This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt
If WM_LABEL_SIZE is unset or set to 32:
WM_LABEL_SIZE=32
the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt
Thus both 32bit and 64bit label builds can coexist without problem.
2014-12-31 19:02:52 +00:00
d913e1c133
ENH: coded: allow for NFS skew
2014-01-14 17:34:06 +00:00
8e968f5647
STYLE: debug: move debug declaration into Foam namespace
2012-12-11 09:33:20 +00:00
0fc430a57b
STYLE: codedBase: indenting
2012-09-25 14:14:29 +01:00
6d3b104421
STYLE: dynamicCodeContext: Doxygen parsing
2012-08-31 12:53:32 +01:00
c6c9819249
BUG: dynamicCodeContext: do not add line number to Make/options
2012-06-22 16:42:21 +01:00
289dd8fdc8
Updated header
2012-06-06 21:13:15 +01:00
15fe2b6bf9
dynamicCode: Clang requires line numbers to start from 1 rather than 0
2012-06-06 21:12:58 +01:00
cd64f1762f
ENH: codedFixedValue: refactor coded
2011-10-24 21:33:16 +01:00
1cc1ddcacf
ENH: dlOpen: check error message string
2011-10-24 21:31:38 +01:00
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
89d4dff64f
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
...
Conflicts:
src/OpenFOAM/db/dynamicLibrary/dlLibraryTable/dlLibraryTableTemplates.C
2011-08-02 13:52:36 +01:00
ba46d43be7
BUG: dlLibraryTable: guarantee dlclose order opposite of dlopen order
2011-08-02 12:50:14 +01:00
80ebb46a82
dlLibraryTable: updated warning messaging
2011-08-01 22:50:24 +01:00
8fc5612159
BUG: dynamicCodeContext: preprocessing options_, localCode_
2011-06-21 11:07:48 +01:00
00760b736e
ENH: dynamicCode.C: check for permission even when restarting
2011-05-26 12:09:22 +01:00
b9f69cd122
STYLE: Updated GPL 2 -> GPL 3
2011-05-11 11:11:03 +01:00
f79aeb9402
ENH: Time: construct dlLibraryTable before reading dictionary so controlDict can have e.g. #codeStream
2011-04-20 11:52:24 +01:00
a791316896
ENH: dlLibraryTable: moved library handles to objects
2011-04-18 16:41:21 +01:00
e7400dba6c
ENH: dynamicCodeContext: moved include to after sha1 calculation since adds processor dependency
2011-04-13 15:59:54 +01:00
df0631c99c
STYLE: dlLibraryTable.C: dlclose comment
2011-04-01 17:36:20 +01:00
20b1d49a82
ENH: dynamicCode: display line numbers
2011-03-25 04:43:29 +00:00
cf99e5c800
ENH: codeStream: added codeLibs
2011-03-21 17:54:20 +00:00
12d965ead9
STYLE: more constness on const char* values
2011-03-11 09:08:45 +01: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
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
ffc74562f7
STYLE: shorten paths reported in dynamicCode
2011-03-02 15:36:02 +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
74bc658fe9
ENH: new encapsulation: dynamicCode, dynamicCodeContext
...
- improve loading/unloading characteristics for codedFixedValue
but still needs work
2011-02-24 17:14:59 +01:00
51399bbbd1
STYLE: use dynamicCode/ instead of codeStream/ for dynamically generated code
2011-02-24 13:21:39 +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
b0e39f71c3
STYLE: minor cleanup on doc/code for codeStream
2011-02-23 16:17:25 +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
b7429ef5c4
STYLE: relocate codeStreamTools into dynamicLibrary subdir
2011-02-22 19:40:37 +01:00