Commit Graph

3625 Commits

Author SHA1 Message Date
mattijs
d8f39a9361 improved error message 2009-08-11 12:58:29 +01:00
Mark Olesen
ee033487a6 Merge commit 'OpenCFD/master' into olesenm 2009-08-10 18:52:05 +02:00
Mark Olesen
d548839a83 back to the roots with tokenizing numbers
- since atof is just a call to strtod (in glibc at least), revert to the
  original character collection, convert the number via strtod/strtol and
  check the end pointer so see if everything was converted. Flag both bad
  formats (eg, ".e") and trailing junk (eg, "1.e4e") as a tokenize error.
  These were previously silently ignored.

- simple (same weight as before), but with trivial error checking.
  Retain buffer overflow check.
2009-08-10 16:10:00 +02:00
Mark Olesen
8a884892bc version tokenize scalar that stops reading on invalid input 2009-08-10 15:30:48 +02:00
mattijs
b14ccb4f36 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-10 11:44:04 +01:00
mattijs
b90ee94d02 weighted decomposition 2009-08-10 11:43:56 +01:00
mattijs
6059bc7cc1 reduce synchronisation 2009-08-10 11:39:51 +01:00
mattijs
c635b44ae5 stabilisation for zero-area faces 2009-08-10 11:30:52 +01:00
Mark Olesen
7d30766d18 consistency update BiIndirectList, IndirectList
- allow construct with Xfer container for the addressing

- Replaced non-const addressing() method in BiIndirectList with
  resetAddressing() method as per IndirectList
2009-08-10 11:08:35 +02:00
Mark Olesen
330a120082 fixed bad .gitignore again
- only ignore html files in the main directory, not everywhere.
  This is how we lost FoamFooter.html, FoamHeader.html in doc/Doxygen/ in
  the 1.6.x release
2009-08-10 09:35:45 +02:00
Mark Olesen
ce567e4b76 foamCopySettings: more readable with sed/tr 2009-08-10 09:04:26 +02:00
Mark Olesen
9960977642 foamCopySettings enhancement
- read ~OpenFOAM/foamCopySettings.rc file for an extra rsync options
  for example, to ignore post-processing or sampling directories
2009-08-09 19:02:05 +02:00
Mark Olesen
ef37a55f1a improvments to tokenizing Scalar
- avoid other degenerate sequences from being treated as a scalar
  eg, '1-e', '1e+', '1e.2'
2009-08-09 16:16:40 +02:00
Mark Olesen
9407443e69 improvments to tokenizing Scalar
- for alphanumeric sequences (optionally with [-+.]) that don't look
  like a float or int -> return as a word

  This means that '0patch' now looks like a <word> (not <label>)
  and '1.end' looks like a <word> and not <scalar>

  Something like '1-e' still does get treated as a bad <scalar> though
2009-08-09 15:43:49 +02:00
Mark Olesen
e905f9b03f tokenizing Scalar is more stringent
- require a digit somewhere. This traps '.' or '.+E' type of sequences
  instead of returning them as 0

- avoid buffer overruns on really long sequences

- should we be considering strtod() as an alternative to atof() and checking
  the errno?
  The same might be true for using strtoul() or strtol() instead of atol()
2009-08-09 12:43:45 +02:00
Mark Olesen
77b2fecc7f check for empty word/expression in keyType and wordRe IO 2009-08-09 09:58:00 +02:00
Mark Olesen
bdbdd25bac Allwmake and {applications,src}/Allwmake use wmake/wmakeCheckPwd
- solves problems that can occur when checking $PWD and links are involved
2009-08-07 20:24:11 +02:00
Mark Olesen
1d8294b5b0 added draft of foamCheckPwd 2009-08-07 17:06:49 +02:00
Mark Olesen
df90d1abf8 Merge commit 'OpenCFD/master' into olesenm 2009-08-07 15:09:02 +02:00
mattijs
5ac6840d06 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-07 11:28:12 +01:00
mattijs
dc999ad07e fvMesh xfer constructor change 2009-08-07 11:27:48 +01:00
andy
a7c5d31c3e typo 2009-08-06 19:24:22 +01:00
henry
31c76da40f Changed the runtime-selection tables to output a sorted toc. 2009-08-06 18:01:28 +01:00
andy
7297ae0e23 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-06 17:44:06 +01:00
andy
85f11fa7cc added sortedToc() 2009-08-06 17:43:39 +01:00
Mark Olesen
5872f2a7e6 added test/ensightFoamReader with udr_checker.c from ensight80
- it looks okay to include: same copyrights as the other ensight headers
2009-08-06 15:34:55 +02:00
Mark Olesen
60549b30f5 ensightFoamReader - updated README* and global_extern*h from ensight-82
- still using the same version of the reader API (2.03)

- this seems to solve strange issues with genericPatchField symbols,
  but it still doesn't get the reader module working.

- added in the release information (the build string)
2009-08-06 14:53:40 +02:00
Mark Olesen
13bd15284d Merge commit 'OpenCFD/master' into olesenm 2009-08-06 08:55:42 +02:00
Mark Olesen
a3cd621b53 update docs for fileName, word, wordRe 2009-08-06 08:42:08 +02:00
mattijs
73ae3ddc6d include topoChangerFvMesh 2009-08-05 21:31:30 +01:00
mattijs
e5a710d3eb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-05 16:18:38 +01:00
mattijs
eba6c985a9 added rawTopoFvChanger mesh 2009-08-05 16:11:47 +01:00
andy
df37b6b431 read not pure virtual 2009-08-05 11:38:16 +01:00
andy
1849d86a0e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-05 11:16:31 +01:00
andy
c4fd345ab1 added solverFreq to read(), and changed fvm->fvmSup header 2009-08-05 10:46:03 +01:00
Mark Olesen
2c62c83b4b actually compile genericPatchFields lib
- also have it use LIB_LIBS to always load finiteVolume
2009-08-05 08:46:19 +02:00
Mark Olesen
8baeac8d0e Merge commit 'OpenCFD/master' into olesenm 2009-08-05 08:02:33 +02:00
henry
d4864d9b6e Moved the "generic" BCs into a separate library and included it only in those utilities
which need this functionality.  Solvers will now check the correctness of the BCs on
read.
2009-08-04 22:13:54 +01:00
Mark Olesen
f3e40598a0 applyWallFunctionBoundaryConditions - use mvBak() 2009-08-04 18:02:07 +02:00
mattijs
fe0745476d revert to reading surfaces from constant so parallel works out of the box 2009-08-04 16:43:38 +01:00
mattijs
0b16a73a5a better error checking if restart 2009-08-04 16:43:08 +01:00
mattijs
876135a83d forcing scheduling calculation 2009-08-04 16:42:54 +01:00
henry
1e6e335f5b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-04 10:13:06 +01:00
henry
d217b8bd74 Changed "default" to "generic" for consistency with fvPatchField. 2009-08-04 10:13:01 +01:00
henry
268574393a Removed orphaned files. 2009-08-04 10:12:25 +01:00
Mark Olesen
2e77a6f9dc Merge commit 'OpenCFD/master' into olesenm 2009-08-03 20:21:50 +02:00
Mark Olesen
b4c93398e0 no-frills fvSolution format in tutorials/incompressible/* 2009-08-03 20:16:24 +02:00
Mark Olesen
fdc49d78cf Revert "more consistent naming convention for aliases"
This reverts commit ff5137e459.
But keeps (cosmetic) changes to bin/foamCleanPath
2009-08-03 20:00:09 +02:00
Mark Olesen
ac4ff01a74 Revert "skip writing default values of Cmu/Prt etc for turbulent bcs"
This reverts commit ad287d9d17.
2009-08-03 19:59:06 +02:00
andy
8336c33aa2 added reading of kappa on dictionary read 2009-08-03 18:58:17 +01:00