Commit Graph

22424 Commits

Author SHA1 Message Date
02e26b3aed ENH: add fileName::concat static method
- similar to the global '/' operator, but taking raw strings and not
  performing any stripping.

  Was previously a local function within POSIX.C, but it is useful enough
  to be in fileName itself.
2019-04-05 09:42:25 +02:00
e2de66f18e ENH: allow space char in fileName is now configurable (#1008)
- having whitespace in fileName can be somewhat fragile since it means
  that the fileName components do not necessarily correspond to a
  'Foam::word'. But in many cases it will work provided that spaces
  are not present in the final portion of the simulation directory
  itself.

    InfoSwitches
    {
        // Allow space character in fileName (use with caution)
        allowSpaceInFileName    0;
    }

- now use doClean=true as default for fileName::validate(). Was false.

  Unlike fileName::clean() this requires no internal string rewrite
  since the characters are being copied.  Also handle any path
  separator transformations (ie, backslash => forward slash) at the
  same time. This makes it resemble the std::filesystem a bit more.
2019-04-01 16:40:22 +02:00
40d31aa1d6 STYLE: gravity: whitespace 2019-04-04 14:52:04 +01:00
dc689e625d BUG: uniformFixedValue: fix tutorials. See #1046. 2019-04-04 09:24:42 +01:00
8aa454a16a ENH: Updating overRhoSimpleFoam and overSimpleFoam to use
oversetInterpolationSuppressed dict.
2019-04-03 12:55:33 -07:00
9e4e462936 Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2019-04-01 08:30:41 -07:00
25b37ae30d ENH: Adding new Gaussian power profile for laser 2019-04-01 08:29:56 -07:00
b4e3f8c8af ENH: renumberMesh: renumber refinement data. Fixes #1241. 2019-04-01 09:48:23 +01:00
ac065990d4 ENH: support wmake -show options for compiler information (#1256)
- can be useful for retrieving the compilation flags for use with other
  make systems (eg, cmake)

  * wmake -show-compile   (C++ not C)
  * wmake -show-cxx
  * wmake -show-cxxflags
2019-04-01 09:03:48 +02:00
98db208975 STYLE: missing inline specifier (#1263) 2019-04-01 07:51:54 +02:00
13fbefcac7 TUT: include samples instead of cuttingPlane (closes #1254) 2019-03-29 12:32:21 +01:00
3c0dac5209 ENH: add some function support for complexField (#1247)
- operators are still incomplete, as are dimensioned fields,
  field-fields etc.

- split complexFields into separate complexField, complexVectorField files
2019-03-29 11:57:02 +01:00
894f14e1d5 ENH: conversion and function improvements for complex (#1247)
- add construction from and conversion to std::complex, which allows
  easier wrapping of functions

- add Foam:: functions for complex versions of sin, cos, ...
2019-03-29 11:03:48 +01:00
1aaa4e3ed2 ENH: add min/max method to PDRblock::location (#1216)
- grid(i,j,k) method for returning the grid point at an i-j-k location
2019-03-27 14:43:44 +01:00
9236af25e6 ENH: overset: move to oversetInterpolationSuppressed. Part of #1041. 2019-03-28 15:17:13 +00:00
12f2e7e154 BUG: PBiCGStab: check minIter. Fixes #1052. 2019-03-27 16:29:52 +00:00
729d8e41b7 ENH: snappyHexMesh: allow cross-patch merging of patch faces. Fixes #1255. 2019-03-27 15:04:48 +00:00
77076e5302 STYLE: remove deprecated bitSet::used() method
- The 'used()' method was for transitional compatibility with the now
  defunct PackedBoolList.

  The canonical method name for returning a labelList of 'on' bits is
  toc().
2019-03-27 09:04:13 +01:00
626c97cbea STYLE: move bitSet '~' member operator to be a global operator instead 2019-03-27 08:46:10 +01:00
311581371f ENH: changed definition of complex::one (#1247)
- was historically defined as (1 1), but it is more consistent with
  the concept of one to have a real component only.

  Now defined as (1 0):  1+0i

STYLE: remove obscure '!' operator for complex conjugate

- either use the member function or the '~' operator
2019-03-27 08:24:03 +01:00
40d771b399 ENH: extrudeMesh: -dict. See #1253 2019-03-27 10:39:35 +00:00
9968a2dc3d Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop 2019-03-26 10:58:14 -07:00
f3afd4b78e ENH: Delete unused Qin_ variable on laserDTRM.H 2019-03-26 10:57:45 -07:00
74d1844d9e ENH: Adding Function1 functionality to rpm in swirlFanVelocityFvPatch 2019-03-25 10:13:00 -07:00
8b28f69c2e Merge branch 'snappyHexMesh-proximityCheck' into 'develop'
Snappy hex mesh proximity check

See merge request Development/OpenFOAM-plus!249
2019-03-25 16:49:50 +00:00
1496c6afe1 Snappy hex mesh proximity check 2019-03-25 16:49:50 +00:00
8e8eb32cc4 ENH: limitedSnGrad: added debug writing 2019-03-25 15:42:29 +00:00
114ddb0c53 ENH: additional construct/assignment methods for complex (#1247)
- construct/assign from Zero
2019-03-25 15:17:58 +01:00
7243549491 ENH: globalIndex: helper function to get remote values 2019-03-21 17:55:05 +00:00
d1905f9951 ENH: exact: use parallel decomposition method 2019-03-20 15:29:47 +00:00
58dc5342c6 TUT: add reconstructPar for interIsoFoam/iobasin (issue #1244) 2019-03-22 17:42:36 +00:00
6bd3b727cf STYLE: use 'statusDone' keyword for coupling (#1243) 2019-03-22 08:00:01 +01:00
962e2ef54c ENH: make external file coupling status= configurable (#1243) 2019-03-21 17:26:16 +01:00
e6df121db2 STYLE: fix comment 2019-03-21 09:49:56 +01:00
efd84d01b2 STYLE: adjust some internal variables names in hierarchGeomDecomp 2019-03-20 12:02:42 +01:00
88630d6367 STYLE: docs for activePressureForceBaffleVelocity 2019-03-19 13:36:16 +01:00
f4dfa5f493 ENH: support VTK multi-piece output for surfaces 2019-03-19 10:03:14 +01:00
df8699108b ENH: support VTK output of uniform field 2019-03-19 09:45:52 +01:00
29c8a77a96 ENH: add transfer for simple MeshedSurface components 2019-03-18 18:17:22 +01:00
cdb5d31e01 GIT: update completion_cache 2019-03-15 17:38:57 +01:00
659be87944 ENH: add findCell for PDRblockMesh 2019-03-14 16:24:20 +01:00
2336b46cd6 STYLE: narrow represention for boundBox bits enums
- add boundBox::directionBit enum which contains the same values as the
  treeBoundBox::octantBit enum, but without the attached meaning
2019-03-15 16:23:10 +01:00
502fd34280 COMP: provision for non-existence of bessel functions
- These are not defined in the C++ standard for cmath, so allow for
  compilation without them. Will need to provide replacements in the
  future or rework.
2019-03-15 11:19:15 +01:00
62fa24080f COMP: use intptr_t instead of long for hashing pointers 2019-03-15 10:03:12 +01:00
db1b1e8ad4 COMP: update endian macros. More universal syntax, less clutter. 2019-03-15 09:10:21 +01:00
323fe2f299 ENH: reorganize regular expressions and add C++11 regex support
- new regExpCxx wrapper for C++11 regex support with drop-in
  compatibility with existing code.

- regExpPosix (was regExp), for future phase out in favour of regExpCxx.

- The regExp header will continue to be used for defining an
  appropriate typedef corresponding to the preferred implementation.
2019-03-14 13:24:23 +01:00
9ea99ed8df STYLE: relocate endian from OSspecific to OpenFOAM/primitives
- this information is more related to processor, not OS
2019-03-14 12:12:16 +01:00
46dfbe8d21 STYLE: consistent handling of fileName concatenation (POSIX) 2019-03-14 11:48:53 +01:00
05808cd586 ENH: add handling of lib/exe file extensions in makefile (#1238)
- relocates some logic from makefiles/general into platform-specific
  overrides
2019-03-14 10:42:57 +01:00
db6e30aac8 ENH: rhoPimpleAdiabaticFoam: unused code 2019-03-14 12:45:02 +00:00