Commit Graph

158 Commits

Author SHA1 Message Date
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
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
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
71c758a505 remove all trailing white space and replace all tabs by four spaces 2012-10-28 21:46:37 +01:00
Andreas Lauser
0d5099da19 fix another bunch of tests 2012-10-22 17:19:04 +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
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
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
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
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
Andreas Lauser
d987ac7fdf replace Javadoc notation by c++-style doxygen commands
this basically means to replace '@' by '\' e.g. @brief becomes \brief
2012-08-29 11:26:29 +02:00
Andreas Lauser
79789f6ca0 update authors in the individual files
this time, we don't follow renames as this leads to too much jitter.
2012-08-24 17:32:58 +02:00
Andreas Lauser
5e101756a6 update copyright holders in individual files according to the git history
while the git history might be not entirely accurate, it is certainly
much better what is currently there. the authors are sorted by the
number of lines changed in the file.
2012-08-23 13:26:23 +02:00
Andreas Lauser
9e3563f799 remove the affiliations of the copyright holders
these will be documented separately in the toplevel file "COPYING"
2012-08-23 12:36:47 +02:00
Markus Wolff
9c51221df8 more consistent naming of components
- the prefix "simple" should only be used if a more complex version of
     the same component is available
   - deprecated Oil and SimpleDNAPL

   approved by coffee break

Dumux-Svn-Revison: 8943
Ported-By: Andreas Lauser <andreas.lauser@iws.uni-stuttgart.de>
2012-08-22 13:35:01 +02:00
Andreas Lauser
f24608011b make end time of the coupled tutorial match the ones of the decoupled one
also increase the initial time step size to 1000 seconds since 10
seconds is way too small
2012-08-19 23:28:35 +02:00
Andreas Lauser
2416905f45 rename GridSize -> DomainSize, Grid\.?Cells -> Cells
this hopefully reduces confusion about what which parameter means. the
Domain* parameters specify the physical size of the simulated domain,
the Cells* specify how many cells the grid has into the direction of
each axis.
2012-07-12 21:27:42 +02:00
Andreas Lauser
a8c039bb8b remove unused typedefs and enums 2012-07-12 21:25:24 +02:00
Andreas Lauser
4a0aaecead replace the 1p and 2p(ni) box models by the immiscible(ni) model
the immiscible(ni) model is a model that is independent on the number
of phases and assumes immiscibility. this change is along the lines of
the previous commit for the compositional primary variable switching
model.
2012-07-12 21:25:23 +02:00
Andreas Lauser
e52f2d72f8 rename parameters TEnd and DtInitial
to make them self-descriptive and consistent with the other parameters
and properties "TEnd" is renamed to "EndTime" and "DtInitial" to
"InitialTimeStepSize".
2012-07-12 21:25:22 +02:00
Andreas Lauser
88636f077b implement the remaining Dumux naming conventions for the non-decoupled models
Tensor -> DimMatrix
refElem -> refElement
gv -> gridView
remove "AtIP" suffix
*Index -> *Idx for variables
remove ${MODEL_NAME}Index property
consistent argument names for compute(Storage|Flux|Source) in the local residuals

also remove the "MassUpwindWeight" and "UpwindWeight" properties as
they were not really useful.
2012-07-12 21:25:18 +02:00
Andreas Lauser
f1b3a3d3e6 tutorial: fix Makefile.am 2012-07-12 21:25:17 +02:00
Andreas Lauser
13d9867500 decoupled: finish the SpatialParameters -> SpatialParams frenzy
I also removed the deprecation stuff, as IMO it is more confusing than
helpful. (Ever tried to set the
SpatialParameters instead of SpatialParams in your problem?)

Also move the decoupled spatial parameters from dumux/material to
dumux/decoupled because they are specific to the decoupled models.
2012-07-12 21:25:16 +02:00
Markus Wolff
ed2bf12c5f changed naming in decoupled tutorial
Cherry picked from Dumux SVN trunk (revision 8135)
2012-07-12 21:25:16 +02:00
Andreas Lauser
20875b5a6c tutorial_coupled: impose boundary conditions weakly 2012-07-12 21:25:15 +02:00
Andreas Lauser
7b3c8f18bb fix includes
most includes are now sorted by abstraction levels, with the most
abstract header first. also some system headers like <string> are now
explicitly included in every file where some of their classes are
used.
2012-07-12 21:25:12 +02:00
Andreas Lauser
7df261d46a fix -pedantic warnings, make the 'generalproblem' decoupled only
the last point is necessarry because the box models are pretty much
decoupled from trunk by now...
2012-07-12 21:25:08 +02:00
Andreas Lauser
3882013f1c remove unnecessary typedefs and enums 2012-07-12 21:25:08 +02:00
Andreas Lauser
d7db90476e box models: fold the spatial parameters directly into the problems 2012-07-12 21:25:06 +02:00
Andreas Lauser
591334ac82 box models: introduce BaseProblem property
that's the base class from which the actual problems are derived from
2012-07-12 21:25:06 +02:00
Andreas Lauser
9131de9074 fix various hiccups in the non-test problems after the recebt switches
the switches are the introduction of "smart primary variables", rate
vectors, and changing the capillary pressure API for the multi-phase
models to the one previously used by the MpNc model.
2012-07-12 21:25:06 +02:00
Andreas Lauser
f4f7190c72 change the 2p(ni) and 2p2c(ni) models to the generic capillary pressure laws
also change the 2p model to "smart primary variables" and rate vectors and
make the 2p and 2p2c test problems model agnostic
2012-07-12 21:25:06 +02:00
Andreas Lauser
57e9f74f3a consistently make the time index available
- this renames historyIdx to timeIdx (I think it expresses what it is meant for better)
- rename localIdx to "spaceIdx" in the problems/spatial parameters
- add a "timeIdx" argument to the problem's methods
2012-07-12 21:25:06 +02:00
Andreas Lauser
2591f9cca0 tests, tutorials, lecture problems: make them all compile 2012-07-12 21:25:05 +02:00