Commit Graph

22825 Commits

Author SHA1 Message Date
59f5e26b58 ENH: accept bitSet for MeshedSurface::subsetMesh
- add triSurface::subsetMesh single-parameter variant
2019-07-12 08:54:34 +02:00
df3979d4d9 ENH: add vtk::writeIdentity() and optional repeat value for vtk::write()
- An identity is often useful when generating connectivity and offset
  information.

- The optional repeat value for vtk::write() allows it to also be used
  as a fill method.
2019-07-11 13:42:02 +02:00
1601eb5377 Merge remote-tracking branch 'origin/master' into HEAD 2019-07-12 14:21:08 +02:00
e6c1ec0c40 STYLE: set owner as root/root for manifest.txt in tarfile (for consistency) 2019-07-12 14:19:23 +02:00
a28318ced7 BUG: incorrect blocked face synchronisation crashes regionSplit (#1370)
- now catch these and emit a warning.
  Still need to investigate the root cause in the caller(s) or regionSplit.
2019-07-12 13:29:20 +02:00
080aaef870 STYLE: remove uncompressed tar file after -tgz output 2019-07-10 20:34:40 +02:00
e716b14b42 CONFIG: Updated pressure FO config wrappers. See #1356 2019-07-10 13:22:19 +01:00
f72ddd4503 ENH: support Foam::mv overwrite of existing files on windows (#1238)
- the behaviour of std::rename with overwriting an existing file is
  implementation dependent:
    - POSIX: it overwrites.
    - Windows: it does not overwrite.

- for Windows need to use the ::MoveFileEx() routine for overwriting.

  More investigation is needed for proper handling of very long names.
2019-07-09 18:52:06 +02:00
84f02a18df CONFIG: always allow spaces in fileName for Windows (#1238)
- this cannot be left as a configurable value (on windows), since it
  needs to be enabled even prior to reading the etc/controlDict file,
  in case the OpenFOAM installation path itself contains spaces.
2019-07-09 18:04:23 +02:00
2efda6ecb6 ENH: improve overwrite behaviour of tutorials/Alltest (#1364)
Modifications to help avoid inadvertent overwriting of tutorialsTest:

- new '-force' option to overwrite existing directory

- generate a 'tutorialsTest/Alltest' script that disallows the
  possibilty of self-recursion
2019-07-09 12:06:41 +02:00
7d18d0e3b0 ENH: return scalar for surface uniformity (#1363) 2019-07-08 19:21:40 +02:00
e2134cdb00 ENH: improved treeDataPoint subset handling (#1359)
- reverse mapping for the original point ids. This can be useful
  when searching a subset of points, but needing to store access to
  the original point index.

- move constructor.

- Allow use/not-use subset as an optional constructor argument for
  more convenient caller logic.
2019-07-08 11:20:44 +02:00
19d2888a5e Merge remote-tracking branch 'origin/master' into develop 2019-07-08 19:24:10 +02:00
8f19a12726 CONFIG: bump patch level 2019-07-08 14:04:49 +02:00
7360ef7d46 COMP: silence spurious GCC -Wstringop-truncation warning in ensightFile 2019-07-08 13:53:06 +02:00
400cb033c0 COMP: erroneous double definition for long IO on windows (#1360, #1238)
- mingw uses 32-bit long regardless of -m32 or -m64 setting
2019-07-08 13:34:16 +02:00
f2d56deedd BUG: questionable findInstance handling of constant (related to #1112)
- when searching for a file that may not actually exist,
  the short-cut optimization could lead to the 'constant' directory
  being ignored.

STYLE: simplify logic in points0MotionSolver::points0IO
2019-07-05 11:04:06 +02:00
8f6f19b25c CONFIG: do not touch LD_PRELOAD contents at all (#1357) 2019-07-05 10:29:18 +02:00
c19a3d3384 BUG: metis PrecisionAdaptor used ref() instead of constCast() - closes #1354
- the scotch interface still uses non-const pointers when passing in
  values. For the ConstPrecisionAdaptor this means that we need to cheat
  with a constCast(). Using ref() will rightly trigger complaints about
  trying to modify a const object.
2019-07-04 17:07:48 +02:00
24db043d24 Merge branch 'master' into develop 2019-07-02 10:39:21 +01:00
39c80228da BUG: DimensionedField - register new field if it does not have the same name as the copy - see #1348 2019-07-02 10:22:50 +01:00
9036aadf37 TUT: use simpleGrading vs simplegrading
- add PDRblockMeshDict example for cavity
2019-06-28 10:30:58 +02:00
a1bf7a68aa STYLE: relocate Allwmake-scan to src/
- reduced clutter. Mostly only need to scan source tree.

- 00-dummy: use wmake/src/Allmake to get native (not cross-compiled)
  wmake toolchain binaries
2019-06-28 09:55:25 +02:00
0ca876f444 BUG: pressure FO - corrected handling of enumeration in calcPressure function. See #1356 2019-07-09 11:44:52 +01:00
e8e2525f03 STYLE: relocate Allwmake-scan to src/
- reduced clutter. Mostly only need to scan source tree.

- 00-dummy: use wmake/src/Allmake to get native (not cross-compiled)
  wmake toolchain binaries
2019-06-28 09:55:25 +02:00
19288af713 STYLE: use autoPtr get() instead of operator->()
- don't need extra nullptr check for some cases. Less clutter.
2019-06-28 09:06:26 +02:00
5fe4e62b27 STYLE: can use objectRegistry::checkOut() directly with a pointer 2019-06-27 19:24:54 +02:00
ec519e3cfc STYLE: remove unneeded regIOobject release (#1276)
- changed for 1906 to have a regIOobject always cleanup its
  objectRegistry entry. No need to explicitly 'release' ownership
  for this to now happen.

- doxygen formatting for MeshObject
2019-06-27 19:09:22 +02:00
fe3c5ca1a7 CONFIG: add compiler config for gcc-9
Caveat: The -Wdeprecated-copy produces many, many compiler warnings
2019-06-27 19:03:32 +02:00
843663d14b COMP: avoid ref to synchronization for non-MPI VTK build (fixes #1349) 2019-06-27 14:59:14 +02:00
48b75edb1c CONFIG: Reset WM_PROJECT_VERSION 2019-06-27 13:30:14 +01:00
f4a7ad1f64 Merge branch 'develop' 2019-06-27 13:27:57 +01:00
5ec783e6c4 TUT: tutorial update 2019-06-26 11:54:12 +01:00
9fae7f30f1 BUG: Removed Debug statements 2019-06-26 11:53:41 +01:00
fec74af0ca COMP: Resolved some name clashes for #ifdef statements 2019-06-26 11:52:15 +01:00
980a5fed40 COMP: Added some volatile statements for clang
TODO: need to revisit
2019-06-26 11:55:22 +01:00
82bc339398 GIT: Removed unused file 2019-06-25 13:20:44 +01:00
f9791ff5ff RELEASE: Version clean-up for release 2019-06-25 11:51:19 +01:00
071c146c4d TUT: add '-n' when linking tutorial directory 2019-06-26 13:59:45 +02:00
8a932a37e8 STYLE: remove trailing spaces 2019-06-26 11:36:49 +02:00
3d01b172e5 CONFIG: update completion cache (csh) 2019-06-26 11:29:12 +02:00
c888be99f3 STYLE: allow '=' option separators in some bin/tools scripts 2019-06-26 11:27:53 +02:00
49ca9cedba CONFIG: add -no-patch option for foamPackRelease
- if desired to create a tar-file without a _patch value in its name.
2019-06-26 00:57:49 +02:00
c45aad0f76 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2019-06-25 08:51:10 -07:00
d47c6a2f34 BUG: Fix thermos templates for Lee model 2019-06-25 08:50:07 -07:00
4198eb0bac CONFIG: set umask 0022 when packing tar files for release 2019-06-25 17:24:39 +02:00
5f98deb233 TUT: Tutorial updates 2019-06-25 09:59:20 +01:00
d5ec4c6b17 SUBMODULES: catalyst with updated keywords/syntax in tutorial 2019-06-25 08:09:22 +02:00
6f90d05327 CONFIG: adjust bin/tools/foamConfigurePaths
- add a '-SPDP' option

- remove the '-archOption' for forcing a '-m32' build on 64-bit
  architecture, which is now considered too obscure.
  Must edit files manually if this option is really required.
2019-06-25 07:48:33 +02:00
c32e997032 DOC: update build and config information 2019-06-24 18:42:39 +02:00