Commit Graph

1137 Commits

Author SHA1 Message Date
mattijs
8551bfd36b BUG: PV3FoamReader : patch names was addressing outside of zoneCentres array. 2010-05-19 16:33:48 +01:00
mattijs
8c94ccd392 STYLE: decomposeParDict: corrected comment 2010-05-19 16:33:19 +01:00
mattijs
a5c29da27a BUG: decomposePar : was using the non-compact index for patch info 2010-05-19 16:32:56 +01:00
mattijs
17a6cac97b Merge commit 'origin/splitCyclic' 2010-05-18 13:35:56 +01:00
mattijs
5d3e38e34e ENH: extrudeToRegionMesh : allow extrusion on cyclics.
Still not good enough - only handles single extrusion vector per cyclic point.
2010-05-18 13:30:32 +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
Mark Olesen
59c0e8e24d STYLE: fix 'forAll (' -> 'forAll(' format (again) 2010-06-02 09:13:48 +02:00
Mark Olesen
d572f40c63 ENH: allow retention of 'FoamFile' when reading dictionaries
- used in expandDictionary
2010-05-17 12:56:30 +02:00
Mark Olesen
f9f988d82f Merge remote branch 'OpenCFD/master' into olesenm
Conflicts:
	src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.C
2010-05-31 11:50:56 +02:00
Mark Olesen
ff30e6b61a STYLE: can use bool instead of Switch version of dictionary::lookupOrDefault
- both versions handle the same input words.
  Only need the <Switch> version when the destination variable is
  also a Switch and we need to output the word later.
2010-05-20 14:17:18 +02:00
Mark Olesen
9525d57d71 STYLE: use readIfPresent instead of found/lookup combination 2010-05-20 08:52:45 +02:00
andy
ccf61a7db8 Revert "STYLE: remove unneed '()' for simple return statements,"
This reverts commit c600ce545d.
2010-05-18 14:30:53 +01:00
Mark Olesen
13aa4d6db4 Merge remote branch 'OpenCFD/master' into olesenm
- use GPL version 3
2010-05-18 15:00:40 +02:00
Mark Olesen
8b428bc73c STYLE: add some usage comments to some conversion utilities
STYLE: move polyDualMesh from conversion -> manipulation
2010-05-18 14:41:53 +02:00
Mark Olesen
bde8dc579a STYLE: fixup some dictionary headers 2010-05-18 11:38:07 +02:00
Mark Olesen
33c0e1dacc Merge remote branch 'OpenCFD/master' into olesenm 2010-05-18 09:44:33 +02:00
Mark Olesen
c600ce545d STYLE: remove unneed '()' for simple return statements,
- fix 'forAll (' -> 'forAll(' format (again)
2010-05-17 13:08:11 +02:00
Mark Olesen
5bdcece3af ENH: allow retention of 'FoamFile' when reading dictionaries
- used in expandDictionary
2010-05-17 12:56:30 +02:00
mattijs
78e5ef9dbd ENH: specification of selection of cellZone in snappyHexMeshDict.
Now allows specification of inside point to help leaky surfaces.
2010-05-17 11:45:01 +01:00
graham
3d43439072 ENH: Better output formatting, directly outputting
sixDoFRigidBodyDisplacement BC entries.
2010-05-13 16:00:42 +01:00
mattijs
925202da2e ENH: have -noSync option to prevent topoSet/setSet automatically syncing coupled faces. 2010-05-12 15:52:19 +01:00
graham
f106f89f1f Merge branch 'master' into cvm
Conflicts:
	applications/utilities/surface/surfaceFeatureExtract/surfaceFeatureExtract.C
2010-05-11 13:00:25 +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
5087125424 STYLE: remove erroneous section-label on doxygen @endcond 2010-05-07 15:30:27 +02:00
Mark Olesen
1b4450890a ENH: write patches as vtkPolyData instead of vtkUnstructuredGrid
- slightly better memory efficiency and file sizes
- consistent with library reader
2010-05-07 09:35:40 +02:00
Mark Olesen
64ac5cbc78 ENH: allow direct writing of polyhedra from foamToVTK 2010-05-07 09:06:48 +02:00
Mark Olesen
5b588af7ab ENH: use simpler API for vtkPolyhedron 2010-05-06 17:56:37 +02:00
Mark Olesen
476f4bb7f6 ENH: reduce the number of trailing spaces when writing VTK legacy files 2010-05-06 11:21:47 +02:00
mattijs
4380e0fbea ENH: give warning for value field inside cyclic. 2010-05-04 17:33:13 +01:00
mattijs
72caa3020b ENH: Recognise already converted boundary file and change fields accordingly. 2010-05-04 12:41:01 +01:00
Mark Olesen
9b24f6c51b ENH: add first provisioning for foamToVTK without polyhedral decomposition 2010-05-03 10:42:45 +02: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
Mark Olesen
4ea1f8f98a ENH: enable vtkPolyhedron support when detected 2010-04-30 12:36:49 +02: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
845314b280 Merge remote branch 'OpenCFD/master' into olesenm 2010-04-28 14:49:39 +02:00
mattijs
0da8c1864d ENH: Have -region argument to foamFormatConvert 2010-04-27 14:55:30 +01: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
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
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
937e0d23d0 STYLE: consistent naming of files containing the 'New' method
before:
    - 'new' prefixed to camel-cased class name: eg, someClass -> newSomeClass
    - 'New' prefixed to templated class name:   eg, TmplClass -> NewTmplClass
    - 'New' suffixed to class name:             eg, someClass -> someClassNew

after:
    - consistent 'New' suffixed to class name, no change of case
          eg, someClass -> someClassNew
          eg, TmplClass -> TmplClassNew
2010-04-13 18:47:47 +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
graham
cddce779e8 STYLE: Change to GPL v3 and update copyright date. 2010-04-13 11:38:22 +01:00
graham
5c33936264 Merge branch 'master' into cvm 2010-04-13 11:31:32 +01:00
mattijs
defea5836e Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	src/OpenFOAM/containers/Lists/DynamicList/DynamicList.H
	src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.C
	src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.C
2010-04-13 11:07:19 +01:00
andy
2c54d448f5 ENH: Use const reference instead of const copy in loop 2010-04-13 09:57:33 +01: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
mattijs
3b53ff5658 ENH: Make snappyHexMeshDict consistent with nGrow change.
nGrow in 1.6.x was always taken to be 0!
2010-04-12 17:27:39 +01: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
graham
240c714aab Merge branch 'master' into cvm
Conflicts:
	etc/settings.csh
	etc/settings.sh
	wmake/rules/General/CGAL
2010-04-09 10:13:42 +01:00
andy
357ff92e8d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-04-07 11:42:32 +01:00
andy
42b4269c4e BUG: execFlowFunctionObjects utility
- moved creation of singlePhaseTransportModel to within RAS/LES model
  construction for incompressible cases
2010-04-07 11:37:45 +01:00
mattijs
fd7e9c9ae4 ENH: Added option for explicitly providing regions. Restructured code. 2010-04-01 14:20:27 +01:00
andy
f99a145143 ENH: Renamed curveSet to polyLineSet to better represent sampling method 2010-04-01 12:35:41 +01:00
mattijs
4da8a94f45 BUG: was not counting the processorCyclic patches. 2010-04-01 12:24:41 +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
6adf0cbca8 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-30 11:42:19 +02:00
Mark Olesen
c508b2fe17 STYLE: consistent capitalization of Private/Protected Member Functions in comments 2010-03-30 11:33:42 +02:00
mattijs
9bb6e5ac25 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-30 08:28:19 +01:00
mattijs
1a741a2259 BUG: numbering on lagrangian files was not uptodate with field vtk files
If no particles are in cloud it does not get written. Hence it would also
not output a vtk file. Changed now to always output lagrangian data.
2010-03-30 08:26:45 +01:00
mattijs
9d216d5280 STYLE: Remove unused debug code 2010-03-30 08:20:22 +01:00
Mark Olesen
3213388ddf Merge remote branch 'OpenCFD/master' into olesenm 2010-03-30 09:11:52 +02:00
andy
4ba2681dd6 ENH: Updated pdfPlot utility
- pdf updated - needs to be inside pdfs namespace
- added writeData option - write individual data/samples to file
2010-03-29 17:34:50 +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
c521e80c9f ENH: Added missing surfaceField types (surfaceVectorField, surfaceTensorField etc) 2010-03-26 13:38:55 +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
graham
829c30733d COMP: Boost and CGAL environment.
Targeting all building and linking to CGAL and boost installed to
$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER.

Reverting to CGAL 3.5.1, waiting for 3.6.1 - problem in 3.6 with boost
1.42.0.

Removing MPFR_HOME variable, not needed as include and link is done
with the $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER_ARCH
versions.
2010-03-24 13:33:29 +00:00
mattijs
50160baa9c gamg on cyclics working again 2010-03-23 13:53:40 +00:00
graham
5342baa2a7 Merge branch 'master' into cvm
Conflicts:
	etc/settings.csh
	etc/settings.sh
2010-03-23 11:43:17 +00:00
mattijs
5d93fbe16d ENH: Removed parmetis. Use ptscotch instead. 2010-03-22 16:48:48 +00:00
mattijs
658b7700e1 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	etc/settings.csh
	etc/settings.sh
	src/parallel/decompose/Allwmake
2010-03-22 15:44:34 +00:00
mattijs
9f5c39af53 ENH: have ptscotch
ptscotch - compiles into ptscotchDecomp. All thirdparty decompositionMethods
now moved out of decompositionMethods so add them explicitly to link line
for programs that need them (decomposePar, snappyHexMesh etc.)
2010-03-22 15:38:35 +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
Mark Olesen
01f8538e27 ENH: ignore empty zones in paraview reader 2010-03-19 18:57:09 +01:00
mattijs
01d6eded39 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-18 14:41:26 +00:00
mattijs
a6af4e272c ENH: offset calculation for multiple directMapped patches. 2010-03-18 14:39:33 +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
mattijs
a703cb3b94 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-03-17 18:13:13 +00:00
mattijs
e0fcca3858 ENH: don't use directMapped on top patch. 2010-03-17 18:12:48 +00:00