Go to file
Mark Olesen a85c55bbb5 ENH: ensure that content changes in coded objects are noticed (#1293)
- for codedFunctionObject and CodedSource the main code snippets
  were not included in the SHA1 calculation, which meant that many
  changes would not be noticed and no new library would be compiled.

  As a workaround, a dummy 'code' entry could be used solely for the
  purposes of generating a SHA1, but this is easily forgotten.

  We now allow tracking of the dynamicCodeContext for the coded
  objects and append to the SHA1 hasher with specific entries.
  This should solve the previous misbehaviour.

  We additionally add information about the ordering of the code
  sections. Suppose we have a coded function object (all code
  segments are optional) with the following:

      codeExecute "";
      codeWrite   #{ Info<< "Called\n"; #};

  which we subsequently change to this:

      codeExecute #{ Info<< "Called\n"; #};
      codeWrite   "";

  If the code strings are simply concatenated together, the SHA1 hashes
  will be identical. We thus 'salt' with their semantic locations,
  choosing tags that are unlikely to occur within the code strings
  themselves.

- simplify the coded templates with constexpr for the SHA1sum
  information.

- Correct the CodedSource to use 'codeConstrain' instead of
  'codeSetValue' for consistency with the underlying functions.
2019-05-01 14:00:54 +02:00
.gitlab STYLE: Updated bug report template 2019-02-12 09:09:32 +00:00
applications ENH: add colour for x3d surface writer (#1057) 2019-05-06 17:13:22 +02:00
bin CONFIG: wmake -show-xyz in more places (issue #1256) 2019-04-12 11:02:30 +02:00
doc BOT: Cleaned up header files 2019-02-06 12:28:23 +00:00
etc ENH: ensure that content changes in coded objects are noticed (#1293) 2019-05-01 14:00:54 +02:00
META-INFO CONFIG: bump API to 1904 for changes in interaction with external MPI 2019-04-10 18:00:04 +02:00
modules GIT: adjust commits for modules 2019-04-29 19:47:39 +02:00
src ENH: ensure that content changes in coded objects are noticed (#1293) 2019-05-01 14:00:54 +02:00
tutorials INT: Updates for radiation modelling for integration into the develop branch 2019-05-02 10:40:16 +01:00
wmake BUG: had clang++ instead of armclang++ 2019-04-29 21:10:14 +02:00
.gitignore ENH: gitignore: Added temporary vi/vim files to the ignore list 2017-10-05 09:39:48 +01:00
.gitmodules GIT: include submodules in develop-pre-release branch 2018-06-11 11:53:29 +02:00
Allwmake STYLE: additional information at end of top-level Allwmake 2018-12-09 23:27:47 +01:00
Allwmake-scan CONFIG: wmake -show-xyz in more places (issue #1256) 2019-04-12 11:02:30 +02:00
BuildIssues.txt COMP: resolve size ambiguity (Darwin) 2018-05-29 12:36:12 +02:00
COPYING ADMIN: Updated COPYING file 2018-12-03 15:33:45 +00:00
README.md ENH: Updated config for release v1806 2018-06-28 12:56:00 +01:00

About OpenFOAM

OpenFOAM is a free, open source CFD software released and developed primarily by OpenCFD Ltd since 2004. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to acoustics, solid mechanics and electromagnetics. More...

OpenFOAM is professionally released every six months to include customer sponsored developments and contributions from the community - individual and group contributors, fork re-integrations including from FOAM-extend and OpenFOAM Foundation Ltd - in this Official Release sanctioned by the OpenFOAM Worldwide Trademark Owner aiming towards one OpenFOAM.

Copyright

OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file COPYING in this directory or http://www.gnu.org/licenses/, for a description of the GNU General Public License terms under which you can copy the files.

OpenFOAM Trademark

OpenCFD Ltd grants use of its OpenFOAM trademark by Third Parties on a licence basis. ESI Group and OpenFOAM Foundation Ltd are currently permitted to use the Name and agreed Domain Name. For information on trademark use, please refer to the trademark policy guidelines.

Please contact OpenCFD if you have any questions on the use of the OpenFOAM trademark.

Violations of the Trademark are continuously monitored, and will be duly prosecuted.

Useful Links

Copyright 2016-2018 OpenCFD Ltd