Commit Graph

378 Commits

Author SHA1 Message Date
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
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
5cfa97624e STYLE: more consistent New methods, use unregistered IOobject where appropriate 2010-04-20 17:13:35 +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
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
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
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
andy
f99a145143 ENH: Renamed curveSet to polyLineSet to better represent sampling method 2010-04-01 12:35:41 +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
Mark Olesen
01f8538e27 ENH: ignore empty zones in paraview reader 2010-03-19 18:57:09 +01:00
Mark Olesen
ee0dea2284 ENH: add top-level Allwclean for paraview plugins 2010-03-12 14:24:04 +01:00
Mark Olesen
2788a12c08 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-10 15:15:23 +01:00
mattijs
ebcb825fab BUG: used wrong variable names for faceZones. Did not close file. 2010-03-09 13:21:19 +00:00
Mark Olesen
767b35110f STYLE: use wordReList for patch and faceZone names in foamToEnsight
- avoids odd side effects that can occur when a wordList is treated as
  a list of regex patterns
2010-03-05 16:47:46 +01:00
Mark Olesen
be86669315 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-05 15:46:49 +01:00
Mark Olesen
10524cb8a1 STYLE: eliminate ParaView_INST_DIR variable and simplify plugin Make/options
- the 'make install' target from ParaView now installs all of the
  includes necessary for compiling plugins.
2010-03-05 13:04:30 +01:00
mattijs
edeb20c856 ENH: Added faceZones support. Reverted back to using scheduled comms
(less memory)
2010-03-04 13:47:09 +00:00
Mark Olesen
89615f708e ENH: respect face orientation when decomposing polyhedra.
ENH: use face::trianglesQuads() method for PV3FoamReader as well.
- this avoids missing faces (and weird cells) in the decomposed polyhedra.
2010-03-04 11:20:20 +01:00
Mark Olesen
8c6a5dde5c BUG: match order of symmTensor tuples to match the paraview pqScalarBarRepresentation 2010-03-01 14:21:20 +01:00
Mark Olesen
9352e17eed BUG: fix incorrect node order for VTK_WEDGE in paraview3 reader
This appears to be a long-standing bug!?, since it was also in the
paraview-2 reader.
2010-02-24 16:41:21 +01:00
Mark Olesen
f319ddfa61 ENH: begin initial coding for using upcoming vtkPolyhedron 2010-02-24 15:24:32 +01:00
andy
e49e95a53b Merge branch 'olesenm' 2010-02-17 16:48:44 +00:00
mattijs
7cd9f82373 ENH: non-blocking for all transfers to master. 2010-02-17 16:04:41 +00:00
mattijs
827d7d7a8f Merge branch 'volPointInterpolation' 2010-02-17 15:20:56 +00:00
mattijs
62637d8471 ENH: initial overhaul of volPointInterpolation.
- removed globalPointPatch*
- removed pointPatchInterpolate*
since all is now inside volPointInterpolation.
2010-02-17 14:01:44 +00: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
b61537bd28 Merge commit 'OpenCFD/master' into olesenm 2010-02-17 09:32:41 +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
mattijs
bd58fa5322 BUG: globalMeshData::mergePoints was assuming patch was on master processor.
Each collocated set of coupled points has a single master assigned to it.
However when doing mergePoints on a patch the master does not have to be
on the patch. So now it returns mesh point labels, not patch point labels.
2010-02-12 12:45:00 +00:00
mattijs
8cf3f429a5 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-02-11 09:09:54 +00:00
mattijs
b6082c3005 ENH: extraneous checking for empty list in ensightMesh. Already done elsewhere. 2010-02-11 09:07:42 +00:00
andy
7b3da686d8 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-02-08 19:13:37 +00:00
mattijs
605088884e ENH: point merging of internal and patches.
Uses globalMeshData::mergePoints to topologically merge mesh points.
Also now require all patches on all processors so cleaned up all code for
handling zero-sized patches.
2010-02-08 17:36:13 +00:00
Mark Olesen
2f0692e002 Merge commit 'OpenCFD/master' into olesenm 2010-02-08 15:01:48 +01:00
mattijs
2fd63db933 ENH: Point merging when postprocessing parallel runs
foamToEnsight will merge points on coupled patches. (only for mesh, not for
patches)
2010-02-05 16:27:03 +00:00
Mark Olesen
8426ca1a8c Merge commit 'OpenCFD/master' into olesenm 2010-02-03 17:40:37 +01:00
mattijs
992344ffac ENH: sampling on triSurfaceMesh
sampledTriSurfaceMesh adds sampling on points/triangles of a triSurface(mesh).
All values outside mesh are set to 0.
2010-02-01 16:31:48 +00:00
mattijs
8b7f6666ca ENH: sets are now searched for.
Some tools now output sets at the pointsInstance (if relating to geometry),
some at the facesInstance (if relating to topology).
So when loading them we now search for them from current time down
to facesInstance. They cannot be beyond facesInstance.
Adapted Time::findInstance to take optional limiting instance. Adapted
topoSet to use this. Adapted all uses of IOobjectList on sets to do the
same.
2010-01-29 10:25:13 +00:00
mattijs
4b0c5233a9 STYLE: 80 char line length 2010-01-28 11:55:06 +00:00