Commit Graph

22434 Commits

Author SHA1 Message Date
bdbbca35a6 ENH: improve code isolation for signal-handling
- file-local static for saving the old action, which moves system
  dependencies out of the header files.

- set/reset of signals as file-local functions

STYLE: use csignal header instead of signal.h
2019-04-02 11:38:09 +02:00
d25cb1dd70 ENH: open standard file streams with ios_base::binary
- this improves overall consistency and is independent of higher level
  tagging as ASCII or BINARY for IFstream, OFstream etc.
2019-04-02 22:05:13 +02:00
e13b1b11f6 ENH: add pTraits<complex> (#1247) 2019-04-04 19:00:29 +02:00
9a5a2cf7ba STYLE: use constexpr for pTraits rank 2019-04-04 17:40:06 +02:00
df35ba4643 ENH: add iterators to VectorSpace (#1265)
- this adds support for various STL operations including

    * sorting, filling, find min/max element etc.
    * for-range iteration

STYLE: use constexpr for VectorSpace rank
2019-04-04 17:14:27 +02:00
fa8558a403 STYLE: use std:: qualifier on ::abort, ::exit
- consistent with use of <cstdlib> and makes for a stronger distinct
  from Foam::abort etc.
2019-04-03 20:24:30 +02:00
542ef16628 STYLE: make some OSspecific constructors explicit 2019-04-02 15:36:16 +02:00
5468d96c82 ENH: emit "constant" for uniform constant field (#1269)
- this improves overall consistency and makes re-reading as a generic
  patch field behave properly when the underlying patch has zero size.
2019-04-04 16:23:41 +02:00
019f7014de STYLE: simplify if nesting in generic patch fields (#1269)
- use git show/diff -w when viewing
2019-04-04 12:41:09 +02:00
8cf3891f89 STYLE: adjusted wording and messages for wmake
- add an additional test for wmake pre-processing
2019-04-03 08:57:01 +02:00
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