Commit Graph

53 Commits

Author SHA1 Message Date
Mark Olesen
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
Mark Olesen
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
Mark Olesen
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
  'XX.size() <= 0' or for simpler coding.
  It also has the same number of characters as '!XX.size()' and /might/ be
  more readable

- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
  when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
c65a40d57d don't need shrink before List::transfer(DynamicList&) anymore 2008-12-12 14:20:56 +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
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
mattijs
0f05c04153 sample files 2008-10-29 12:12:42 +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
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
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
Mark Olesen
7be206a5f3 Be pickier about only running certain scripts from the cwd 2008-08-09 18:50:27 +02: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
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
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
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
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
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
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
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
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
aac95d1038 Handling starting from 0 or 1 on indexing 2008-05-14 12:42:26 +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
Mark Olesen
4b0bfd906d cosmetics changes and small cleanups 2008-05-08 13:48:42 +02:00