Commit Graph

876 Commits

Author SHA1 Message Date
Mark Olesen
b30a6faf2c Merge commit 'OpenCFD/master' into olesenm 2008-11-28 18:06:40 +01:00
Mark Olesen
41bbcb6337 DynamicList changes.
- setSize() adjusts the addressable length only.
  Changed setSize(label) usage to setCapacity(label) or reserve(label)
  throughout. The final name (capacity vs. storageSize() vs. whatever) can
  easily be decided at a later date.
- added setSize(label, const T&), which may still not be really useful, but
  is at least now meaningful
- made shrink() a bit more legible.
- added append(UList<T>&)
- copying from a UList avoids reallocations where possible

The following bits of code continue to use the DynamicList::setSize(), but
appear to be legitimate (or the corresponding code itself needs rethinking).

  src/OpenFOAM/meshes/primitiveMesh/primitiveMeshPointCells.C:167: error: within this context
  src/OpenFOAM/lnInclude/faceTemplates.C:44: error: within this context
  src/surfMesh/surfaceFormats/tri/TRIsurfaceFormatCore.C:178: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:737: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:741: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:745: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:749: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:754: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:935: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:940: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1041: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1046: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2161: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2162: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2201: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2205: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2261: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2262: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2263: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2264: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2265: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3011: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3076: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3244: error: within this context
  src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3371: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context
  src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context
2008-11-24 17:22:37 +01:00
Mark Olesen
b7e349a727 Merge commit 'bundle/home' into olesenm 2008-11-24 08:44:47 +01:00
Mark Olesen
d6b247a3b1 added static data boundBox::greatBox and boundBox::invertedBox
- boundBox::invertedBox is useful for initializing our own calculations
- NOTE treeBoundBox::greatBox is still in place, since it uses GREAT
  instead of VGREAT. If this is only historical, we can drop it.
2008-11-22 11:15:20 +01:00
mattijs
b352c06f0f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-21 15:19:25 +00:00
henry
ecb510e914 Changed "]]" to "] ]" to keep old versions of flex happy. 2008-11-20 22:13:47 +00:00
Mark Olesen
e3c70a839b Merge commit 'OpenCFD/master' into olesenm 2008-11-19 13:06:49 +01:00
Mark Olesen
1c9102dada HashSet gets additional operators
- operator+=  : add in the listed keys
 - operator-=  : remove the listed keys
 - operator&=  : intersection of keys
 - added xfer constructor (just in case)
 - moved labelHashSet typedef to HashSet.H, for consistency with the
   wordHashSet typedef being there and since it is used so often
2008-11-18 23:11:09 +01:00
henry
7c0048e878 Added line number counting, more accommodating point parsing and updated
handling of "uniform", "mixed" and "polygonal" face lists.  Now converts
.cas files as well as .msh files.
2008-11-18 14:57:44 +00:00
mattijs
ef19e4aab4 better dualisation 2008-11-18 12:35:43 +00:00
Mark Olesen
345df1e970 Merge commit 'OpenCFD/master' into olesenm 2008-11-05 10:42:05 +01:00
Mark Olesen
5d0b3348c5 can call Allwmake scripts directly instead of with ( cd foo && ./Allwmake ) 2008-11-05 10:39:06 +01:00
andy
be3d701bb6 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-10-31 11:26:02 +00:00
mattijs
0f05c04153 sample files 2008-10-29 12:12:42 +00:00
mattijs
3403802282 region option 2008-10-28 21:07:59 +00:00
mattijs
b5ee8b6dc1 detect only option 2008-10-28 21:07:37 +00:00
andy
37cae8e7ef Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-10-28 15:59:55 +00:00
Mark Olesen
eba9bbf0d8 cosmetics 2008-10-28 01:59:42 +01:00
Mark Olesen
9a4de95354 made xfer constructors explicit, with trickle down to polyMesh/fvMesh calls 2008-10-27 13:14:07 +01:00
Mark Olesen
4c3c2385ed blockMesh tweaks
- convertToMeters optional, also allow 'scale'
2008-10-25 17:55:56 +02:00
Mark Olesen
c2dd9825fa Merge commit 'OpenCFD/master' into olesenm 2008-10-24 18:11:02 +02:00
Mark Olesen
ac00f974e6 drop ununsed nUsedFaces parameter from polyMesh::resetPrimitives(xfer<..)
- use xfer form for calls to resetPrimitives
2008-10-24 12:25:27 +02:00
andy
6d452ceb28 Merge branch 'master' of ssh://hunt/home/hunt2/OpenFOAM/OpenFOAM-dev 2008-10-23 13:48:49 +01:00
mattijs
3c2f9b3337 comment 2008-10-23 13:41:13 +01:00
mattijs
c5998b7045 improved matching 2008-10-23 12:54:19 +01:00
andy
063936cfe0 bugfix: multiple edge gradings per block 2008-10-22 16:13:37 +01:00
mattijs
99e8bf7516 volPointInterpolation, pointMesh now MeshObject 2008-10-21 15:02:04 +01:00
andy
10e8b73275 merge Mark's branch 2008-10-16 12:47:25 +01:00
Mark Olesen
7a77e7ad3e Merge commit 'OpenCFD/master' into olesenm 2008-10-09 16:13:41 +02:00
mattijs
d6bad4c556 new dictionary feature 2008-10-09 09:45:31 +01:00
mattijs
12bec33d04 translation vector on cyclicPolyPatch; adapted createPatch 2008-10-08 11:42:23 +01:00
mattijs
3feae1f3f6 extraneous copy 2008-10-08 11:41:38 +01:00
mattijs
0bbc8fd2c4 parallel checkMesh 2008-10-07 18:24:56 +01:00
Mark Olesen
28696e51ab Use LIB_SRC instead of FOAM_SRC in Make/options files 2008-10-07 09:18:18 +02:00
mattijs
0dc639e90a switch off functionObjects 2008-09-28 19:27:04 +01:00
Mark Olesen
f73739c79e modified remaining Allwmake scripts to run from anywhere 2008-09-19 14:47:06 +02:00
mattijs
c4c0f54fc6 dynamicList change 2008-09-17 11:53:14 +01:00
mattijs
a105eaf3ac printing 2008-09-15 12:15:22 +01:00
mattijs
b1ddfaddd4 no space after block code 2008-09-10 13:58:02 +01:00
mattijs
4773de4695 \r handling 2008-09-04 21:49:11 +01:00
mattijs
7fa60e67a5 added argument 2008-08-19 14:00:10 +01:00
andy
2117bf62b7 Merge branch 'olesenm' 2008-08-15 11:15:16 +01:00
Mark Olesen
7be206a5f3 Be pickier about only running certain scripts from the cwd 2008-08-09 18:50:27 +02:00
mattijs
e4bb4fc0f0 incorrect call of removeCells 2008-08-08 10:59:29 +01:00
mattijs
7d9b0b103d handle marked internal faces 2008-08-06 10:24:19 +01:00
mattijs
c647881d7b remove override option since goes to constant anyway 2008-08-06 10:24:01 +01:00
Mark Olesen
3f753a3eb7 Merge commit 'OpenCFD/master' into olesenm 2008-07-30 08:44:15 +02:00
mattijs
d8638da06f set number of patches before changing faces 2008-07-29 11:50:18 +01:00
Mark Olesen
faf3fd19b4 Merge commit 'OpenCFD/master' into olesenm 2008-07-29 09:30:18 +02:00
Mark Olesen
f1d7955e45 BUGFIX - blockMeshApp should now handle paths properly 2008-07-29 09:11:11 +02:00
mattijs
d3ccd23b42 boundary face handling 2008-07-28 16:27:17 +01:00
Mark Olesen
07d8a616f8 minor cleanup of Allwmake
- Remove paraFoam/Allwmake leftover junk
  - Always attempt make of libccmio to ensure lnInclude/ exists
2008-07-25 16:04:32 +02:00
Mark Olesen
fc6780cd23 restored and updated (doxygen) usage for blockMesh 2008-07-24 08:28:32 +02:00
andy
5508e0b6cb added -dict option 2008-07-23 17:47:26 +01:00
andy
8136d271e8 Revert "DebugSwitches in etc/controlDict is incomplete/incorrect"
This reverts commit 7446cee720.
2008-07-23 16:51:45 +01:00
andy
1bd82369ff Revert "blockMesh:"
This reverts commit 3ae1a49119.
2008-07-23 16:49:16 +01:00
andy
6281e94a37 reverting blockMesh changes 2008-07-23 16:49:01 +01:00
Mark Olesen
eb604fdb88 revert to previous search order - constant/polyMesh/blockMeshDict
- retain failsafe check (constant/blockMeshDict)
2008-07-23 15:12:44 +02:00
Mark Olesen
b43378747a Merge commit 'OpenCFD/master' into olesenm 2008-07-23 13:41:51 +02:00
Mark Olesen
b42e13583a More cleanup on headers/source for doxygen
- it also found things like size_t instead of size_type in fileName class
2008-07-22 11:12:40 +02:00
mattijs
537f11310f baffle splitting in parallel 2008-07-18 12:59:26 +01:00
Mark Olesen
3ae1a49119 blockMesh:
renamed genBlockMesh.C -> blockMeshApp.C for the -doc option

  Followed Eugene's suggestions and moved blockMeshDict out of polyMesh/.

  Rationale:
  blockMeshDict is not a polyMesh or part of a polyMesh, thus it doesn't
  really belong in the polyMesh/ dir anyhow. Moving it to constant/ or
  constant/<region>/ improves the overview and eases cleanup of polyMesh/ as
  well. For compatibility, constant/polyMesh/ or constant/<region>/polyMesh/
  will be searched if the new locations fail.
2008-07-18 10:23:09 +02:00
mattijs
46b102bd8f Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-15 22:11:10 +01:00
mattijs
8e3d196ec8 logic 2008-07-15 22:06:26 +01:00
Mark Olesen
5e5b26edd5 update dictionary headers and FoamFile entry to 1.5 format 2008-07-14 14:50:35 +02:00
Mark Olesen
ff2040f26f fixup copyright dates 2008-07-14 14:49:20 +02:00
mattijs
b7be6bce24 updated 2008-07-14 11:34:47 +01:00
Mark Olesen
9cde05b169 Merge commit 'OpenCFD/master' into olesenm
Resolved conflicts:
	src/OpenFOAM/interpolations/interpolationTable/interpolationTable.C
	src/OpenFOAM/interpolations/interpolationTable/interpolationTable.H
2008-07-09 09:14:18 +02:00
mattijs
15cad22d8c split autoHexMeshDriver; updated header 2008-07-09 00:21:36 +01:00
mattijs
72fb77ccce updated sample dictionary 2008-07-08 12:07:54 +01:00
mattijs
ab17085c1a adapted to new syntax 2008-07-07 19:51:20 +01:00
Mark Olesen
c7a7dc443c extended the conversion library and utilities
library:
  * routines for managing cellTable and boundaryRegion
  * writing ensight files and parts
  * mesh reader/writer for STARCD

utils:
  * star4ToFoam
  * foamToStarMesh
  * foamToEnsightParts
2008-07-04 16:26:22 +02:00
Mark Olesen
d8b29eb7ef added 'conversion' library
* started with polyDualMesh, but add mesh reader/writers in the future
2008-07-04 09:57:43 +02:00
mattijs
46c6422976 corrected logic 2008-07-01 18:17:07 +01:00
andy
3c4200e62e update to make extrusion run-time selectable 2008-06-30 11:09:38 +01:00
Mark Olesen
69bcc1baad Merge commit 'OpenCFD/master' into olesenm 2008-06-26 14:08:49 +02:00
andy
47673b653f added overwrite flag 2008-06-26 12:24:18 +01:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
Mark Olesen
2c2be499a9 Merge commit 'origin/master' into olesenm 2008-06-23 14:22:37 +02:00
Mark Olesen
eb69b16d3e removed old (junk) files
* should gzstream move to ThirdParty?
2008-06-23 14:19:31 +02:00
andy
82fdeb2736 bug fix - previously exited after first command as error flag was used instead of ok flag in main while loop 2008-06-23 11:44:24 +01:00
henry
54df3819a8 Removed trailing '\' 2008-06-18 15:10:24 +01:00
henry
cc3289a606 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-06-18 12:53:20 +01:00
henry
5b4983c759 Moved setSet into manipulation 2008-06-18 12:53:03 +01:00
andy
0aed6f001b renamed cfx converter - is only applicable to cfx4 2008-06-18 11:30:53 +01:00
Mark Olesen
3bbd01ebfb minor changes to Allwmake script(s)
* use $WM_THIRD_PARTY_DIR variable in top-level Allwmake
  * test new shell idiom for Allwmake files:
        # run from this directory only
        cd ${0%/*} || exit 1
    this might be especially useful when building optional components
2008-06-15 17:57:55 +02:00
henry
47996ef186 Removed all warnings from gcc-4.3.0 except those from
NamedEnum (bug in compiler?)
molecule (Graham dealing with it)
lex (no comment)
VTK (again no comment)
2008-06-11 15:55:07 +01:00
henry
e0d3735b08 Filter out 'Optional' directories from 'wmake all'; these must be built
specifically on the request of the user by running 'wmake all' or 'Allwmake'
in the directory as appropriate.
2008-06-11 09:44:14 +01:00
henry
9fc1615a86 Changed WM_THIRD_PARTY to WM_THIRD_PARTY_DIR and added to all 'options' files that use third-party software. 2008-06-09 15:31:17 +01:00
henry
65e5080ec8 Added WM_THIRD_PARTY environment variable. 2008-06-09 14:10:14 +01:00
henry
91c5607c97 Mark's correction to the building of libccmio.so 2008-06-09 13:37:13 +01:00
henry
5ba71dd9fc Simplified the download and building of libccmio-2.6.1.
Corrected the building of ccm26ToFoam.
Tested on dm from download to run -- all fine.
Needed to use --no-check-certificate option for wget.
2008-06-08 17:04:35 +01:00
henry
8d5659b1ec Implement download and build of the libccmio library and ccm26ToFoam
application based on Mark's scripts.

Currently not working.
2008-06-08 16:12:01 +01:00
mattijs
f3f83e80f5 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-06-06 18:15:29 +01:00
mattijs
e5ff607998 overwrite zones if already existing 2008-06-06 17:29:36 +01:00
Mark Olesen
fc67818323 Introduced Makefile variable 'THIRD_PARTY' 2008-06-05 13:17:31 +02:00
Mark Olesen
c461ad8fc9 made ccm26ToFoam build conditional on ThirdParty library 2008-06-05 11:50:01 +02:00
andy
f011fb4ffd removing reference to FoamX 2008-06-04 14:40:42 +01:00
andy
168c7e1ca9 removing FoamX 2008-06-04 13:40:02 +01:00
mattijs
d2bb8ce337 changed dictionary 2008-06-03 23:52:11 +01:00
henry
cce69a4a0b Added Kerstin's bug fix
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/7880

* applications/utilities/mesh/generation/blockMesh/curvedEdges/polySplineEdge.C:
2008-06-02 08:49:36 +01:00
henry
8dc018bb53 Add flex version selection of the yywrap() function to support
the new and more correct version 2.5.34.
2008-05-29 23:29:28 +01:00
henry
975c2d3c51 Moved ccm26ToFoam to Optional and created empty Allwmake to stop compilation 2008-05-27 20:07:31 +01:00
andy
6277b6da7a minor changes to get libccmio and ccm26ToFoam converter built 2008-05-27 16:14:49 +01:00
Mark Olesen
8e2182dd69 Merge commit 'origin/master' into olesenm 2008-05-23 18:26:11 +02:00
mattijs
8827ab2df1 moved metis into src/other; moved decomposition libraries into src/ 2008-05-23 12:08:42 +01:00
mattijs
ffa939952c subsetting point fields 2008-05-23 11:06:43 +01:00
Mark Olesen
e9876723e6 Adjust some utilities to use postCalc wrapper or timeSelector directly.
When required, also adjusted to use XXXApp.C for the source name.
Adjusted some names in preparation for merge with master.
2008-05-21 10:19:23 +02:00
mattijs
1e7c9ae822 Renamed autoHexMesh to snappyHexMesh 2008-05-20 18:30:52 +01:00
mattijs
ef1dd516e2 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev/ 2008-05-16 14:05:01 +01:00
mattijs
4b5809ea7b Printing of bounding box of patches 2008-05-16 14:00:22 +01:00
Henry Weller
00dc73fad7 Corrected READLINE flag testing 2008-05-16 12:31:49 +01:00
mattijs
36e61940a7 2x2x2 refinement utility 2008-05-14 16:45:06 +01:00
mattijs
aac95d1038 Handling starting from 0 or 1 on indexing 2008-05-14 12:42:26 +01:00
mattijs
258e4b9710 Initial size determination 2008-05-12 17:47:03 +01:00
mattijs
c1dc097c56 Cells in multiple cellZones not flagged. 2008-05-12 17:01:31 +01:00
Mark Olesen
6ea74fc6da moved libccmio to src/other. Pack adf+ccmio in a single library. The cgns is currently unused 2008-05-09 13:03:17 +02:00
mattijs
e1938c7a0c Edge alignment check for 2D cases 2008-05-08 23:42:20 +01:00
Mark Olesen
4b0bfd906d cosmetics changes and small cleanups 2008-05-08 13:48:42 +02:00
Mark Olesen
2744374ad0 removed unused files from ccm example 2008-05-08 13:37:30 +02:00
mattijs
c3474e528e debug printing in autoHexMesh; missing entry in createPatchDict 2008-05-01 22:24:52 +01:00
mattijs
bc124e8cf1 Was built into FOAM_USER_APPBIN 2008-04-29 12:54:07 +01:00
mattijs
40d8344e4c autoHexMesh top-level application 2008-04-24 22:36:26 +01:00
mattijs
f53f614c43 Initial autoMesh merge 2008-04-24 13:16:10 +01:00
mattijs
c731cfdca4 initial mattijsLib merge 2008-04-23 15:51:54 +01:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00