d01a47aeee
ENH: replace IndirectList with version that inherits from UIndirectList
2010-10-04 14:53:43 +02:00
f2c3ba65a6
STYLE: code formatting and start copyright dates
2010-10-04 13:02:54 +01:00
7ec390d23d
Merge branch 'olesenm'
2010-10-04 11:08:48 +01:00
2a6e9f10c0
COMP: testPrimitivePatch.C : extraneous include file
2010-09-30 14:07:12 +01:00
ebb9a9e1ac
ENH: tet decomposed particle tracking.
...
Squashed merge of particleInteractions up to
commit e7cb5bcf0315c359539ef1e715e1d51991343391
2010-09-17 16:59:17 +01:00
4ed8ff2c7e
ENH: add first draft of IndirectList that inherits from UIndirectList
2010-09-17 13:53:26 +02:00
ba896b6903
ENH: better handling of resizing for PackedList bit-wise operators
...
- previously using an '|=' or '^=' would increase the list size to
match the RHS. Now it only increases to last bit set.
- limit bit-wise operations to addressable range for minor efficiency
improvement
- trim results from '&' and '^' operations for more consistent
behaviour
2010-09-16 16:37:41 +02:00
b7c85357d5
ENH: added binary IO for PackedList and compact ASCII format
...
The compact ASCII format is a block of index/value tuples for the
non-zero entries:
{ (index1 value1) (index2 value2) (index3 value3) }
For PackedList<1>, and thus PackedBoolList, the compact ASCII format is
a block of indices for the non-zero entries:
{ index1 index2 index3 }
Thus either of the following could be used - for PackedList<2>:
- a list of all values:
16(0 3 0 2 0 0 3 1 0 0 0 0 0 0 0 1)
- a block of index/value tuples:
{(1 3) (3 2) (7 3) (8 1) (15 1)}
For PackedList<1> and PackedBoolList, either of the following could be
used:
- a list of all values, using any valid bool representation:
16(0 1 0 true 0 0 t 1 0 n n 0 0 0 0 yes)
- a block of the indices for non-zero entries:
{1 3 7 8 15}
2010-09-15 10:20:39 +02:00
e564a9810f
ENH: add IO support for PackedList, PackedBoolList
2010-08-09 17:27:09 +02:00
28345247a7
STYLE: Fixing code style requirements for more files - those not
...
picked up by a copyright change.
2010-07-29 11:28:44 +01:00
e12581bffc
ENH: Add PackedBoolList class (previously just a typedef)
...
ENH: adjust internal storage of PackedList to ensure that all unused
internal storage elements are guaranteed to always be bit-wise
zero. This makes the PackedBoolList implementation easier, and
also greatly eases much of the book-keeping.
Bits are now also zeroed on PackedList::clear()
Note: in PackedList, require packing at least 2 items otherwise it is
more efficient to use a normal list.
2010-07-28 14:50:17 +02:00
012494fdb5
STYLE: Fixing code style requirements for all apps.
...
Exception: applyWallFunctionBoundaryConditions.C cannot split #include
directives.
2010-07-27 15:27:05 +01:00
6574570ba0
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
...
Conflicts:
tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/constant/polyMesh/boundary
tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/0/rho
tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/polyMesh/boundary
tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/topAir/RASProperties
tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/topAir/thermophysicalProperties
tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/constant/topAir/turbulenceProperties
tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/0/cp
tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/0/rho
tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/constant/polyMesh/boundary
tutorials/incompressible/simpleFoam/windTurbineTerrain/0/include/fixedInlet
tutorials/incompressible/simpleFoam/windTurbineTerrain/0/include/sideAndTopPatches
tutorials/incompressible/simpleFoam/windTurbineTerrain/0/nut
tutorials/incompressible/simpleFoam/windTurbineTerrain/0/p
tutorials/incompressible/simpleFoam/windTurbineTerrain/constant/RASProperties
tutorials/incompressible/simpleFoam/windTurbineTerrain/system/decomposeParDict
2010-06-23 16:56:45 +01:00
ccfb6e32a6
Corrected headers.
2010-06-23 16:54:54 +01:00
aa4781fcc0
BUG: missing constructor for pTraits specializations
2010-06-15 18:23:49 +02:00
0a4c8f7266
ENH: add assignment from UIndirectList to DynamicList
2010-06-15 11:02:23 +02:00
3277d0573e
STYLE: use 'using Field<Type>::operator[]' in DynamicField
2010-06-07 14:37:48 +02:00
28b1a9e2c6
Merge branch 'olesenm'
2010-06-03 10:25:03 +01:00
c51a2b0f63
ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction
2010-06-02 09:48:07 +01:00
895a077cb1
STYLE: fixup some dictionary headers
2010-05-18 11:38:07 +02:00
0e9851b432
Merge remote branch 'OpenCFD/master' into olesenm
2010-05-03 09:34:31 +02:00
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
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
dc26005e49
Merge branch 'master' into particleInteractions
...
Conflicts:
src/lagrangian/dieselSpray/spraySubModels/atomizationModel/atomizationModel/newAtomizationModel.C
src/lagrangian/dieselSpray/spraySubModels/dispersionModel/dispersionModel/newDispersionModel.C
src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcel.C
src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcelI.H
2010-04-26 16:45:54 +01:00
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
3be2501cd9
Merge branch 'master' into particleInteractions
...
Conflicts:
src/lagrangian/intermediate/parcels/Templates/KinematicParcel/CollisionRecordList/CollisionRecordList.H
src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/NoCollision/NoCollision.H
src/lagrangian/molecularDynamics/molecule/interactionLists/referralLists/receivingReferralList.C
src/lagrangian/molecularDynamics/molecule/interactionLists/referralLists/sendingReferralList.C
2010-04-13 16:34:36 +01:00
6b819eb50a
STYLE: use new fvPatch::start() method
2010-04-13 17:12:57 +02:00
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
c2044d746a
ENH: udr_checker is the same for ensight82 and ensight90
2010-04-13 10:35:51 +02:00
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
fb86371714
ENH: Test ListOps on DynamicList.
2010-04-12 17:18:46 +01:00
94bab707d3
Merge branch 'master' into particleInteractions
2010-03-31 11:48:58 +01:00
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
876f975c29
Merge branch 'master' into particleInteractions
2010-03-19 16:01:41 +00:00
f1ab396a66
STYLE: remove all references to wallPoint::greatPoint.
...
Replaced with point::max wherever possible. Is VGREAT, not GREAT so be
careful with calculations.
2010-03-17 11:48:44 +00:00
4bb3159323
Merge branch 'particleInteractions' of ssh://graham@hunt//home/noisy3/OpenFOAM/OpenFOAM-dev into particleInteractions
2010-03-16 22:30:14 +00:00
4030fa7129
BUG: test/globalIndex. globalIndex.C no long needs compiled here.
2010-03-16 22:29:34 +00:00
8500a9caa6
BUG: Using FaceCellWave instead of MeshWave in testWallDist2.C. Does
...
not compile in old form.
2010-03-16 22:06:36 +00:00
78e41f78bd
STYLE: avoid spaces around fileName::operator/ except when split across lines
2010-02-18 10:51:56 +01:00
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
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
7b3da686d8
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
2010-02-08 19:13:37 +00:00
4e3efc9d0c
STYLE: explain only collocated points addressed
2010-02-08 17:35:39 +00:00
00616b72ff
ENH: Add functionEntry '#calc' to dictionary
...
- handles basic operations, references to other dictionary entries
(with '$name' syntax) and assorted mathematical functions:
pi(), degToRad, radToDeg, asin, acos, atan, sin, cos, tan, log,
log10, mag, atan2, pow
The basic syntax: #calc{ ... };
NOTE the trailing ';' is required for the primitiveEntry to be
properly defined.
2010-02-07 13:58:10 +01:00
7dd1ad1e23
Adjust Make options for calcEntry.
2010-01-15 19:25:12 +01:00
6a8db69cf7
Merge remote branch 'bundle/olesenm' into home
2010-01-15 18:51:21 +01:00
cf3e2a8abf
Update calcEntry grammar to include copyright.
...
Include character class (wchar_t or char) as a template parameter in
CocoParserErrors.
2010-01-06 12:27:14 +01:00
aac29d740a
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
2010-01-04 13:37:37 +00:00
c6d4035ced
Added master-slave addressing for coupled points.
...
- Rewrote globalPoints to use globalIndex class so now only transfers
single label instead of labelPair
- Added addressing in globalMeshData
- from coupled master points to slave points
- ,, edges ,, edges
- from coupled points (master or slave) to uncoupled boundary faces
- ,, ,, cells
- See test/globalMeshData for simple test
2010-01-04 13:25:30 +00:00
e0ba4cbb02
Adjust line number before/after #calc{} scanner for improved error messages.
2010-01-03 21:45:32 +01:00