Commit Graph

427 Commits

Author SHA1 Message Date
Andreas Lauser
896f0ed23d make the autotools build system non-recusive
this allows much better build time parallelism.
2012-11-19 15:25:01 +01:00
Andreas Lauser
3e55945ce5 change namespace from Dumux to Ewoms
eWoms hereby declares full independence. Humor aside, the main
technical advantage of this is, that it is now possible to easily
install both, Dumux and eWoms on a system using a package management
system without bad tricks.
2012-11-18 16:58:22 +01:00
Andreas Lauser
834b79a8dd consistently use \copydoc $CLASSNAME to document files 2012-11-02 15:28:08 +01:00
Andreas Lauser
510fa48526 handbook: language improvements 2012-11-01 16:43:15 +01:00
Andreas Lauser
38d7b97157 CMake: Teach it good manners when it comes to caching
also improve testing by adding a restart test and making sure that
invalid parameter names are not accepted.
2012-10-29 18:48:10 +01:00
Andreas Lauser
71c758a505 remove all trailing white space and replace all tabs by four spaces 2012-10-28 21:46:37 +01:00
Andreas Lauser
bd2f9dda1f increase tolerance when comparing the "velocity" field
this is only relevant for the semi-implicit models.
2012-10-28 11:53:40 +01:00
Andreas Lauser
5c784f59b9 fuzzycomparevtu.py: increase tolerance for the "velocity" field
this field is only written by the semi-implicit models (the
fully-implicit ones write "filterVelocity_$PHASENAME") and caused
problems for "test_1p". Since I don't care about the semi-implicit
models too much, let's just increase the tolerance.
2012-10-27 12:27:35 +02:00
Andreas Lauser
b4c2aba27f implement molecular diffusion for all compositional box models 2012-10-26 19:07:51 +02:00
Andreas Lauser
2e92139577 fuzzycomparevtu.py: take the single precision floating point values into account
the vtu files use single precision floats, which has six digits. we
say the value for pressure is equal if the first five digits are
identical.
2012-10-25 18:59:41 +02:00
Andreas Lauser
73b1fa0594 fuzzycompatevtu.py: only complain if the pressure difference is larger than 0.1 Pa 2012-10-25 15:52:53 +02:00
Andreas Lauser
b77c58b502 fix a few tests
- don't use references to entity pointers in the semi-implicit models
  anymore. this caused the element pointer to go out of scope and made
  it dangle. It was just pure luck that it (mostly) worked anyway.
- fix the non-isothermal navier-stokes model
- reduce the default value for the final time of the water-air problem
  to 5000 seconds. this should avoid time-out problems on slower
  machines (nalle, I'm looking at you)
- reduce the final time for the reservoir problem to 100 seconds to avoid
  numeric errors from accumulating too much.
- don't complain about saturation differences less than .1% anymore
- make the fix for the end time detection work for negative end times
- reduce the total time the stokes problem is run to 10 seconds. this
  is probably not a real fix, but the navier-stokes model does not
  work nicely yet anyway...
- do not compare floating point values with the '==' operator in the
  immiscible flash constraint solver.
2012-10-25 14:55:55 +02:00
Andreas Lauser
93049a223d fix tests for test_diffusion, test_navierstokes 2012-10-23 16:55:44 +02:00
Andreas Lauser
63d554ff08 make the test runner script also work for semi-implicit simulations 2012-10-23 13:06:20 +02:00
Andreas Lauser
9f13b80118 improved unit testing
- run one simulation in parallel if MPI is available
- test the parameter passing infrastructure
- reduce end time of the navier stokes problem to 1e-3 to make it pass
  on the first try
- add CUSTOM_CXX_FLAGS to CMakeLists.txt to allow passing compiler
  flags from the command line to make clang shut up about the dune
  issues it encounters.
2012-10-23 11:55:26 +02:00
Andreas Lauser
a8f7cf2ade fuzzycomparevtu.py: don't use argparse
it seems like older python versions don't include it in their standard
library.
2012-10-23 11:24:45 +02:00
Andreas Lauser
c601a65931 runtest.sh: make it work in parallel 2012-10-22 22:49:35 +02:00
Andreas Lauser
0d5099da19 fix another bunch of tests 2012-10-22 17:19:04 +02:00
Andreas Lauser
a9a67ecef9 fix 'make dist' 2012-10-22 14:59:56 +02:00
Andreas Lauser
ab1ba788c7 make the fuzzycompare script work, update reference solutions 2012-10-22 14:33:01 +02:00
Andreas Lauser
95ae6949d8 fix the CMake build
also, fix and simplify the CTest system
2012-10-19 19:39:53 +02:00
Andreas Lauser
7deaf50402 box model descriptions: syncronize them with the doxygen versions
the descriptions of the semi-implicit models are imported from dumux
because I suppose that these have been modified manually and the
differences should be negligible anyway...
2012-10-19 13:49:54 +02:00
Andreas Lauser
48ba09359c handbook: smaller fixes
- replace the remaining stray \Dumux by \eWoms
- correct the description of fugacity
2012-10-19 13:49:47 +02:00
Andreas Lauser
9aad4c3a7e handbook: finish update for the 2.2 release
at least content-wise. there are still quite a few language issues
left to be dealt with...
2012-10-17 16:24:38 +02:00
Andreas Lauser
eaf7d9cea5 remove the *reference.vtu and *.input from EXTRA_DIST
these are non-existant in eWoms anyways.
2012-10-16 20:38:00 +02:00
Andreas Lauser
0c1a15c2de handbook: cleanups, update the tutorial for the fully implicit models
- there are no LaTeX files with capital letters anymore
- there are no more "dangling" references
2012-10-16 18:16:19 +02:00
Christoph Grueninger
78edd159d7 Remove first EXTRA_DIST because it was overwritten by the second one.
Dumux-Svn-Revison: 9325
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-16 13:41:18 +02:00
Andreas Lauser
dd8e4520a0 Handbook: some updates
- adapt the "quick start" chapter to eWoms
- remove the dumux logo from the front page
- remove the "flow of things" and "tipps and tricks" chapters:
  - the former was not useful, IMHO but quite a burden to update and
    the latter rather belongs to the online documentation (wiki?)
- update the flowchart showing the layout of the source tree
2012-10-15 17:53:21 +02:00
Vishal Jambhekar
91b9730eb0 Handbook.pdf is added to the Extra Dist
Dumux-Svn-Revison: 9245
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-10 18:56:04 +02:00
Melanie Darcis
d5e509ef7a Added missing three lines to 2pdecoupledpressuremodel.tex.
Dumux-Svn-Revison: 9225
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-06 18:53:46 +02:00
Andreas Lauser
7f9ba0371c some minor fixes to the handbook
by Benjamin Faigle
2012-10-05 14:18:42 +02:00
Philipp Nuske
683341c4de make the code listing in the handbook start with the same numbering as in the source code.
Dumux-Svn-Revison: 9214
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-05 14:18:42 +02:00
Christoph Grueninger
1b7da052d5 Fix a typo in label and ref.
Dumux-Svn-Revison: 9208
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-05 14:18:42 +02:00
Christoph Grueninger
ff9f998347 Add paragraph about error "no type named 'p' in 'struct Dumux::Properties"
Dumux-Svn-Revison: 9171
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-02 17:00:02 +02:00
Christoph Grueninger
6761358bb6 Fixed oversized box, spelling, use unit package.
Dumux-Svn-Revison: 9163
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-10-02 11:48:22 +02:00
Andreas Lauser
421650fef1 update copyright notices
in addition to last time, don't add authors that are responsible than
5 lines in a file. This mainly makes a difference for very short files
like the .cc files...
2012-09-26 15:55:36 +02:00
Andreas Lauser
1436f8cbc5 start(): remove the callback to a custom usage function
since all parameters are now printed if something goes wrong the all
custom usage functions in the repository were worse than the default
one...
2012-09-25 14:21:38 +02:00
Andreas Lauser
4c2885cc82 tutorial: add defaults so that they run without parameters, make handbook compile again 2012-09-24 20:13:29 +02:00
Andreas Lauser
5371f08ac1 remove all remaining parameter files
after commit 345b78c they are not necessary anymore. deleting them was
just forgotten...
2012-09-24 19:52:27 +02:00
Alexander Kissinger
115e7f1ef7 Several changes in the coupled tutorial in the handbook
Dumux-Svn-Revison: 9114
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-09-24 17:45:25 +02:00
Andreas Lauser
bb09d3438a documentation: bring the method documentation of the box problems up to speed
finally, the documentation builds without any warnings from
doxygen. This does not mean that the documentation is correct, though:
Quite a bit of prose is still required for the model and problem
descriptions...
2012-09-24 17:45:25 +02:00
Andreas Lauser
345b78c723 parameter system: major overhaul
"runtime" parameters are gone now, as are groups. both where flawed
concepts: parameters can be overwritten at runtime by definition, and
a parameter that has no compile-time fallback just degrades
performance and is a hassle to deal with because it has to be
specified in a parameter file. The other killed feature, parameter
groups, just made it harder to figure out what the correct command
line argument was to change the parameter (was it
--linear.solver-tolerance, --linear-solver.tolerance or
--linear-solver-tolerance?) and did not provide much value otherwise.

as a consequence all parameters now have compile-time defaults which
allows us to remove the auto-loading of a parameter file at
startup. (These files became quite obnoxious in eWoms when problems
declared their independence from models.)

Finally all parameters must now be registered before they can be used
which allows to properly include them in the usage message.
2012-09-24 17:45:16 +02:00
Andreas Lauser
cb5b5d4761 one more update to the copyright holders
this time we ignore the commits 024955b5, f34d3482, 292c0084,
153374e8, 54c9450f, 6bc12abc, ee0eb46b, a1f3edc6, 5858986f and
0c4b9162 because these are huge commits that either dealt with white
space clean ups or just moved some files around. Also for the total
lines in a source file we only account for the non-ignored lines.
2012-09-19 15:46:53 +02:00
Andreas Lauser
b44f8a236b correct copyright headers
This time hopfully for good. There were a few bugs in the script to
update them, and the metric was slightly chanted: Now, only authors
that contributed more than 5% of the lines of a file are listed. We
now also properly ignore the copyright headers and the changes made in
commit 024955b5 as the latter just moved a lot of files around.
2012-09-19 14:57:08 +02:00
Benjamin Faigle
41c74beb04 corrected minor inconsistency of decoupled tutorial with its docu (output interval too small). reviewed by Philipp
Dumux-Svn-Revison: 9072
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-09-11 16:59:19 +02:00
Andreas Lauser
aa9c07835b some fixes to the coupled tutorial 2012-09-11 14:57:25 +02:00
Alexander Kissinger
fb47614c3d Fixed small error
Dumux-Svn-Revison: 9069
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-09-11 14:37:10 +02:00
Alexander Kissinger
063de21e13 update of installation chapter for Dumux 2.2
Dumux-Svn-Revisons: 9054, 9056
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-09-11 13:54:25 +02:00
Andreas Lauser
c3e0f4f492 update copyright notices, this time with the author date instead of the commit date
the commit date is significantly off for (ancient) commits before the dumux SVN
repository was split into -devel and -stable.
2012-08-31 14:41:47 +02:00
Christoph Grueninger
7f6b922a15 make doc builds the handbook, see FS#163 for more details. Maybe we want to change make doc that it ignores --disable-documentation. This is not yet decided (reviewed by bernd)
Dumux-Svn-Revison: 9014
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-08-30 11:36:07 +02:00