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
0456c5976d
STYLE: remove special treatment for 'include' keyword ( closes #521 )
...
- a holdover from OpenFOAM 1.4 (prior to the #include dictionary directive)
2017-07-10 10:30:15 +02:00
f304b70177
STYLE: simplify string handling for expansions in primitiveEntry
2017-07-07 19:42:57 +02:00
a09815fae2
Merge branch 'feature-post-release-cleaning' into 'develop'
...
Feature post release cleaning
See merge request !122
2017-07-07 17:29:06 +01:00
6afa62a6e4
STYLE: use shell 'command' instead of 'which' in tutorials
2017-07-07 16:00:57 +02:00
e7da4f0d07
TUT: adjust surfaceFeatureExtractDict to remove optional sub-dictionary
...
- as of v1706
extractFromSurfaceCoeffs { ... } is an optional subdictionary
2017-07-07 15:41:18 +02:00
acb5d54e41
STYLE: initializer_list instead of IStringStream for static list construction
2017-07-07 12:54:54 +02:00
a47e0748c4
STYLE: Code tidying
2017-07-07 11:50:40 +01:00
91b6f37c73
ENH: wallHeatFlux FO - removed hard-coding of qr name
2017-07-07 11:49:14 +01:00
51d46079df
ENH: consolidate table bounding (issue #520 )
...
- replace duplicate code with global bounds enums and Enum
2017-07-07 12:37:25 +02:00
45dabbfe2b
ENH: provide Enum failsafe lookup
...
- if the enum name is not found, then warn and return the default.
2017-07-07 12:33:41 +02:00
42bf91f3a5
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2017-07-06 13:46:15 +01:00
c55dc32501
BUG: triSurfaceMesh: construct-from-triSurface refers to original surface. Fixes #519 .
2017-07-06 13:45:25 +01:00
84e47f2d2a
ENH: cleanup dictionary code
...
- use typedefs and new features/methods
- file-scope template to avoid code duplication.
2017-07-06 12:58:04 +02:00
162e9126f3
STYLE: adjust internal coding for handing IOobject filename (related to #482 )
...
- make the purpose of various parts clearer
2017-07-06 11:34:35 +02:00
5d282722c1
ENH: add optional parameter to word::validated (issue #518 )
...
- can now suppress prefixing an underscore to leading digits.
2017-07-06 10:58:48 +02:00
818c9b2da3
STYLE: adjust coding style for C++11 features and OpenFOAM-1706 methods
2017-07-06 09:23:09 +02:00
c50368ecc6
ENH: add trapFpe and setNaN optimisationSwitch (issue #517 )
...
- allows configuration without an environment variable.
For compatibility still respect FOAM_SIGFPE and FOAM_SETNAN
env-variables
- The env-variables are now treated as true/false switch values.
Previously there was just a check for env exists or not, but this
can be fairly fragile for a user's environment.
2017-07-05 17:49:37 +02:00
e54a930dcc
ENH: add mpiBufferSize optimisationSwitch (issue #517 )
...
- allows configuration without an environment variable.
For compatibility still respect MPI_BUFFER_SIZE env-variable.
2017-07-05 15:52:44 +02:00
a4c81f5962
ENH: make streams name() methods virtual throughout (issue #479 )
2017-07-04 17:17:09 +02:00
6a0a8b99b3
STYLE: use ""_deg user-literal for degrees to radians conversion
...
ENH: add degToRad() multiplier (useful for scalar fields)
- use degToRad() functions throughout instead of scattered local solutions
2017-07-04 15:36:46 +02:00
e62e34f0f0
ENH: add -cellZone option to foamToVTK
2017-07-04 14:16:18 +02:00
6dd5a5f35f
BUG: foamToVTK -cellSet produces rubbish or segfault ( closes #516 )
...
- erroneous double logic for subset meshes.
The underlying vtk::vtuCells uses a cellMap to map into a global
field, which also allows handling of decomposed polyhedral cells.
If a mesh subset is involved (eg, cellSet, cellZone), then the
set/zone cellMap can be used to ensure that the original number is
properly adjusted. For foamToVTK, the meshSubsetHelper already
does the subsetting and is used when loading fields.
Does not affect ParaView reader module since there we work on the
full field and do the subsetting manually (using the cellMap).
2017-07-04 13:19:16 +02:00
c5bd5393df
ENH: lazier field loading in foamToVTK
...
- avoid loading surface fields if there are no faceZones
- avoid pointMesh if there are no appropriate point fields
2017-07-04 11:57:54 +02:00
f55c568f13
ENH: upgrade from NamedEnum to Enum (issue #515 )
2017-07-03 21:43:33 +02:00
575073890f
STYLE: spacing of multi-level template parameters
2017-07-05 15:06:06 +02:00
1bcb454f6d
STYLE: hash constructors with power-of-two
...
- use 1024 instead of 1000 since it will be changed internally to 1024 anyhow.
2017-07-05 10:46:50 +02:00
efc21270ea
STYLE: regExp with explicit constructor
...
- use separate constructor for ignore-case option (cf. wordRe treatment)
- constructors/destructor now inline.
2017-07-05 09:15:52 +02:00
aefb739584
STYLE: fix permissions on files, remove unused files
2017-07-03 12:15:41 +02:00
1d56e9f136
STYLE: use auto with vtkSmartPointer
2017-07-03 13:33:53 +02:00
7ac55ac74a
ENH: consolidate arch and version strings (issue #513 )
...
- make some IOobject writing routines non-templated.
- relocate more IOobject methods into the IOobjectI.H
(generally cleanup the main header).
2017-07-03 13:24:08 +02:00
bc1f2fa97e
STYLE: use auto and cfind to simplify selector usage (issue #512 )
2017-07-03 10:36:03 +02:00
2910240040
Merge branch 'develop' into 'master'
...
Merge develop into master for v1706 release
Closes #505 , #509 , #497 , #502 , #500 , #498 , #493 , #492 , #490 , #485 , #486 , #484 , #481 , #480 , #467 , #473 , #470 , #466 , #464 , #463 , #460 , #462 , #458 , #418 , #420 , #391 , #452 , #454 , #453 , #439 , #427 , #415 , #422 , #414 , #411 , #400 , #398 , and #348
See merge request !121
OpenFOAM-v1706
2017-06-29 21:09:51 +01:00
c84bf48873
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2017-06-29 19:49:55 +01:00
4518004df4
TUT: Updated RutlandVortex case - Thanks to Thilo Knacke
2017-06-29 19:49:32 +01:00
31172408ee
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2017-06-29 17:34:23 +01:00
0e465e0f5d
BUG: label64: write primitives consistent with label size. Fixes #505 .
2017-06-29 17:33:40 +01:00
2f62d94e8b
BUG: CollidingParcel: is not contiguous since have collisionRecords_
2017-06-29 17:16:38 +01:00
07d9d3fc04
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-plus into develop
2017-06-29 14:18:41 +01:00