95d146ecdf
Rationalized the indentation of C-preprocessor directives
2016-02-29 15:42:03 +00:00
cd852be3da
OpenFOAM: Updated all libraries, solvers and utilities to use the new const-safe tmp
...
The deprecated non-const tmp functionality is now on the compiler switch
NON_CONST_TMP which can be enabled by adding -DNON_CONST_TMP to EXE_INC
in the Make/options file. However, it is recommended to upgrade all
code to the new safer tmp by using the '.ref()' member function rather
than the non-const '()' dereference operator when non-const access to
the temporary object is required.
Please report any problems on Mantis.
Henry G. Weller
CFD Direct.
2016-02-26 17:31:28 +00:00
f4ba71ddd0
OpenFOAM libraries: Updated to use the new const-safe tmp
2016-02-26 08:13:59 +00:00
c02bf70ea7
tmp: Improved reference count checks to provide better error diagnostics
...
in case of tmp misuse.
Simplified tmp reuse pattern in field algebra to use tmp copy and
assignment rather than the complex delayed call to 'ptr()'.
Removed support for unused non-const 'REF' storage of non-tmp objects due to C++
limitation in constructor overloading: if both tmp(T&) and tmp(const T&)
constructors are provided resolution is ambiguous.
The turbulence libraries have been upgraded and '-DCONST_TMP' option
specified in the 'options' file to switch to the new 'tmp' behavior.
2016-02-24 12:47:36 +00:00
b3bea42ada
Migrated pointToPointPlanarInterpolation updates from old development line
2016-02-22 12:15:34 +00:00
3cf049a88b
Merge branch 'feature-AMIMethod' into 'develop'
...
mapNearestAMI: move normalisation to AMIMethod.
Avoids cells shared among processors to be counted multiple times and having
weights > 1.
See merge request !37
2016-06-22 14:59:09 +01:00
136c0000b2
BUG: cyclicACMI: partial reverted updateCoeffs structure
...
- cyclicACMIFvPatchField::updateCoeffs() now again redirects to
fvPatchField::updateCoeffs(const scalarField& weights);
- which redirects to fvPatchField::updateCoeffs();
- except on wall functions where the weights are used to switch off
turbulence generation
- renamed the updateCoeffs on the fixedFluxPressure bc to updateSnGrad.
2016-06-13 10:40:19 +01:00
c4b5880f9c
BUG: cyclicACMI: make conservative. Remove faceAreas0
2016-06-06 14:30:00 +01:00
bda3d11072
Merge remote-tracking branch 'origin/develop' into feature-AMIMethod
...
Conflicts:
src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C
src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.H
src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.H
src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/faceAreaWeightAMI/faceAreaWeightAMI.H
src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/mapNearestAMI/mapNearestAMI.C
src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/mapNearestAMI/mapNearestAMI.H
src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/partialFaceAreaWeightAMI/partialFaceAreaWeightAMI.H
2016-05-18 13:08:52 +01:00
a2be9acca4
BUG: mapNearestAMI: move normalisation to AMIMethod.
...
Avoids cells shared among processors to be counted multiple times and having
weights > 1.
2016-05-11 10:40:51 +01:00
158a925235
ENH: Updated xxx::zero->Zero
2016-04-28 14:17:06 +01:00
90ee8d433f
ENH: Integration updates
2016-04-26 14:34:27 +01:00
b9313ef2fe
ENH: Consistency updates after Foundation merge and code tidying
2016-04-25 16:46:56 +01:00
fd9d801e2d
GIT: Initial commit after latest foundation merge
2016-04-25 11:40:48 +01:00
4f50e3030a
ENH: cyclicAMI: added 'method' specification
2016-04-21 08:50:13 +01:00
8ad0f550ba
BUG: AMIInterpolation: tgtMagSf not adapted for sent over patches
2016-04-20 17:26:14 +01:00
e0d9fc71f4
BUG: faceZoneToCell: cell next to facezone can be -1 for boundary face
2016-03-30 11:16:00 +01:00
6644f8343b
coordinateSystems/coordinateRotation: Corrected e1, e2 and e3 and updated documentation
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1982
2016-01-29 09:56:59 +00:00
0af509c22d
BUG: injectors: positions are a global quantity.
2016-01-28 09:00:04 +00:00
9e3ce4ec7f
Merge branch 'master' of develop.openfoam.com:Development/OpenFOAM-plus into feature-shared-file
...
Conflicts:
applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C
applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/initialPointsMethod/pointFile/pointFile.C
applications/utilities/miscellaneous/foamHelp/helpTypes/helpBoundary/helpBoundary.C
applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamUpdateInfo.C
applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/vtkPV4Foam/vtkPV4FoamUpdateInfo.C
applications/utilities/postProcessing/turbulence/createTurbulenceFields/createTurbulenceFields.C
applications/utilities/postProcessing/velocityField/Co/Co.C
applications/utilities/postProcessing/velocityField/Pe/Pe.C
applications/utilities/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C
applications/utilities/preProcessing/changeDictionary/changeDictionary.C
applications/utilities/preProcessing/setFields/setFields.C
applications/utilities/surface/surfaceMeshConvert/surfaceMeshConvert.C
applications/utilities/surface/surfaceMeshExport/surfaceMeshExport.C
applications/utilities/surface/surfaceMeshImport/surfaceMeshImport.C
applications/utilities/surface/surfaceRedistributePar/surfaceRedistributePar.C
src/OpenFOAM/db/IOobject/IOobject.C
src/OpenFOAM/db/IOobjects/CompactIOList/CompactIOList.C
src/OpenFOAM/db/IOobjects/IOField/IOField.C
src/OpenFOAM/db/IOobjects/IOList/IOList.C
src/OpenFOAM/db/IOobjects/IOPtrList/IOPtrList.C
src/OpenFOAM/db/IOobjects/IOdictionary/IOdictionary.C
src/OpenFOAM/db/Time/findInstance.C
src/OpenFOAM/db/regIOobject/regIOobject.C
src/OpenFOAM/db/regIOobject/regIOobjectI.H
src/OpenFOAM/db/regIOobject/regIOobjectRead.C
src/OpenFOAM/db/regIOobject/regIOobjectWrite.C
src/OpenFOAM/meshes/polyMesh/mapPolyMesh/mapDistribute/IOmapDistribute.C
src/OpenFOAM/meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C
src/OpenFOAM/meshes/polyMesh/zones/ZoneMesh/ZoneMesh.C
src/dynamicMesh/fvMeshDistribute/IOmapDistributePolyMesh.C
src/dynamicMesh/motionSolver/componentDisplacement/componentDisplacementMotionSolver.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/hexRef8Data.C
src/dynamicMesh/polyTopoChange/polyTopoChange/hexRef8/refinementHistory.C
src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.C
src/edgeMesh/edgeMeshFormats/edgeMesh/edgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedEdgeMeshFormats/extendedEdgeMeshFormat/extendedEdgeMeshFormat.C
src/edgeMesh/extendedEdgeMesh/extendedFeatureEdgeMesh/extendedFeatureEdgeMesh.C
src/fvMotionSolver/fvMotionSolvers/displacement/interpolation/displacementInterpolationMotionSolver.C
src/fvMotionSolver/pointPatchFields/derived/uniformInterpolatedDisplacement/uniformInterpolatedDisplacementPointPatchVectorField.C
src/lagrangian/basic/Cloud/CloudIO.C
src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C
src/postProcessing/foamCalcFunctions/basic/addSubtract/addSubtract.C
src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransformTemplates.C
src/postProcessing/functionObjects/field/readFields/readFieldsTemplates.C
src/thermophysicalModels/radiation/radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C
src/triSurface/triSurface/surfacePatch/surfacePatchIOList.C
2016-01-25 16:29:04 +00:00
e424059208
ENH: glboal file handling: initial commit
...
Moved file path handling to regIOobject and made it type specific so
now every object can have its own rules. Examples:
- faceZones are now processor local (and don't search up anymore)
- timeStampMaster is now no longer hardcoded inside IOdictionary
(e.g. uniformDimensionedFields support it as well)
- the distributedTriSurfaceMesh is properly processor-local; no need
for fileModificationChecking manipulation.
2016-01-25 13:03:15 +00:00
aa38e25c92
Info -> InfoInFunction and updated comments
2016-01-20 17:51:15 +00:00
5779e4fd16
Info -> InfoInFunction and updated comments
2016-01-20 16:21:37 +00:00
f19f48132e
Consistently indent continuation backslashes in macro definitions
2016-01-11 13:00:56 +00:00
56fa7c0906
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
4eba393fe1
Update code to use the simpler C++11 template syntax
2016-01-10 19:20:16 +00:00
17617d87da
Merge branch 'feature-copyright' into 'develop'
...
ENH: copyright: make consistent with OpenFOAM-history
See merge request !29
2015-12-19 14:25:48 +00:00
8864223aed
ENH: copyright: make consistent with OpenFOAM-history
2015-12-19 14:22:30 +00:00
183a244169
Fixes #38 .
2015-12-18 10:39:57 +00:00
bbf345256f
BUG: searchableCone: inside/outside test using wrong sign for gradient
2015-12-14 18:00:30 +00:00
ca834a93c8
BUG: triSurfaceMesh: operate non-parallel so not do a reduction of points
...
Also redistributePar:
- recognise going from undecomposed to many
- read on master only
2015-12-14 09:36:52 +00:00
8b59127609
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop
2015-12-11 10:27:55 -08:00
8179509780
Transfering from dev copy constructors and clones for coordinateRotation classes
2015-12-11 10:24:55 -08:00
a71172b693
ENH: cyclicPeriodic: add some printing
2015-12-11 11:37:49 +00:00
8f1d043364
GIT: Resolved conflict
2015-12-09 09:32:38 +00:00
8400a1c19f
ENH: Updated notImplemented(...)->NotImplemented messages
2015-12-08 22:56:15 +00:00
eafd5a3850
ENH: Updated Info, Warning and Error messages
2015-12-08 11:15:39 +00:00
8997003857
BUG: localPointRegion: faces are duplicate only if sizes equal
2015-12-08 10:36:32 +00:00
3f55f752fc
GIT: Resolve conflict with upstream merge from Foundation
2015-12-07 17:07:20 +00:00
d2fea5fc95
BUG: cyclicACMI: change order of AMI initialisation
...
The resetAMI in the cyclicAMI would go up to cyclicACMI and do the
initPatchFaceAreas again - but with already masked areas
2015-11-26 16:53:19 +00:00
8d0154ba32
ENH: regionSplit: improve algorithm order
...
The old version of regionSplit would hand out regions one by one. This
is a big problem when there are lots of regions - the extreme being
in the decompositionMethods, where it is used to cluster cells and most clusters
being only one cell. This rewrite uses a mesh wave to determine disconnected
regions in one go. This produced non-compact numbering which is then compacted
in a second phase.
On a 14M cell case with cyclic constraints this reduced decompose
time from 40 mins down to 5.
2015-11-26 16:52:18 +00:00
884bb24e5d
Corrected typo: Tranform -> Transform
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1923
2015-11-22 17:27:44 +00:00
777b139907
Merge branch 'develop' of develop.openfoam.com:Development/OpenFOAM-dev-OpenCFD into develop
...
Conflicts:
src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C
2015-11-19 10:40:51 +00:00
ff6b550206
ENH: cyclicPeriodicAMI: improved warning message
2015-11-19 10:33:43 +00:00
916dcb8685
ENH: parallel: overhaul of parallel mapping
...
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
- low-level distributed Field mapping
- support for mapping surfaceFields (including flipping faces)
- support for decomposing/reconstructing refinement data
2015-11-17 15:05:05 +00:00
7f95c64b16
ENH: containers: small changes to containers
2015-11-11 12:44:26 +00:00
83e11f2d5a
COMP: regionSplit: tag inline functions as inline
2015-11-23 17:37:26 +00:00
c4d5f65a10
Completed update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-11 09:03:39 +00:00
c999886f17
BUG: cyclicPeriodicAMI: synchronisation of cyclic transformation in case of zero faces
2015-11-09 09:20:48 +00:00
7310a1c5b7
ENH: periodicAMI: improved debug writing
2015-11-09 09:16:56 +00:00