Commit Graph

67 Commits

Author SHA1 Message Date
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
4c2885cc82 tutorial: add defaults so that they run without parameters, make handbook compile again 2012-09-24 20:13:29 +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
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
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
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
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
dc920d9030 Improve the startup and parameter routines. 2012-07-12 21:25:04 +02:00
Benjamin Faigle
e2953d8eca correct spelling mistakes and other minor issues in tutorial introduces breaks to get all documentation in the code on a page in the handbook. 2012-07-12 21:25:00 +02:00
Markus Wolff
2578c26c5a Changed decoupled tutorial to use the start() routine
- we decided to keep the tutorials similar and to change them to
     start from a parameter file
2012-07-12 21:25:00 +02:00
Bernd Flemisch
fc04520ad2 tutorial: fix -pedantic error 2012-07-12 21:24:47 +02:00
Andreas Lauser
35242a073e fix copyright notices
- new institute name
- add missing modelines
- reformat the entry for leopold stadler in air.hh
2012-07-12 21:24:43 +02:00
Markus Wolff
7ca28bcd97 made decoupled tutorial run again after changes in decoupled models 2012-07-12 21:24:39 +02:00
Andreas Lauser
9b653a7051 properties: remove all superfluous PTAG() invocations 2012-07-12 21:24:33 +02:00
Bernd Flemisch
1dbd4b606a decoupled 2p: fix compilation of tutorial and generalproblem, keep the property TwoPIndices for compatibility with box models, comment declaration of some unused variables 2012-07-12 21:24:31 +02:00
Bernd Flemisch
9924b8b49e changed to NonwettingPhase, since renaming has not been decided 2012-07-12 21:24:27 +02:00
Andreas Lauser
d9bd5a1b03 insert emacs and vi modelines to make indentation more consistent 2012-07-12 21:24:25 +02:00
Andreas Lauser
9f7d1d109b re-applied fluid framework changes to the newfluidframework branch 2012-07-12 21:24:21 +02:00
Bernd Flemisch
89ff5ad8fc Reverting previous commits and going back to revision 6808. There is no need to rush things. We agreed on first having the meeting and then porting the change to the non-MpNc-models. Moreover, the change has not been carried out according to what has been discussed at the meeting. E.g. there was no completeState functionality of the models, and the simple models also introduced parameter caches, although it was thought to not necessarily having to do so. 2012-07-12 21:24:20 +02:00
Andreas Lauser
710ee0ae4e NonwettingPhase -> NonWettingPhase
also call fluidState_.pressure() instead of
fluidState_.phasePressure() in the TwoPVolumeVariables.
2012-07-12 21:24:20 +02:00
Bernd Flemisch
b7aab50731 Worked further on the Doxygen modules. The structure seems quite ok now, and the classes seem to be associated with the correct groups.
Also improved documentation by getting rid of more than 250 Doxygen
warnings.
2012-07-12 21:24:19 +02:00
Markus Wolff
7b28dd8742 adapted tutorial problems to changes in models 2012-07-12 21:24:10 +02:00
Markus Wolff
7d74f7132c adapted decoupled tutorial to interface changes of decoupled 2p model 2012-07-12 21:24:09 +02:00
Benjamin Faigle
b1fd80d743 Time manager is instantiated in application file Problems instantiated with Timemanager TimeManager now runs the problem
update of handbook according to that.
2012-07-12 21:24:09 +02:00
Andreas Lauser
ced58e80cb remove all SVN $Id$ tags as decided on last week's dumux meeting 2012-07-12 21:23:23 +02:00
Andreas Lauser
150531f932 fix the GCC 4.6 stuff in a more backward compatible way and fix a lot of "variable set but not used" warnings on GCC 4.6
if the compiler doesn't know about constexpr
2012-07-12 21:23:17 +02:00
Klaus Mosthaf
bc9c545076 added include lines for the components in tutorialproblem_coupled and tutorialproblem_decoupled 2012-07-12 21:23:09 +02:00
Markus Wolff
fae10bf07d corrected macros in tutorial decoupled 2012-07-12 21:23:08 +02:00
Benjamin Faigle
18045051e3 reformat to enshure everything fits on the printouts of the handbook 2012-07-12 21:23:08 +02:00
Benjamin Faigle
36806bbc38 added more information to tutorial to ease it for newcomers 2012-07-12 21:23:06 +02:00
Andreas Lauser
1936cae767 change copyright notices to the one suggested by the FSF 2012-07-12 21:22:59 +02:00
Benjamin Faigle
0d7f8adc41 adapted tutorial decoupled to unique neumann-BC definition 2012-07-12 21:22:58 +02:00
Bernd Flemisch
9f39e767af adapted tutorial such that we have advection-dominated flow again 2012-07-12 21:22:53 +02:00
Bernd Flemisch
4dcf68f7a5 adapted tutorial such that we have advection-dominated flow again 2012-07-12 21:22:53 +02:00
Andreas Lauser
15116fb9f8 decoupled tutorial: streamline the code a bit
we do not need to set any default arguments for the type tag in the
problem definition. the type tag which is actually used is chosen in
the main function.
2012-07-12 21:22:53 +02:00
Benjamin Faigle
be1a31aa25 fixed some minor bugs in tutorial 2012-07-12 21:22:53 +02:00
Bernd Flemisch
5d3a12e7d9 enhanced documentation 2012-07-12 21:22:51 +02:00
Andreas Lauser
ecc16cfd72 handbook: make the undefined references go away, finalize on the design patterns and property system chapters 2012-07-12 21:22:49 +02:00
Benjamin Faigle
20d863f37c fixed wrong determination of boundary values in tutorial decoupled 2012-07-12 21:22:43 +02:00
Benjamin Faigle
8f6a328e1f further improved documentation for tutorial decoupled 2012-07-12 21:22:39 +02:00
Benjamin Faigle
cff0aaf797 improved documentation for tutorial decoupled 2012-07-12 21:22:38 +02:00
Benjamin Faigle
7d51fbf9ad tutorial_decoupled compiles and runs again, added docu for main file 2012-07-12 21:22:38 +02:00