Commit Graph

1568 Commits

Author SHA1 Message Date
69918f23c5 consistency update
- OSspecific: chmod() -> chMod(), even although it's not used anywhere

- ListOps get subset() and inplaceSubset() templated on BoolListType

- added UList<bool>::operator[](..) const specialization.
  Returns false (actually pTraits<bool>::zero) for out-of-range elements.
  This lets us use List<bool> with lazy evaluation and no noticeable
  change in performance.

- use rcIndex() and fcIndex() wherever possible.
  Could check if branching or modulus is faster for fcIndex().

- UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
  Similar to the STL front() and std::string::data() methods, they return a
  pointer to the first element without needing to write '&myList[0]', recast
  begin() or violate const-ness.
2009-02-06 20:43:09 +01:00
9b0bebec00 making overwrite work 2009-02-06 15:12:24 +00:00
bda9076130 Added isotropic forcing, face area weighted. Added global aligment to the rotation to alignment method. 2009-02-06 13:11:39 +00:00
d3ec38f0aa Merge commit 'OpenCFD/master' into olesenm 2009-02-06 10:40:19 +01:00
ffd9bb08a8 OSspecific: altered file tests
- removed the previously added fileName type(), isDir(), isFile() methods.

- added optional bool parameter to isFile() function to explicitly
  enable/disable the check for gzip files.

- fixed minor bugginess where the default usage of isFile() would result in
  false positive matches.

- be slightly more stringent and use isDir() and isFile() instead of
  exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
fb29e08539 Merge commit 'bundle/home' into olesenm 2009-02-06 08:34:43 +01:00
22f6b4dc06 surfMesh gets surfPointFields, surfaceFormats write() for surf mesh components
- add placeholder BoundaryMesh to surfMesh allows us to drop the
  SurfGeoMesh class and just reuse the GeoMesh class.
  Do the same for triSurface.
2009-02-05 22:41:22 +01:00
3aba0e28ff surfMesh, surfaceRegistry re-working 2009-02-05 16:12:35 +01:00
a4d0094e48 added surfaceMeshImport, surfaceMeshExport 2009-02-05 00:08:24 +01:00
a43df3bddd added surfMesh, reworked MeshedSurface
- renamed surface regions (formerly patches or groups) to surfZone.

- added surfMesh, but without any of the patch information needed to make it
  useful for finiteArea.

- promoted coordinateSystem transformation to surfaceMeshConvert and moved
  old to surfaceMeshConvertTesting.
2009-02-04 16:17:14 +01:00
3b8c849b09 Using all of the surface alignment directions to perform near surface alignment. 2009-02-03 19:54:40 +00:00
bf6915455d Merge commit 'OpenCFD/master' into olesenm 2009-02-02 16:58:00 +01:00
05440dd4a0 updated surfaceCoordinateSystemTransform 2009-02-02 16:57:50 +01:00
e5c5829244 OSspecific: isDir(), isFile() instead of dir(), file() 2009-02-02 16:50:18 +01:00
8fa4620e0a cutting plane 2009-02-02 12:24:32 +00:00
206caf4ccb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-30 14:45:10 +00:00
5ec940465b missing link libraries 2009-01-30 14:44:44 +00:00
f0f677e3d6 Merge commit 'OpenCFD/master' into olesenm 2009-01-29 14:57:08 +01:00
bdb4349ebd zonal postprocessing 2009-01-29 13:26:46 +00:00
6ac84bf1ef Merge commit 'OpenCFD/master' into olesenm 2009-01-29 14:08:33 +01:00
fe6d908e59 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 16:05:36 +00:00
1ab7bdce12 new pointMesh allocation method 2009-01-28 16:05:32 +00:00
0f3c91ce0a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 15:55:28 +00:00
5e20eeb0e9 bugfix:
- convertPointField caused a seg-fault if the internal field was null
      - attempted to name the vtk object the name of the null field

+ minor clean-up
2009-01-28 15:54:42 +00:00
22df173acb Merge commit 'OpenCFD/master' into olesenm 2009-01-27 23:13:37 +01:00
ffdb280a27 reworked surfMesh and PrimitivePatchExtra
- ditched PrimitivePatchExtra in favour of a PatchTools class that is
  currently just a collection of static functions. They could equally well
  live within PrimitivePatch itself, but isolated also has its advantages.

- MeshedSurface, UnsortedMeshedSurface now have 'regions' instead of
  'patches' since they are more like a faceZone for meshed surfaces than
  patches. This might avoid confusion at a later stage.
2009-01-27 23:03:21 +01:00
bdb532e0f3 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-27 20:25:19 +00:00
8abbcc08c1 added option for sloppily matching cell zones to regions 2009-01-27 20:18:35 +00:00
888a341e2b Merge branch 'master' into cvm 2009-01-27 16:52:43 +00:00
c048dd88c7 use new IOobject constructor: blockMesh, surfaceCoordinateSystemTransform(beta) 2009-01-27 15:12:19 +01:00
ce14f243c6 Removed handling of single-quoted strings. 2009-01-23 15:17:01 +01:00
42c04b8505 Merge commit 'OpenCFD/master' into olesenm 2009-01-23 12:51:45 +01:00
45bfb91afb thisDb to get at objectRegistry 2009-01-23 08:46:54 +00:00
7040c42e53 Weighing parameter change 2009-01-21 18:39:53 +00:00
9ea81f2883 Blank line removal 2009-01-21 18:02:28 +00:00
fbe607811a Adding relaxation calculation that adjusts to changes in runTime controls during a run. Experimenting with primary alignment rotations to achieve boundary alignment. Altering template depth back to 60 after master merge conflict resolution. 2009-01-21 17:48:27 +00:00
6d57bb4e7b added PackedBoolList typedef (used everywhere) and improved PackedList
- new members:  capacity(), two-argument resize()/setSize(), const storage()
- new static members: max_value(), packing(), etc.
2009-01-21 11:30:10 +01:00
e5f370136d Reinstating CV2D and CV3D meshers after conflict resolution. 2009-01-21 10:06:38 +00:00
4da086b141 Merge commit 'bundle/home' into olesenm 2009-01-21 08:36:37 +01:00
0690c64d31 PrimitivePatchExtra orientation fixed and improved face::edgeDirection() 2009-01-21 01:19:31 +01:00
29db6a6517 Merge commit 'OpenCFD/master' into olesenm 2009-01-20 18:56:29 +01:00
d9096c1e47 cosmetics 2009-01-20 17:14:53 +01:00
372cd1b0e6 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-20 13:35:56 +00:00
e5e9902bec added output for areas of cyclic halves 2009-01-20 11:44:03 +00:00
19fc795489 Merge commit 'OpenCFD/master' into olesenm 2009-01-20 09:22:45 +01:00
3c426d3b2e wildcard usage 2009-01-16 17:14:24 +00:00
be9051d375 Merge commit 'OpenCFD/master' into HEAD 2009-01-16 12:26:11 +01:00
246d569c4d consistency update for null pointers
- uniform use of reinterpret_cast<foo*>(0) instead of
  reinterpret_cast<foo*>(NULL)

- make all static null() members inline since they are really only a cast:
      "*reinterpret_cast<foo*>(0)"
2009-01-16 10:15:49 +01:00
2dbf42085d Initial set of changes. 2009-01-15 18:29:08 +00:00
f679bd5003 Merge commit 'OpenCFD/master' into olesenm 2009-01-14 14:32:01 +01:00