Commit Graph

1003 Commits

Author SHA1 Message Date
e505efbe82 Modified bounds functions 2009-04-09 17:20:41 +01:00
fa77b7ce77 triangle intersection return value 2009-04-09 16:54:35 +01:00
195c3fdc75 Added bounds and findNearestIntersection functions to searchableSurfaces, removed spurious returns from void functions. 2009-04-09 16:18:19 +01:00
0b0ff3f532 Added proper bounds() to searchableCylinder and searchablePlane. Fixed error in searchableSphere. Fixed constructor in plane. Added overall boundBox calculation to distributedTriSurfaceMesh. Reinstated findNearestIntersection in searchableSurfacesQueries. 2009-04-09 14:55:20 +01:00
fae55d5b83 unused includes; changed comments 2009-04-09 13:06:08 +01:00
8ad04131f4 single precision changes; corrected intersection with tolerance 2009-04-09 13:05:32 +01:00
bbaa0d57e3 missing debug symbol 2009-04-09 13:00:21 +01:00
3e0dfb6abd Added a boundBox to searchableSurface and implemented in all derived types except searchablePlane, and only as an approximation in searchableCylinder. Added bounds() function to searchableSurfacesQueries for the overall bounds of a subset of surfaces. Added closedTriSurfaceMesh type, derived from triSurfaceMesh, except forcing hasVolumeType = true to allow geometrically but not topologically closed or almost closed surfaces to query volumeType. 2009-04-08 14:53:50 +01:00
becfce6709 intersection 2009-04-03 13:56:17 +01:00
bfb8d042fd split of decompositionAgglomeration 2009-04-02 13:29:28 +01:00
fda71c46a0 Corrected non-orthogonal check for single-precision. 2009-03-27 23:43:24 +00:00
982dce96dd comment 2009-03-20 12:58:19 +00:00
10e3e7f560 inconsistent orientation 2009-03-17 19:58:19 +00:00
f0bff1d658 compiler bug 2009-03-17 19:58:06 +00:00
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
cd107e764a bb tolerances 2009-03-12 13:41:50 +00:00
f2b46bb5fe Merge branch 'master' into lagrangianDev 2009-03-12 10:07:10 +00:00
9b8cb1b20d supply constrained dimensions for positions/velocities 2009-03-04 14:48:22 +00:00
1a2bcf7d84 Merge commit 'OpenCFD/master' into olesenm 2009-03-04 12:20:51 +01:00
c92fc95a04 Added forward declarations of IO operators, see:
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10948
2009-03-01 20:33:41 +00:00
576d9388f0 Preliminary work on hashing
- Hash returns unsigned
- FixedList templated on unsigned int
- include uLabel.H in UList, HashTable etc. so the output function is know
  throughout
2009-02-27 12:40:37 +01:00
e0da094bb3 min distance correction 2009-02-26 22:43:53 +00:00
b5a13bd87e comment update 2009-02-26 20:59:25 +00:00
65baa26a80 mergeDist never set. 2009-02-26 20:14:20 +00:00
0d899d924a instance searching 2009-02-26 17:59:12 +00:00
c49b302aa3 added solutionD and geometricD 2009-02-24 19:20:55 +00:00
ab49c60394 instance searching 2009-02-24 12:08:54 +00:00
78b10babac collection 2009-02-24 12:07:06 +00:00
2d81360722 removed instance searching 2009-02-24 12:06:28 +00:00
94bec509ce acos bounds 2009-02-13 12:39:40 +00:00
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
603364e1e3 Merge commit 'OpenCFD/master' into olesenm 2009-02-06 14:47:48 +01:00
510a35b852 distribution of triSurfaces 2009-02-06 13:12:05 +00:00
d3ec38f0aa Merge commit 'OpenCFD/master' into olesenm 2009-02-06 10:40:19 +01:00
8c3ef65485 misc. cosmetic changes 2009-02-06 00:43:57 +01:00
4c6453f174 cylinder type searchableSurface 2009-02-05 09:31:14 +00:00
e5c5829244 OSspecific: isDir(), isFile() instead of dir(), file() 2009-02-02 16:50:18 +01:00
1393cc04c3 missing template specialisation 2009-01-30 14:44:59 +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
7b769b5035 added C++0x-style cbegin(), cend() iterator methods
- added STL-compatible resize() method.
  Should this be the primary entry point?

- made [DS]LListBase end iterators private
2009-01-20 10:55:39 +01:00
19fc795489 Merge commit 'OpenCFD/master' into olesenm 2009-01-20 09:22:45 +01:00
5602a440d0 new searchableSurface: infinite plane 2009-01-19 18:13:55 +00:00
fc2d438c97 parallel operation 2009-01-19 18:13:10 +00:00
a83961a02a coordinate system cleanup
- coordinateSystem, cylindricalCS, sphericalCS:
  get copy with name constructor

- cylindricalCS, sphericalCS:
  can switch off default degrees

- dropped cartesianCS class (already covered by coordinateSystem) and just
  always use coordinateSystem directly.
  The dictionary runtime selection still accepts type "cartesian" as an alias,
  to provide the least surprises.

- dropped runtime selection based on origin/axis/direction (not used), but
  left runtime selection based on origin/coordinateRotation as still being
  potentially useful.
2009-01-16 22:08:24 +01:00
d5cbc3bf08 cosmetic cleanups
- grammar in comments, namespace qualifiers, etc.
2009-01-16 19:07:14 +01:00
e5f598542b debug message 2009-01-16 17:14:52 +00: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
9bce583063 SortableList, sortedOrder - micro-optimization 2009-01-14 10:15:01 +01:00