8f11aeabaf
BUG: Fix viscosity in simpleFoam motorBike tutorial ( fixes #550 )
2017-07-27 19:55:12 -04:00
efff02bbb7
BUG: incorrect range check in foamHelp ( closes #547 )
2017-07-22 23:54:08 +02:00
41b40c6c2a
COMP: typo in entry.H causing regression - fixes #546
2017-07-22 23:25:03 +02:00
a1742e7ad6
Merge branch 'style-string-access' into 'develop'
...
Consistent use of string methods
See merge request !128
2017-07-21 16:04:35 +01:00
7b4226ac4b
Merge branch 'regression-icc' into 'develop'
...
Regression icc
See merge request !129
2017-07-21 16:04:17 +01:00
b0b4c1aae5
COMP: intel compiler issues with operator ""_deg ( fixes #544 )
...
- this represents a partial revert for commit 6a0a8b99b3
2017-07-21 16:40:31 +02:00
c0c7c39031
ENH: provide direct pointer access to dictionaryEntry
2017-07-21 12:05:32 +02:00
2c69b7d7c4
STYLE: adjust some line lengths, doxygen comments
2017-07-20 13:50:35 +02:00
f304c7e830
ENH: no dictionary variable and function expansion when discarding entry
...
- the 'protect' inputMode is used to supply defaults.
If an entry already exists, it should act as a no-op without any
side-effects whatsoever.
2017-07-20 10:27:35 +02:00
e082be566b
STYLE: use Enum for #inputMode selection
2017-07-17 11:57:53 +02:00
751f11089a
Merge remote-tracking branch 'origin/master' into develop
2017-07-20 12:17:26 +02:00
01292a9a76
BUG: failed check for scotch headers on ubuntu ( closes #543 )
...
- installed under /usr/include/scotch/scotch.h
ENH: obtain fallback value for SCOTCH_VERSION from the header
COMP: add support for metis, scotch static libraries (eg, EasyBuild)
2017-07-20 12:15:08 +02:00
922ea5667e
BUG: IOobject interpretation of ./ in construct-from-fileName ( closes #482 )
...
- Resolve ambiguity by using the following rules:
1) starts with '/' => absolute file-system path
2) starts with './' or '../' => file-system path relative to CWD
3) otherwise treat as relative to the case
STYLE: allow write access to headerClassName
2017-07-19 12:09:43 +02:00
cc290b7c02
ENH: improve dictionary parsing behaviour for ill-formed entries ( closes #510 )
...
- mostly associated with forgotten quotes around "(abd|def)" ...
- Address different potential problems:
(key) { key1 entry1; }
(key) { key1 entry1; }; // <- Note trailing ';'
(key) entry2;
2017-07-19 11:00:44 +02:00
b85457fc35
STYLE: Updated directory names for interCondensatingEvaporatingFoam solver. Fixes #533
2017-07-19 08:24:17 +01:00
efe9b04adc
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2017-07-19 08:19:15 +01:00
67e6f54808
Merge branch 'feature-streams-cleanup' into 'develop'
...
Feature streams cleanup
See merge request !127
2017-07-18 12:48:31 +01:00
263d7efae2
Merge branch 'stylefix-checkMesh' into 'develop'
...
STYLE: checkMesh: remove duplicate writeSets entry from header (resolves #293 )
See merge request !125
2017-07-18 12:17:01 +01:00
b0db30ba2f
Merge branch 'feature-externalFileCoupler' into 'develop'
...
Feature external file coupler
See merge request !126
2017-07-18 11:12:05 +01:00
db376a412d
ENH: improved behaviour of input stream rewind (issue #534 )
...
- clear error flags. Special handling for igzstream.
2017-07-18 11:10:51 +02:00
6d2f870f83
STYLE: minor typos in comments
2017-07-18 09:01:43 +02:00
b4b50a3aa8
ENH: added OStringStream reset method ( closes #534 )
...
- resets the output buffer completely - implementing what rewind was
likely meant to have accomplished for many use cases.
STYLE: OSHA1stream reset() for symmetry. Deprecate rewind().
2017-07-17 18:32:42 +02:00
86ef9e86dc
ENH: make treatment of stream allocators more uniform (issue #532 )
...
- use allocator class to wrap the stream pointers instead of passing
them into ISstream, OSstream and using a dynamic cast to delete
then. This is especially important if we will have a bidirectional
stream (can't delete twice!).
STYLE:
- file stream constructors with std::string (C++11)
- for rewind, explicit about in|out direction. This is not currently
important, but avoids surprises with any future bidirectional access.
- combined string streams in StringStream.H header.
Similar to <sstream> include that has both input and output string
streams.
2017-07-17 15:14:38 +02:00
8399277d7d
STYLE: eliminate duplicate includes (issue #293 )
2017-07-17 14:44:05 +02:00
da24358314
ENH: provide direct access to file-stat size
2017-07-17 13:49:08 +02:00
454ad5162c
STYLE: Use C++11 and OpenFOAM-1706 methods in externalCoupled
2017-07-17 13:41:14 +02:00
7a408c713b
ENH: refactor and combine externalFileCoupler (issue #529 )
2017-07-17 12:54:02 +02:00
e045d6c03b
ENH: limit file checks in the abort function object to the master process
...
- do not recheck the abort after it has been triggered once.
This reduces the output clutter and file checks.
2017-07-17 10:47:10 +02:00
dd0c26568a
STYLE: checkMesh: remove duplicate writeSets entry from header ( resolves #293 )
2017-07-16 10:31:33 -04:00
2fe3a62057
STYLE: use nullptr instead of 0 in autoPtr, tmp etc.
2017-07-14 16:50:21 +02:00
b287d1bddd
CONFIG: cpu/sys information in profiling now OFF by default (issue #526 )
...
- since the cpu/sys information is invariant, it doesn't make much
sense to emit by default at every time-step.
2017-07-14 16:41:15 +02:00
7380f53efb
ENH: add infoSwitch to control reporting of slaves/roots ( closes #531 )
...
- With many processors, the number of entries becomes quite large.
New controlDict InfoSwitches: "writeSlaves", "writeRoots".
2017-07-14 16:22:23 +02:00
58cc6b8b82
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2017-07-13 14:47:54 +01:00
aa969ec157
BUG: IOobject: interpretation of ./ in construct-from-fileName. Fixes #482 .
2017-07-13 14:47:20 +01:00
9e88a8a21e
ENH: enable profiling output for postProcess and -postProcess ( closes #526 )
...
- added an explicit print, but only report profiling to the log
file from master process.
We don't wish to overwrite any profiling that was conducted during
the simulation. Besides which, we don't have a proper Time object
for handling the write nicely either.
2017-07-12 15:48:25 +02:00
9161c228c3
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2017-07-12 10:58:53 +01:00
0a65b142cf
BUG: snappyHexMesh: calculate surface normals if face splitting. Fixes #522 .
2017-07-12 10:58:21 +01:00
a6ef10506d
ENH: respect the I_MPI_ROOT setting for INTELMPI (issue #524 )
...
- add note in BuildIssues about the I_MPI_CC variable, which is needed
when building with Intel-MPI and gcc/clang.
This additional setting is needed since the changes needed to solve
the issue of building scotch with Intel-MPI and icc (issue #434 )
means that mpiicc is now being used as the wrapper when compiling
scotch.
- have the FOAM_MPI short name for INTELMPI start with 'impi-' instead
of just the version number.
Intel-MPI is often installed as /opt/intel/impi/4.1.3.049, which
results in 'FOAM_MPI=4.1.3.049' and the mpi flavour is lost.
Prefix these cases with 'impi-'
2017-07-12 11:02:04 +02:00
2183907afe
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2017-07-12 09:19:01 +01:00
f932e25556
ENH: mergeOrSplitBaffles: fix header. See #468 .
2017-07-12 09:17:48 +01:00
cce74d493b
ENH: remove deprecated ensight output order (issue #523 )
...
- Added for transition purposes only in 1612 but can now be removed.
2017-07-11 14:57:05 +02:00
ded09d6461
STYLE: relocate deprecated utilities into separate directory
2017-07-11 14:47:50 +02:00
ac0053b8b2
Merge branch 'feature-post-release-cleaning' into 'develop'
...
Feature post release cleaning
See merge request !123
2017-07-11 12:45:20 +01:00
c76ae7abb3
COMP: add support for metis, scotch static libraries (eg, EasyBuild)
2017-07-11 11:36:37 +02:00
2b249e1ad3
STYLE: avoid default copyright assignment when generating from code templates
2017-07-11 08:58:52 +02:00
9097801105
STYLE: additional divisions for code templates
2017-07-11 08:48:10 +02:00
f26989d52e
ENH: allow '/' in ${...} blocks for future entry scoping (issue #429 )
...
- Eg, "${scope/name}" to be supported with this.
2017-07-10 13:25:10 +02:00
910967c070
ENH: add Foam::SubStrings container and stringOps::split
...
- generic means of holding ranges of substring iterators
2017-07-20 19:53:57 +02:00
8df433860f
STYLE: use string substr instead of string::operator()
...
- makes the purpose clearer.
In some places, string::resize() is even simpler.
- use C++11 string::back() in preference to str[str.size()-1]
2017-07-21 12:30:42 +02:00
72f242405a
STYLE: word::validated without underscore prefix by default (issue #518 )
...
- this now appears to be the more common use case.
2017-07-18 14:09:49 +02:00