Commit Graph

271 Commits

Author SHA1 Message Date
andy
fd9d801e2d GIT: Initial commit after latest foundation merge 2016-04-25 11:40:48 +01:00
Henry Weller
43beb06018 Standardized cell, patch and face loop index names 2016-04-25 10:28:32 +01:00
Henry Weller
2d5ff31649 boundaryField() -> boundaryFieldRef() 2016-04-24 22:07:37 +01:00
Henry Weller
8c6fa81eba vector::zero -> Zero 2016-04-16 18:34:41 +01:00
Henry Weller
a9b8bb13e0 applications/.*/Allwmake: Updated to support "stop on 1st error"
Patch contributed by Bruno Santos
Resolved bug-report http://www.openfoam.org/mantisbt/view.php?id=2042
2016-04-04 09:03:40 +01:00
Henry Weller
95d146ecdf Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
Henry Weller
350d03246e scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Henry Weller
69b59b6586 Renamed PV4Readers -> PVReaders to avoid confusion when compiling the reader for ParaView-5 2016-02-10 21:12:49 +00:00
Henry Weller
7ec6f28c49 Added support for ParaView-5.0.0
PV4FoamReaders: Updated to build with ParaView-5.0.0
paraFoam: Updated to load PV4FoamReaders for ParaView-5.0.0

Currently this is experimental but if it becomes clear that ParaView-4
and ParaView-5 are and will remain consistent with respect to readers
the plan is to rename

PV4 -> PV

or

PV4 -> PV45 if it is assumed that PV6 may need to be different.
2016-02-08 10:03:55 +00:00
mattijs
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
mattijs
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
Henry Weller
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
Henry Weller
acb9ec8b46 wmake/rules: Add -std=c++0x to formally enable support for of C++11 features
The c++0x is used rather than c++11 to support gcc-4.5.?
2016-01-10 19:17:31 +00:00
Andrew Heather
8f1d043364 GIT: Resolved conflict 2015-12-09 09:32:38 +00:00
Andrew Heather
3f55f752fc GIT: Resolve conflict with upstream merge from Foundation 2015-12-07 17:07:20 +00:00
Andrew Heather
73dac8c7ee ENH: Updating utilities based on internal development line 2015-12-02 10:17:28 +00:00
mattijs
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
Henry Weller
e2ef006b91 applications: Update ...ErrorIn -> ...ErrorInFunction
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-10 17:53:31 +00:00
Henry Weller
42fb1b9e8e Updated notImplemented -> NotImplemented
The new NotImplemented macro uses __PRETTY_FUNCTION__ for GNU compatible
compilers otherwise __func__ to provide the function name string.
2015-11-01 10:26:37 +00:00
Henry Weller
19dcf83b6a paraFoam: add support for system/blockMeshDict with the -block option
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1803
2015-08-01 18:36:00 +01:00
Henry Weller
91e04d69c1 Resolve various unimportant warning messages from Gcc, Clang and Icpc 2015-07-19 11:31:49 +01:00
Henry
55d6b41d4b vtkPV?FoamMeshVolume: Corrected conversion of tetWedge to VTK_WEDGE
Thanks to Bruno Santos for analysing and fixing this
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1633
2015-03-29 20:17:45 +01:00
Henry
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
Henry
c778346c96 Formatting: Rationalized the indentation of #include 2015-02-10 20:35:50 +00:00
Henry
ae019fccfa Removed spurious file
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1374
2015-01-01 16:27:58 +00:00
Henry
ded2f25726 Updated headers 2014-12-31 19:08:15 +00:00
Henry
325b003b6e Added and verified support for 64bit labels
To compile with 64bit labels set

WM_LABEL_SIZE=64

in ~/OpenFOAM/dev/prefs.sh

source ~/.bashrc

then Allwmake in OpenFOAM-dev.

This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt

If WM_LABEL_SIZE is unset or set to 32:

WM_LABEL_SIZE=32

the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt

Thus both 32bit and 64bit label builds can coexist without problem.
2014-12-31 19:02:52 +00:00
Henry
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
andy
7577971580 ENH: ParaView 4 reader module - vtkPolyhedron not set by default 2014-02-05 16:12:38 +00:00
Henry
ee4e19ef85 Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM 2014-01-30 13:01:04 +00:00
mattijs
3ebfcb672b ENH: PVreaders: generalise Allwmake scripts 2014-01-14 15:18:49 +00:00
andy
f29b56d9b1 ENH: PV4 reader - use button for update gui 2014-01-13 16:49:49 +00:00
andy
11379a0e03 Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev 2014-01-13 16:31:13 +00:00
andy
c5f3e206bb ENH: ParaView - use vtkPolyhedron by default 2014-01-13 16:31:10 +00:00
Henry
3fff17bc67 PV4FoamReader: Reinstated GUI update check box 2014-01-13 15:06:59 +00:00
Henry
8a9da0aeac Updated PV4blockMeshReader for ParaView-4.1.0 2014-01-10 12:03:21 +00:00
Henry
011fda6bbe Added support for ParaView-4.1.0
The default ParaView is now 4.0.1 pending completion of testing of 4.1.0
2014-01-10 10:47:18 +00:00
mattijs
20a3d67c93 STYLE: various: small coding issues 2013-10-14 14:48:05 +01:00
andy
0b94582a9a ENH: Updated paraview 3.98->4 2013-06-17 16:48:24 +01:00
andy
c52a2900e7 ENH: Updated syntax change due to wordRe cunstructors 2013-05-03 10:39:38 +01:00
mattijs
cecf469ed4 COMP: vtkPV3FoamMesh: adapted for wordRe 2013-04-12 12:25:17 +01:00
andy
4f22868d76 ENH: Cleaned-up build of multiple PV readers 2013-04-11 09:52:45 +01:00
andy
34ac08a931 ENH: Code updates following changed to IOobjectList 2013-04-08 15:33:02 +01:00
andy
c812b27416 ENH: Added PV readers for version 3.98.1 2013-04-05 15:28:36 +01:00
andy
4bb11a2882 ENH: Removed fieldview reader/converter 2013-02-11 09:33:20 +00:00
mattijs
e7b5594f1d COMP: ParaFoam: moved include directory setting to paraview.*sh 2013-01-03 16:13:53 +00:00
mattijs
100a25ee25 STYLE: defineDebug: move into Foam namespace 2012-12-17 17:35:42 +00:00
mattijs
e8ff31f9e8 ENH: Time: use constant(), time() instead of hardcoded strings 2012-12-06 08:24:54 +00:00
mattijs
eeac186f9f BUG: paraFoam: pointFields not on faceZones 2012-11-14 11:24:21 +00:00
andy
cb29fc7c1c ENH: restructured pv reader interface 2012-09-27 15:09:32 +01:00
mattijs
f145cc8fa4 BUG: paraFoam: keeping patchGroups thus doubling geometry 2012-09-25 09:50:37 +01:00
mattijs
07ddd52d6a ENH: patchGroups: disable patch display 2012-09-24 17:09:53 +01:00
mattijs
c1ef233e5d ENH: pointMesh: use MeshObject form 2012-08-31 12:57:17 +01:00
Henry
b702a7178b PV3Readers: Added -I path to OSspecific 2012-06-25 12:32:28 +01:00
andy
84b8538c4b BUG: Corrected use og endl in vtkPV3FFoam 2012-06-11 16:07:56 +01:00
mattijs
f4eeef024e STYLE: duplicate ;; 2011-12-23 15:36:43 +00:00
andy
2d7e76951e ENH: Provide message if ParaView is not installed instead of swallowing the error 2011-12-22 12:26:33 +00:00
mattijs
7ad19bfba7 ENH: GeometricField: support patch groups 2011-12-06 17:10:01 +00:00
andy
e66d9cf940 ENH: Converted volField->pointField to ParaFoam reader option instead of hard-coded 2011-12-01 16:34:36 +00:00
Henry
c2dd153a14 Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
Henry
1a0095489b gcc-4.6.0 warnings: removed initialised but unused variables 2011-04-06 22:55:47 +01:00
Mark Olesen
3c30eca1cc STYLE: drop check for paraview versions
- we don't support paraview < 3.x anymore
2011-03-28 11:07:10 +02:00
Mark Olesen
f182b725da STYLE: use 'static const' instead of 'const static' for consistency 2011-03-01 15:21:30 +01:00
Mark Olesen
6590b211e9 COMP: remove regExp dependency from polyBoundaryMesh 2011-02-18 18:21:11 +01:00
andy
ddffdd5627 COMP: Added OSspecifc/WM_OSTYPE include to PV3 reader CmakeLists 2011-02-16 11:32:49 +00:00
Henry
c3cb632c24 Documentation: converted javadoc @ to LaTeX style \ in Doxygen code docs 2011-02-08 18:22:00 +00:00
Mark Olesen
e95e9700c8 Merge remote branch 'OpenCFD/master' into olesenm 2011-01-17 10:21:58 +01:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
Mark Olesen
5e12506f8e ENH: improve separation of OpenFOAM and ThirdParty mpi-libraries
- drop FOAM_MPI_LIBBIN variable in favour of FOAM_MPI from which
  two different locations can be determined.

  Previously there was something like this:

      FOAM_MPI_LIBBIN = $FOAM_LIBBIN/openmpi-1.5.1

  We now instead determine the locations from the FOAM_MPI directly:

      FOAM_MPI=openmpi-1.5.1

          $FOAM_LIBBIN/$FOAM_MPI     -> OpenFOAM  mpi-related
          $FOAM_EXT_LIBBIN/$FOAM_MPI -> ThirdPary mpi-related

ENH: relocate ParaView libraries and plugins back under FOAM_LIBBIN

- as discussed with Mattijs
2011-01-05 07:53:54 +01:00
Mark Olesen
4148c975f9 ENH: ensure CMake gets the correct C++ compiler (works with cmake 2.8.3)
- remove settings for really old cmake versions
2010-12-30 16:58:25 +01:00
Mark Olesen
46a5865894 ENH: relocate paraview plugins -> FOAM_EXT_LIBBIN 2010-12-30 16:35:52 +01:00
Mark Olesen
0a17e0719d ENH: use memInfo instead of parsing meminfo ourselves 2010-11-26 13:29:34 +01:00
Mark Olesen
0efa54821a ENH: support regions for PV3blockMeshReader 2010-11-25 13:03:11 +01:00
mattijs
3eefd6de73 ENH: blockMesh : initial blockMesh was created with region 'blockMesh' 2010-11-24 16:55:30 +00:00
graham
ebb9a9e1ac ENH: tet decomposed particle tracking.
Squashed merge of particleInteractions up to
commit e7cb5bcf0315c359539ef1e715e1d51991343391
2010-09-17 16:59:17 +01:00
mattijs
d400262c70 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-09-07 14:11:45 +01:00
Henry
8027112f89 PV3Reader: Corrected environment variable check 2010-09-06 17:21:21 +01:00
mattijs
44c71d5537 BUG: having patchnames with uncached mesh 2010-09-06 12:26:10 +01:00
mattijs
131185f5be COMP: added checking on PV_PLUGIN_PATH 2010-08-26 16:17:53 +01:00
graham
28345247a7 STYLE: Fixing code style requirements for more files - those not
picked up by a copyright change.
2010-07-29 11:28:44 +01:00
graham
012494fdb5 STYLE: Fixing code style requirements for all apps.
Exception: applyWallFunctionBoundaryConditions.C cannot split #include
directives.
2010-07-27 15:27:05 +01:00
mattijs
d5fc3e2475 BUG: paraFoam : load pointFields 2010-07-06 11:42:58 +01:00
henry
10c81a6e0c PV3FoamReader: Use the vol-field name rather than volPointInterpolate<vol-field name> for the VTK point fields 2010-06-28 11:48:39 +01:00
mattijs
2eab4044f6 COMP: cellSource compilation 2010-06-02 11:08:52 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
mattijs
8551bfd36b BUG: PV3FoamReader : patch names was addressing outside of zoneCentres array. 2010-05-19 16:33:48 +01:00
Mark Olesen
5087125424 STYLE: remove erroneous section-label on doxygen @endcond 2010-05-07 15:30:27 +02:00
Mark Olesen
5b588af7ab ENH: use simpler API for vtkPolyhedron 2010-05-06 17:56:37 +02:00
Mark Olesen
4ea1f8f98a ENH: enable vtkPolyhedron support when detected 2010-04-30 12:36:49 +02:00
Mark Olesen
72f7d46f23 ENH: add operator[](const word&) as "find-by-name" to some classes
- affected: polyBoundary, fvBoundaryMesh, ZoneMesh, searchableSurfaces

  before:
      const label zoneI = mesh.cellZones().findZoneID(zoneName);
      const cellZone& cz = mesh.cellZones()[zoneI];
  after:
      const cellZone& cz = mesh.cellZones()[zoneName];
2010-04-29 10:12:35 +02:00
Mark Olesen
5debfe4cdf ENH: Remove vtk(Cxx|Type)RevisionMacro, vtkTypeRevisionMacro -> vtkTypeMacro
From VTK notes:
- The CVS $Revision$ keyword replacement will no longer maintain these
  macros automatically.  They were used only to implement CollectRevisions
  and vtkObjectBase::PrintRevisions, an API that was never used.
2010-04-26 09:24:03 +02:00
Mark Olesen
9c32ce1016 STYLE: use forAll macro in more places, avoid LF-CR endings 2010-04-23 18:35:55 +02:00
Mark Olesen
42807ddd7e STYLE: fix worst spacing violations for 'os <<' constructions
- accept some violations of the coding guidelines though
- perhaps adding a style exception would be simpler.
2010-04-13 17:45:49 +02:00
Mark Olesen
b6f3bd4c23 STYLE: follow coding guide recommendation for '//- Destructor' 2010-04-12 11:55:52 +02:00
Mark Olesen
a50f01b079 STYLE: use forAllIter, forAllConstIter instead of long-hand version
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
2010-04-12 11:18:38 +02:00
Mark Olesen
6adf0cbca8 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-30 11:42:19 +02:00