Commit Graph

399 Commits

Author SHA1 Message Date
Bernd Flemisch
ccdf1c742b decoupled: renaming according to refined naming rules, this time for local variables.
Reviewed by Benjamin.

Dumux-Svn-Revison: 10776
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-06-02 16:43:43 +02:00
Bernd Flemisch
20f514984c Perform changes resulting from our refined naming rules, see FS#180.
Only public member names have been treated so far. Local variables
will be done shortly, classes maybe not before the next release
cycle. Everything old could be marked deprecated.

Reviewed by Benjamin and Christoph.

Dumux-Svn-Revison: 10761
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-06-02 16:43:43 +02:00
Bernd Flemisch
99cc53ca66 Partially implements FS#180 - Inconsistent naming
- special status of saturation. In particular, it deals with the
  capitalized "S"-indices:
   S0Idx -> s0Idx
   SnIdx -> snIdx
   SwIdx -> swIdx
   SOrX1Idx -> sOrX1Idx
   SOrX2Idx -> sOrX2Idx
   SnOrXidx -> snOrXIdx
   SwOrXIdx -> swOrXIdx

Reviewed by Christoph.

Dumux-Svn-Revison: 10756
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-06-02 16:43:43 +02:00
Markus Wolff
475b50fb31 Extended the IMPES scheme to allow for local time-stepping for each flux face of the finite-volume transport model
- time steps for the pressure model can be choosen larger than for the
     transport model
   - locally small time steps of the std::explicit scheme are less
     restrictive

   - reviewed by Bernd

Dumux-Svn-Revison: 10700
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-05-19 00:02:22 +02:00
Andreas Lauser
cf74236d32 fix headercheck and compile
they failed because of the new MpiHelper...
2013-03-15 15:05:11 +01:00
Andreas Lauser
ec369207bc test runner script: be more verbose if something goes wrong 2013-02-07 19:44:15 +01:00
Andreas Lauser
bff2b8c72d add a third reference solution for the tutorial_coupled test 2013-02-07 19:44:15 +01:00
Andreas Lauser
75cbe3f132 test runner: more verbose output 2013-02-06 15:48:03 +01:00
Andreas Lauser
4a2b4ceb3b write the newton convergence for the restart test.
this slightly increases test coverage, and raises an alarm if
something goes horribly wrong in the code writing the convergence.
2013-01-30 22:46:24 +01:00
Andreas Lauser
973e5349f0 test runner: print some infos to ease debugging before comparing the simulation results 2013-01-30 15:39:10 +01:00
Andreas Lauser
f5d6db8bc8 improvements to the CMake build system
- it now can generate and install the API documentation ('make install-html')
- the information of the dune.module file is now used much more extensively
- presence of the valgrind headers is tested
- tests which cannot be run for a configuration will now appear as
  'skipped' in CDash
- adding tests does not require modifying the toplevel CMakeList.txt anymore
- introduction of the 'EwomsAddTest' cmake macro which removes quite a bit of the
  copy-and-paste from the CMakeLists.txt.
- various small loose ends have been fixed
2013-01-27 00:07:12 +01:00
Andreas Lauser
fb0f3902ee update randomization once more
It turns out that using the output of base64 for filenames is not a
too good idea.
2013-01-25 11:31:37 +01:00
Andreas Lauser
896beaad90 (hopefully) better random number generation to avoid test failures 2013-01-24 23:28:57 +01:00
Andreas Lauser
03af1e1ecb fix testrunner
*grr* stupid mistakes!
2013-01-13 16:09:15 +01:00
Andreas Lauser
0a5b63f70e test runner: allow an arbitrary number of reference results
if one of the files matches (fuzzyly, obviously), the test counts as
passed if none matches it counts as failed. this lets us add reference
results for hosts that need the same number of time steps, but for
whatever reason produce a different result. also, the number of time
steps required to produce the result do not matter anymore, as long as
the data is the same (in the fuzzy sense).
2013-01-11 18:16:29 +01:00
Katherina Baber
dcc162d3a7 added the package names for SUSE installation
Dumux-Svn-Revison: 9497
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2013-01-09 14:17:51 +01:00
Andreas Lauser
47d4e8dec8 janitorial: update copyright notices in files, remove unused typedefs and enums 2012-12-26 23:35:17 +01:00
Andreas Lauser
7d497e9fc9 janitorial work: include appropriate headers if a class was used 2012-12-23 20:22:52 +01:00
Andreas Lauser
7391faec45 move all grid creators in ewoms/io
and adapt all code to the new location. this reflects commit r9916 of
the dumux trunk.
2012-12-21 15:13:29 +01:00
Andreas Lauser
28a0fb487c test driver script: make it more robust
it does not get confused by the result files of previous runs
anymore...
2012-11-28 20:30:30 +01:00
Andreas Lauser
5acce6b68e restructure the directory structure of the implicit models
this is somewhat similar to what is currently done in the 'implicit'
branch of dumux, but it takes things further:

- ewoms/boxmodels/common -> ewoms/disc/vcfv
  (vcfv == vertex centered finite volumes)
- ewoms/boxmodels/vtk -> ewoms/vtk
  (possibly this will move to ewoms/io/vtk, TBD)
- ewoms/boxmodels -> ewoms/models
- test/boxmodels -> test/implicit
- the files for the common VCFV code have been renamed from "box*" to
  "vcfv\1" and the classes they contain have been renamed accordingly.

The rationale is to reflect the fact that multiple discretizations may
be chosen for any physical model. (Once these discretizations are
implemented, obviously.) All tests still compile for the autotools and
cmake build systems
2012-11-28 16:04:43 +01:00
Andreas Lauser
a299e29f02 non-recursive automake: add shortcut targets
instead of typing 'make test/common/propertysystem/test_propertysystem'
in the toplevel build directory, one can now just type
'make test_propertysystem'
2012-11-21 23:28:15 +01:00
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