Commit Graph

312 Commits

Author SHA1 Message Date
Mark Olesen
1a03d43b57 STYLE: remove comments referring to '<root>' or '<root> <case>' 2011-02-01 18:50:19 +01:00
graham
b1c7bcee4e Merge branch 'master' into cvm
Conflicts:
	applications/test/Distribution/DistributionTest.C
	applications/test/Distribution/Make/options
	src/OpenFOAM/containers/Lists/Distribution/Distribution.C
	src/OpenFOAM/containers/Lists/Distribution/Distribution.H
	src/OpenFOAM/containers/Lists/Distribution/DistributionI.H
2011-01-19 10:32:36 +00:00
graham
89619c5015 Revert "ENH: Copyright dates to allow a push."
This reverts commit c5bea5242b.
2011-01-19 10:26:24 +00:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
graham
c5bea5242b ENH: Copyright dates to allow a push. 2011-01-07 15:09:52 +00:00
graham
2135f644d1 Merge branch 'master' into cvm 2011-01-07 14:50:43 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
8c04b4e692 Merge branch 'master' into cvm
Conflicts:
	src/OpenFOAM/meshes/boundBox/boundBox.H
2011-01-05 11:53:37 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
Mark Olesen
881b3dafa2 Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/kineticTheoryModel/kineticTheoryModel.C
	applications/utilities/mesh/generation/extrude/extrudeToRegionMesh/createShellMesh.C
	applications/utilities/surface/surfaceCheck/surfaceCheck.C
	src/finiteVolume/fields/fvPatchFields/derived/advective/advectiveFvPatchField.C
	src/finiteVolume/fields/fvPatchFields/derived/waveTransmissive/waveTransmissiveFvPatchField.C
	src/meshTools/directMapped/directMappedPolyPatch/directMappedPatchBase.C

NOTE: also needed to strip trailing space/lines in various files
2010-12-21 10:19:53 +01:00
Mark Olesen
25951c0f74 COMP: avoid ambiguous construct from tmp - utils/ mesh 2010-12-20 10:36:59 +01:00
graham
5286e15524 Merge branch 'master' into cvm 2010-12-17 11:11:24 +00:00
mattijs
3f60b19d5b STYLE: createPatch.C : use built-in ops 2010-12-16 19:05:24 +00:00
graham
e49ce4a622 Merge branch 'master' into cvm 2010-12-10 11:10:24 +00:00
mattijs
cbfb01db4e ENH: setSet : parallel reduction of stats 2010-12-08 17:33:02 +00:00
Mark Olesen
a2b73a1c6d STYLE: use X.last() method instead of X[X.size()-1] 2010-12-07 09:56:52 +01:00
Mark Olesen
f367ee2ece ENH: add 'flip()' in-place method to edge, face, triFace 2010-12-07 08:58:31 +01:00
graham
95bc057204 BUG: (one|two)InternalFaceCells should be cellSets. 2010-11-24 18:36:48 +00:00
graham
a7d3095c9b BUG: (one|two)InternalFaceCells should be cellSets. 2010-11-24 18:36:48 +00:00
graham
3629979263 Merge branch 'master' into cvm
Conflicts:
	src/OpenFOAM/primitives/random/Random/random.3
	src/OpenFOAM/primitives/random/Random/random.c
2010-11-11 18:29:28 +00:00
Mark Olesen
d5acd22a63 STYLE: use labelUList typedef instead of UList<label> or unallocLabelList 2010-11-02 09:32:32 +01:00
graham
f2fe2f5140 Merge branch 'master' into cvm 2010-11-01 17:23:23 +00:00
mattijs
795f6e85ff STYLE: splitMeshRegions : 80 char line length 2010-10-29 16:41:26 +01:00
mattijs
df35ecc3e3 ENH: splitMeshRegions: -useFaceZones option to patch according to faceZone instead of single patch for inter-region faces 2010-10-27 17:37:31 +01:00
mattijs
ec4cfb0111 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-10-26 16:24:10 +01:00
mattijs
6261ef058b ENH: setSet : proper exit upon eof 2010-10-25 12:22:25 +01:00
graham
f8213e80f7 Merge branch 'master' into cvm 2010-10-22 12:45:30 +01:00
graham
78ee5c8c6c ENH: libgenericPatchFields for subsetMesh. 2010-10-22 12:42:32 +01:00
graham
df58543799 ENH: Writing cellCentres to polyMesh dir and optional reading. 2010-10-14 18:02:22 +01:00
graham
138fde4759 ENH: Force checkMesh to re-read cell centres. 2010-10-13 18:28:50 +01:00
mattijs
b7a4b9a7bf ENH: createBaffles : set added patch faces to value 0 2010-10-13 18:12:51 +01:00
andy
4eef0cc9ce ENH: Changed default behaviour of createBaffles to not update fields 2010-10-12 11:58:50 +01: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
6548c1dd27 ENH: checkMesh : moved parallel checks into zones 2010-09-16 18:28:10 +01:00
mattijs
1a633da3e6 ENH: checkMesh : move parallel checking into Zones. 2010-09-16 18:27:07 +01:00
mattijs
2c81ca46d1 ENH: renumberMesh : added region option 2010-09-02 08:12:54 +01:00
mattijs
16e5a28085 ENH: refineMesh : add region option. 2010-08-05 17:08:54 +01:00
mattijs
7bcdbfc33a ENH: do not print boundinb box for zero-sized patches 2010-08-05 15:21:34 +01:00
graham
f26b8c1cc7 STYLE: 80 char lines. 2010-07-28 16:42:53 +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
d2d8b813be STYLE: checkGeometry.C 80char line length 2010-07-27 10:33:33 +01:00
mattijs
e3f20df12f ENH: checkMesh : wedge & empty checking improved
- aspect ratio and cellDeterminant do not use 3rd direction
- wedges are properly check for having opposite one
2010-07-23 12:06:42 +01:00
mattijs
f38ad5e44d BUG: renumberMesh : writing XXXProcAddressing 2010-07-15 09:27:05 +01:00
mattijs
d8c7792e9c ENH: renumberMesh.C : renumber XXXXProcAddressing maps in parallel 2010-07-06 11:42:26 +01:00
henry
6574570ba0 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/polyMesh/boundary
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/0/rho
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/polyMesh/boundary
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/topAir/RASProperties
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/topAir/thermophysicalProperties
	tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/topAir/turbulenceProperties
	tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/0/cp
	tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/0/rho
	tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/constant/polyMesh/boundary
	tutorials/incompressible/simpleFoam/windTurbineTerrain/0/include/fixedInlet
	tutorials/incompressible/simpleFoam/windTurbineTerrain/0/include/sideAndTopPatches
	tutorials/incompressible/simpleFoam/windTurbineTerrain/0/nut
	tutorials/incompressible/simpleFoam/windTurbineTerrain/0/p
	tutorials/incompressible/simpleFoam/windTurbineTerrain/constant/RASProperties
	tutorials/incompressible/simpleFoam/windTurbineTerrain/system/decomposeParDict
2010-06-23 16:56:45 +01:00
henry
ccfb6e32a6 Corrected headers. 2010-06-23 16:54:54 +01:00
Mark Olesen
1a17581567 STYLE: consistent handling of compile/link flags for fileMonitor and setSet 2010-06-08 14:35:11 +02:00
mattijs
fbe04b18ec Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	src/parallel/decompose/scotchDecomp/scotchDecomp.C
2010-06-04 16:09:16 +01:00
mattijs
dafbfb5c20 ENH: multiLevel decomposition method. 2010-06-04 15:31:19 +01:00
andy
28b1a9e2c6 Merge branch 'olesenm' 2010-06-03 10:25:03 +01:00
mattijs
f1ee573aa0 Merge branch 'inotify'
Conflicts:
	TODO
2010-06-02 10:10:52 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
Mark Olesen
0ca515e3b1 Merge remote branch 'OpenCFD/master' into olesenm 2010-06-02 10:46:45 +02:00
mattijs
96a3de7a43 ENH: work with processors with 0 cells. polyMesh::directions, checkMesh. 2010-06-01 14:35:55 +01:00
mattijs
f84a91d7ce Merge commit 'origin/master' into splitCyclic
Conflicts:
	applications/utilities/mesh/manipulation/createBaffles/createBaffles.C
	applications/utilities/postProcessing/patch/patchIntegrate/patchIntegrate.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/cyclic/cyclicPointPatch.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.C
	src/dynamicMesh/motionSmoother/motionSmoother.C
	src/dynamicMesh/motionSmoother/motionSmoother.H
	src/dynamicMesh/motionSmoother/motionSmootherTemplates.C
2010-05-18 13:28:21 +01:00
Mark Olesen
895a077cb1 STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +02:00
Mark Olesen
4712e131d9 STYLE: add some usage comments to some conversion utilities
STYLE: move polyDualMesh from conversion -> manipulation
2010-05-18 14:41:53 +02:00
mattijs
e1e4098600 ENH: Have different master and slave patch to handle cyclic baffles. 2010-05-17 17:08:40 +01:00
mattijs
925202da2e ENH: have -noSync option to prevent topoSet/setSet automatically syncing coupled faces. 2010-05-12 15:52:19 +01:00
mattijs
7507b5f6bd BUG: fixed subset action in topoSet; renamed sourceDict keyword to sourceInfo. 2010-05-11 12:09:49 +01:00
mattijs
9f2e06ed55 STYLE: added missing command line option descriptions for mapFields and splitMeshRegions. 2010-05-11 10:52:35 +01:00
mattijs
c367e07642 ENH: Converted all cellSet/faceSet/pointSet to topoSet. 2010-05-10 17:17:49 +01:00
mattijs
49bf24b194 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-05-10 14:31:52 +01:00
mattijs
1a1c6a57e2 STYLE: Added comment to explain usage. 2010-05-10 13:57:44 +01:00
mattijs
6660ec17e5 ENH: topoSet tool to replace cellSet,faceSet,pointSet. 2010-05-08 17:39:24 +01:00
Mark Olesen
0e9851b432 Merge remote branch 'OpenCFD/master' into olesenm 2010-05-03 09:34:31 +02:00
Mark Olesen
35afeb9b18 STYLE: remove superfluous uses of argList::validArgs.clear()
- a holdover from the old <root> <case> days
2010-05-03 08:38:39 +02:00
mattijs
7f6740a9eb Merge commit 'origin/master' into splitCyclic 2010-04-30 15:10:10 +01:00
mattijs
4e0fdc69ea BUG: createPatch was reading mesh before setting matchTol so could not correct illegal mesh 2010-04-30 11:16:57 +01:00
mattijs
a967d05fd3 BUG: was reading mesh before setting coupledPolyPatch::matchTol 2010-04-29 18:42:30 +01: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
147fa2a75d STYLE: add notes to some (most) command-line options
- mapFields and splitMeshRegions need more clarification
2010-04-27 10:50:15 +02:00
Mark Olesen
03338b9ea9 STYLE: partial revert for 5cfa97624e 2010-04-23 10:23:08 +02:00
Mark Olesen
4d2a297a67 BUG: syntax problems found by gcc-4.5.0
- "cpp -traditional-cpp" doesn't strip C++-style comments
  Probably need a workaround with sed -e 's@^ *//@@' if we
  wish to support C++-style comments in Make/{files,options}

- lduMatrixTests.C:121:1:
  error: ‘Foam::lduMatrix::solverPerformance::solverPerformance’ names
  the constructor, not the type

- edgeFaceCirculatorI.H:355:1:
  error: ‘Foam::edgeFaceCirculator::edgeFaceCirculator’ names the
  constructor, not the type

- patchPointEdgeCirculatorI.H:236:1:
  error: ‘Foam::patchPointEdgeCirculator::patchPointEdgeCirculator’
  names the constructor, not the type

- objToVTK.C:116:5:
  error: ‘Foam::argList::argList’ names the constructor, not the type

  same in surfaceClean.C, surfaceRefineRedGreen.C, surfaceSplitByPatch.C

- fireFoam/createFields.H:74:41:
  error: type/value mismatch at argument 1 in template parameter list
  for ‘template<class T> class Foam::autoPtr’
2010-04-22 09:00:31 +02:00
Mark Olesen
5cfa97624e STYLE: more consistent New methods, use unregistered IOobject where appropriate 2010-04-20 17:13:35 +02:00
mattijs
cff2580336 Merge branch 'master' into splitCyclic
Conflicts:
	applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
	src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
	src/meshTools/sets/topoSets/faceSet.C
	src/parallel/decompose/decompositionMethods/decompositionMethod/decompositionMethod.C
2010-04-16 12:09:34 +01: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
874120350c STYLE: use forAllIter, forAllConstIter in more places
ENH: change some iterator -> const_iterator access

BUG: found some places with forAllIter and ::iterator !
2010-04-13 09:10:36 +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
mattijs
fd7e9c9ae4 ENH: Added option for explicitly providing regions. Restructured code. 2010-04-01 14:20:27 +01:00
mattijs
d947aa9c9e Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-30 21:54:08 +01:00
mattijs
883dbc2e2d ENH: Add concave cell checking 2010-03-30 21:48:57 +01:00
Mark Olesen
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
mattijs
d01adb74e3 ENH: Added tet volume check to checkMesh and snappyHexMesh 2010-03-26 13:39:51 +00:00
mattijs
d981028d35 STYLE: Added to header 2010-03-26 13:35:42 +00:00
mattijs
89c7523c72 Merge branch 'master' into splitCyclic
Conflicts:
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C
	src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
	src/parallel/decompose/scotchDecomp/scotchDecomp.C
	src/parallel/parMetisDecomp/parMetisDecomp.C
	src/sampling/sampledSurface/isoSurface/isoSurfaceCell.C
2010-03-25 13:54:12 +00:00
mattijs
09a986a89a STYLE: Remove unused static variable 2010-03-22 10:32:13 +00:00
mattijs
6680ddcfee ENH: Reuse existing zones. 2010-03-22 10:31:37 +00:00
mattijs
01d6eded39 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-18 14:41:26 +00:00
mattijs
9c60eb17d1 ENH: strip off comment lines 2010-03-18 14:38:44 +00:00
andy
dc06f24a0c ENH: Split src/parallel into decompse and reconstruct to remove cyclic build dependency 2010-03-18 12:23:01 +00:00
andy
45463d2325 ENH: Using more descriptive names for input entries for createPatch utility 2010-03-12 12:44:14 +00:00
mattijs
49fb39e8f3 Merge commit 'origin/master' into splitCyclic
Conflicts:
	applications/utilities/parallelProcessing/decomposePar/decomposePar.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.C
	applications/utilities/parallelProcessing/decomposePar/domainDecomposition.H
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/fields/pointPatchFields/constraint/processor/processorPointPatchField.C
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/derived/coupled/coupledFacePointPatch.H
	src/OpenFOAM/meshes/polyMesh/globalMeshData/globalPoints.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C
	src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C
2010-03-09 21:28:53 +00:00
mattijs
18eb2d7099 STYLE: Typo in warning message 2010-03-04 13:47:51 +00:00
mattijs
5ece14ec6f BUG: finite volume did not work before. 2010-03-03 10:12:35 +00:00
Mark Olesen
91967fb196 COMP: compiling setSet directly (without Allwmake) now works 2010-02-22 13:51:17 +01:00
Mark Olesen
689d4b2860 ENH: provide operator[] for accessing argList options.
- operator[] with label -> get args at index
- operator[] with word  -> get named option
2010-02-17 11:43:42 +01:00
Mark Olesen
d857d671ac STYLE: use new argList argRead() method and operator[] for cleaner code.
- deprecate argList::additionalArgs() method and remove uses of it
2010-02-16 17:57:49 +01:00
Mark Olesen
ee293cde8e ENH: add usage information for '-overwrite' option.
- make centrally available via #include "addOverwriteOption.H"
2010-02-16 11:44:27 +01:00