Commit Graph

66 Commits

Author SHA1 Message Date
mattijs
75945b507f error check for zero cells 2009-06-23 13:16:00 +01:00
mattijs
8900641265 not split concave angles by default 2009-06-17 13:37:53 +01:00
mattijs
3a4cd98671 update face flip map on zone 2009-06-09 14:18:37 +01:00
Mark Olesen
8edf105c45 cleanup of time handling (cosmetic changes), used timeSelector in more places 2009-05-20 15:40:30 +02:00
Mark Olesen
d1295da31f adjust solvers and utilities to use new argList methods
- also drop various unused time options from src/OpenFOAM/include
2009-05-19 20:21:50 +02:00
Mark Olesen
4366d8df2c cosmetics - adjust copyright dates 2009-05-11 15:10:31 +02:00
mattijs
676b7bfe73 added region option 2009-04-15 12:32:33 +01:00
Mark Olesen
be8cbc1018 use timeSelector mechanism in a few more utilities 2009-03-23 16:57:26 +01:00
mattijs
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
Mark Olesen
4b60453cf1 use while (runTime.loop() { .. } where possible in solvers
- change system/controlDict to use functions {..} instead of functions (..);
  * This is internally more efficient
- fixed formatting of system/controlDict functions entry

- pedantic change: use 'return 0' instead of 'return(0)' in the applications,
  since return is a C/C++ keyword, not a function.
2009-02-18 08:57:10 +01:00
Mark Olesen
844211a940 Merge commit 'OpenCFD/master' into olesenm 2009-02-06 21:19:42 +01:00
mattijs
9b0bebec00 making overwrite work 2009-02-06 15:12:24 +00:00
Mark Olesen
ffd9bb08a8 OSspecific: altered file tests
- removed the previously added fileName type(), isDir(), isFile() methods.

- added optional bool parameter to isFile() function to explicitly
  enable/disable the check for gzip files.

- fixed minor bugginess where the default usage of isFile() would result in
  false positive matches.

- be slightly more stringent and use isDir() and isFile() instead of
  exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
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