mattijs
e8af5d62d5
Filter out zero-sized patches; add generic capability
2009-12-09 17:42:30 +00:00
mattijs
352ef55b6d
Added setCapacity function to presize storage
2009-12-09 12:50:21 +00:00
mattijs
5b15180100
Added setCapacity function and added pre-sizing of reverse maps
2009-12-09 12:49:41 +00:00
mattijs
17121a46a3
Corrected checking of component
2009-12-09 12:49:04 +00:00
mattijs
4bdd240291
Reverted to 1D solver
2009-12-09 12:47:20 +00:00
mattijs
960c192d25
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
...
Conflicts:
applications/utilities/mesh/manipulation/transformPoints/transformPoints.C
2009-12-08 11:49:13 +00:00
mattijs
db34f04131
added tecio compilation rules to wmake
2009-12-08 11:40:00 +00:00
andy
94ab70b94d
only using part of fvc that is needed - fvc.H brings in everything...
2009-12-08 11:18:26 +00:00
andy
426a74efdf
cosmetics
2009-12-08 11:17:49 +00:00
Mark Olesen
41fc71458b
Use the PackedList unset() method in a few places
...
- also PackedBoolList.get(x) == 1 can be written without the ==
comparison since the unsigned -> bool conversion is fast
2009-12-08 11:16:43 +01:00
Mark Olesen
d2d39c32be
HashSet and PackedList get an unset() method
...
- provides a convenient (and lazy) means of removing entries
2009-12-08 10:01:48 +01:00
Mark Olesen
16c715ceec
Applied Mattijs' PackedList improvements
...
- resize with factor 2 as per DynamicList
Old insertion speed:
1000000 in 0.61 s
2000000 in 2.24 s
3000000 in 3.97 s
4000000 in 5.76 s
5000000 in 7.54 s
6000000 in 9.41 s
7000000 in 11.5 s
New insertion speed:
1000000 in 0.01 s
2000000 in 0.02 s
3000000 in 0.01 s
4000000 in 0.02 s
5000000 in 0.01 s
6000000 in 0.01 s
7000000 in 0.01 s
2009-12-08 09:42:38 +01:00
mattijs
01db239dde
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-12-07 17:03:37 +00:00
mattijs
3c6befa360
updated tutorial for wildcards in changeDictionaryDict
2009-12-07 17:03:32 +00:00
mattijs
ef3e39dd38
reserve doubles storage (like DynamicList)
2009-12-07 15:00:40 +00:00
mattijs
a8c400de1d
added region option
2009-12-07 14:59:57 +00:00
Mark Olesen
8227aee6a2
STARCDsurfaceFormat - read cellTable names from .inp file
2009-12-07 15:33:35 +01:00
Mark Olesen
c183d0875d
blockMesh splineEdge - drop old names 'simpleSpline' and 'polySpline'
2009-12-07 13:48:22 +01:00
Mark Olesen
a19e488f1e
consistency update - writeCompression in system/controlDict
...
allow switch/bool values for writeCompression in system/controlDict
- eg,
writeCompression false; or writeCompression uncompressed;
writeCompression true; or writeCompression compressed;
improves consistency with other controlDict parameters
2009-12-07 13:40:32 +01:00
Mark Olesen
190bbd69de
add corners() method to boundBox
2009-12-07 13:06:03 +01:00
Mark Olesen
45f17a9e6c
Merge commit 'OpenCFD/master' into olesenm
2009-12-07 10:41:19 +01:00
Mark Olesen
0b1a73673d
cosmetic changes to arcEdge
2009-12-07 09:43:05 +01:00
Mark Olesen
73f9f7f780
Remove legacy splines code and use CatmullRomSpline as 'spline'
...
- compatibility:
* 'polySpline' and 'simpleSpline' accepted
* detect and discard end tangent specifications
- a BSpline is also included (eg, for future support of NURBS), but is
not selectable from blockMesh since it really isn't as nice as the
Catmull-Rom (ie, doesn't *exactly* go through each point).
2009-12-07 06:54:06 +01:00
graham
f23e3eb3ea
Changing linked library from finiteVolume to meshTools.
2009-12-04 17:11:30 +00:00
graham
6b7dd8160d
Adding a function to calculate the moment of inertia of a triangle to
...
triangle, from:
http://en.wikipedia.org/wiki/Inertia_tensor_of_triangle
Adding the ability to calculate the inertia tensor of a polygon face
by summing the triangle inertias.
Added a test application to draw a test face with its principal
axes and moments of inertia.
2009-12-04 16:33:46 +00:00
Mark Olesen
1b0cf102cc
testing on fileName Istream construction
2009-12-04 16:22:59 +01:00
Mark Olesen
066b3158e7
quickly implemented BSpline2 as an alternative B-Spline implementation
...
- also looks reasonable and doesn't deviate much from Catmull-Rom
2009-12-04 15:34:42 +01:00
Mark Olesen
b634c17e55
fixed off-by-one error in argList text wrap
2009-12-04 14:34:04 +01:00
Mark Olesen
37c4f2f375
remove empty 'Description' from various .C files
2009-12-04 14:11:33 +01:00
Mark Olesen
5e972c772f
remove trailing space from some files
2009-12-04 13:39:35 +01:00
Mark Olesen
24543185dc
removed cellPointWeight.H.old - left over from pre-git era
2009-12-04 13:30:26 +01:00
Mark Olesen
65e56915fc
add single-line version/build info to argList::printUsage
2009-12-04 13:02:34 +01:00
Mark Olesen
79b53a9c6c
rename BSplineTest to splineTest and add Catmull-Rom to it
...
- the current B-Splines deliver rubbish
2009-12-04 12:54:15 +01:00
Mark Olesen
b83e69818b
update some old dictionary headers - even found mention of Nabla!
2009-12-04 12:39:14 +01:00
Mark Olesen
975d56086c
promote org-mode conversion utilities from bin/tools -> bin/
2009-12-04 10:49:04 +01:00
Mark Olesen
0e33bf0bba
add some usage information to a few utilities
2009-12-04 10:20:15 +01:00
Mark Olesen
ebf94bfc74
cleanup text wrapping code in argList
2009-12-04 10:09:32 +01:00
Mark Olesen
6e3ed58ae5
Merge commit 'OpenCFD/master' into olesenm
2009-12-03 16:40:37 +01:00
henry
3e2425b72b
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2009-12-02 22:42:27 +00:00
henry
c8f03c3bef
Corrected and simplified solver selection for implicit MULES.
2009-12-02 22:42:10 +00:00
mattijs
1665a86206
more Icc11.1 changes
2009-12-02 18:32:03 +00:00
mattijs
23e5930d83
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2009-12-02 16:44:12 +00:00
mattijs
4eb40f90ee
link all libraries
2009-12-02 16:41:28 +00:00
henry
f686c8d531
Remove spurious warnings from the Icc compiler concerning casting NULL.
2009-12-02 16:39:12 +00:00
henry
2db271b969
Allow copy construction because crappy compilers need them.
2009-12-02 16:38:38 +00:00
mattijs
e31f1c3aeb
changed comment
2009-12-02 16:38:34 +00:00
mattijs
5ee1f98e2c
linear interpolation always
2009-12-02 16:38:19 +00:00
mattijs
a0a05c1b77
allow region interfaces on processor patches
2009-12-02 16:37:59 +00:00
henry
192c0e56a1
Cosmetic changes.
2009-12-02 16:37:44 +00:00
Mark Olesen
063d8edea1
PackedBoolList specializaton for operator=
...
- now that I re-examined the code, the note in commit 51fd6327a6
can be mostly ignored
PackedList isMaster(nPoints, 1u);
is not really inefficient at all, since the '1u' is packed into
32/64-bits before the subsequent assignment and doesn't involve
shifts/masking for each index
The same misinformation applies to the PackedList(size, 0u) form.
It isn't much slower at all.
Nonetheless, add bool specialization so that it is a simple assign.
2009-12-03 16:33:58 +01:00