Commit Graph

12018 Commits

Author SHA1 Message Date
15b7e87da7 tmp: Updated to store and preserve the const-ness of the reference to a constant object
This change requires that the de-reference operator '()' returns a
const-reference to the object stored irrespective of the const-ness of
object stored and the new member function 'ref()' is provided to return
an non-const reference to stored object which throws a fatal error if the
stored object is const.

In order to smooth the transition to this new safer 'tmp' the now
deprecated and unsafe non-const de-reference operator '()' is still
provided by default but may be switched-off with the compilation switch
'CONST_TMP'.

The main OpenFOAM library has already been upgraded and '-DCONST_TMP'
option specified in the 'options' file to switch to the new 'tmp'
behavior.  The rest of OpenFOAM-dev will be upgraded over the following
few weeks.

Henry G. Weller
CFD Direct
2016-02-22 16:23:21 +00:00
b3bea42ada Migrated pointToPointPlanarInterpolation updates from old development line 2016-02-22 12:15:34 +00:00
de6313e4ce ENH: Migrated eigen vector/value updates from old development line and updated dependencies 2016-02-22 12:14:53 +00:00
1bb86b47a6 BUG: utility FOs - commented premature addition of new mapFields FO 2016-06-28 09:35:47 +01:00
c35bcc05f4 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-06-27 23:22:54 +01:00
7d389bcead STYLE: Consistency in Copyright statement 2016-06-27 22:38:50 +01:00
efb39a8790 ENH: (further) Doxygen documentation updates for module support 2016-06-27 20:34:19 +01:00
4a0c74d292 ENH: readFields function object - read fields on construction 2016-06-27 20:32:12 +01:00
ae11551ed2 ENH: fvOptions - added new acousticDampingSource to damp spurious pressure perturbations 2016-06-27 19:31:45 +01:00
8ba70962b2 Merge branch '3rdparty-updates' into 'develop'
3rdparty updates



See merge request !49
2016-06-24 10:09:19 +01:00
4b7056acf9 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-06-23 15:46:30 +01:00
92f833db75 ENH: snappyHexMesh: walk through faceZones without attached cellZone
If a side is not yet assigned to a cellZone (but the neighbour is)
and the surface is not related to a faceZone, assign the neighbour cellZone.
Fixes #156
2016-06-23 15:44:41 +01:00
32a6697728 Merge remote-tracking branch 'origin/develop' into develop 2016-06-23 16:16:38 +02:00
95c9e53a14 STYLE: remove echo to stdout for profiling::writeNow() 2016-06-23 16:15:27 +02:00
53d1084723 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-06-23 14:54:07 +01:00
4d95d6e8d9 BUG: Continuation of #155 - further fix for accessing data object 2016-06-23 14:53:50 +01:00
ea58a523da ENH: use long for number of calls in profiling (issue #157)
- provide a static profiling::print(Ostream&) method to output
  values to a log file.
2016-06-23 14:34:45 +02:00
eb3ba2479a BUG: disturbing warning about multiple initialization of profiling
- For example, decomposePar use multiple simultaneous Times.
  So permit multiple initialization without a warning. (issue #157)
2016-06-23 14:18:17 +02:00
9aa3681dcc Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-06-22 16:52:39 +01:00
cc68190167 BUG: runTimePostProcessing - set the appropriate cell or point data type. Fixes #155 2016-06-22 16:52:16 +01:00
85e246b8f2 BUG: profiling dictionary could be binary/compressed (fixed #157)
BUG: memInfo not activated by -profiling option (fixed #157)
2016-06-22 17:20:15 +02:00
3cf049a88b Merge branch 'feature-AMIMethod' into 'develop'
mapNearestAMI: move normalisation to AMIMethod.

Avoids cells shared among processors to be counted multiple times and having
weights > 1.

See merge request !37
2016-06-22 14:59:09 +01:00
b0b25c5f7e Merge branch 'feature-mapFields' into 'develop'
mapping constraint patches



See merge request !48
2016-06-22 14:48:45 +01:00
a8b0552338 Merge branch 'feature-profiling' into 'develop'
high-level profiling/timing functionality



See merge request !47
2016-06-22 14:46:50 +01:00
b8edbb9fe1 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-06-22 11:24:30 +01:00
48edad64e5 ENH: Improving BC description 2016-06-21 08:45:02 -07:00
c1a3ad4f00 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-06-21 08:24:20 -07:00
244ec265e2 BUG: Setting transient to true when cloud is not active. 2016-06-21 08:10:21 -07:00
db467dbcf8 BUG: foamToVTK produces invalid files (fixes #154)
- broken by commit 2027059b (2016-03-09) where the pTraits
  nComponents type was changed from int to Foam::direction
2016-06-21 10:21:17 +02:00
cbc4e0d96f ENH: add maxMem information to profiling
- value corresponds to the max memory when the corresponding profiling
  is started.
  Only used when the top-level profiling has memInfo active.

- memInfo is disabled by default, since the new maxMem functionality
  otherwise adds overhead with every call.

tutorial:
    /lagrangian/reactingParcelFoam/verticalChannelLTS
2016-06-20 21:21:43 +02:00
37bf28c249 STYLE: rename Profiling -> profiling 2016-06-20 21:20:31 +02:00
5583b78d9d ENH: snappyHexMesh: revert zoneing back to e8d73e5546
since growing single cells just makes the zoneing inconsistent with the
surface intersections (so you don't have a patch when converting surface
intersections to baffles)
2016-06-20 16:39:34 +01:00
b1d755aca1 ENH: mapFieldsPar: map (global) constraint patches 2016-06-20 11:25:38 +01:00
ae74a9ba6c COMP: solidChemistryModel: accessing tmp 2016-06-20 11:21:51 +01:00
726aa8cdb9 ENH: out of source build for paraview plugins
- more consistent with the rest of the OpenFOAM source tree

- improve wmake / wclean behaviour
2016-06-20 11:18:24 +02:00
e86d3f2e0e ENH: add preliminary profiling items into snappyHexMesh
- needs more refinement, but provides the general idea.
2016-06-18 01:00:55 +02:00
be73d81a22 ENH: support '-profiling' command-line option
- this option overrides any controlDict settings as a convenient means
  to selecting profiling without messing with the controlDict.

- provide Profiling::writeNow() to emit profiling for utilities that
  don't have any natural time increment mechanism to trigger it.
2016-06-17 23:45:03 +02:00
e57a0e68a2 ENH: (further) Doxygen documentation updates for module support 2016-06-17 17:41:04 +01:00
d31adaeb5e ENH: (further) Doxygen documentation updates for module support 2016-06-17 17:41:04 +01:00
b6ad46e139 GIT: Resolved conflict 2016-06-17 14:20:45 +01:00
9e84deeb09 STYLE: Updated template code 2016-06-17 14:11:59 +01:00
86cb17b443 ENH: Doxygen documentation updates for module support 2016-06-17 11:53:31 +01:00
97943ed819 COMP: improve robustness and warning messages when building paraview plugins 2016-06-17 09:31:41 +02:00
98e951e8ba COMP: downgrade error to warning when building run-time post-pro
- although the build is not 100% complete, it is only the run-time
  post-processing with VTK that is affected.

- improve robustness and warning messages

COMP: adjust build order (solvers, utilities)

- as per http://bugs.openfoam.org/view.php?id=2116
2016-06-16 19:58:55 +02:00
a39ffa66f2 STYLE: remove unneeded sourcing of scotch 2016-06-16 10:22:58 +02:00
ad73063ebd Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2016-06-15 17:01:27 -07:00
6f9a8f5b5a BUG: Fixing wideBandDiffusiveRadiationMixed in calculation of incident radiation on wall for wide band model. 2016-06-15 17:00:30 -07:00
2dc31390df ENH: add some system information when outputting profiling
- basic cpuInfo (model identification, MHz, etc)
- process memInfo

- profiling is activated via the case system/controlDict by
  adding a "profiling" sub-dictionary.

  Simply add the following (everything enabled):

      profiling
      {}

  Which corresponds to the longer form:

      profiling
      {
          active      true;  // default: true
          cpuInfo     true;  // default: true
          memInfo     true;  // default: true
          sysInfo     true;  // default: true
      }

  This can be used to selectively disable any extra information
  (eg, you don't want anyone else to know what hardware was used).
2016-06-15 20:17:44 +02:00
f029bda6d2 Merge branch 'feature-conservativeACMI' into 'develop'
BUG: cyclicACMI: make conservative and remove faceAreas0

Need to review cyclicACMI patch non-overlap values
- values here preserve initial values only
- snGrad - used?
- wall functions - no longer call updateCoeffs with ACMI weights (?)

See merge request !46
2016-06-15 16:16:43 +01:00
3819cf1659 BUG: streamlines: failure on muttley, not on local machine.
The problem was the demand-loading of the functionObjectProperties
IOdictionary which can cause parallel communication (if timeStampMaster
it scatters the headerOk status). So call setProperty on all processors!
Fixes #118.
2016-06-15 15:48:38 +01:00