Commit Graph

64 Commits

Author SHA1 Message Date
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
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
Andreas Lauser
dc920d9030 Improve the startup and parameter routines. 2012-07-12 21:25:04 +02:00
Klaus Mosthaf
e8323070d0 corrections in the coupled tutorial, spell check & beautification 2012-07-12 21:25:01 +02:00
Klaus Mosthaf
8ad532feba Fixed some typos and linebreaks (for the handbook) 2012-07-12 21:25:01 +02:00
Philipp Nuske
70fb80746e - added a tiny exercise to the coupled tutorial: change from cubes to simplex 2012-07-12 21:24:55 +02:00
Andreas Lauser
f5a9cf1a83 rename files for structured grid creators to make them consistent with the classes which they contain
structuredcubegridcreator.hh -> cubegridcreator.hh
structuredsimplexgridcreator.hh -> simplexgridcreator.hh

also document them properly.
2012-07-12 21:24:54 +02:00
Andreas Lauser
25aba6a3f2 update the tutorial for the coupled models 2012-07-12 21:24:53 +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
Andreas Lauser
9b653a7051 properties: remove all superfluous PTAG() invocations 2012-07-12 21:24:33 +02:00
Andreas Lauser
a47f8e2aec boxmodels: make them compile with -pedantic
tested on GCC 4.3 and GCC 4.6. Due to an incompatibility between those
two compilers (GCC 4.3 expects that there's no semicolon behind
static_assert(), GCC 4.6 requires one), it only compiles on GCC 4.6.
2012-07-12 21:24:32 +02:00
Bernd Flemisch
9924b8b49e changed to NonwettingPhase, since renaming has not been decided 2012-07-12 21:24:27 +02:00
Andreas Lauser
e507529019 Added adapter to maintain usage of FluidSystem<TypeTag> 2012-07-12 21:24:26 +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
Andreas Lauser
51b13ab8f3 lecture/msm: make the problems using box models compile for Scalar != double, cleanups 2012-07-12 21:24:15 +02:00
Markus Wolff
7b28dd8742 adapted tutorial problems to changes in models 2012-07-12 21:24:10 +02:00
Bernd Flemisch
1974359bbe fixed compiler errors due to changed temperature signature 2012-07-12 21:24:10 +02:00
Andreas Lauser
e70c554ea3 remove trailing white space 2012-07-12 21:24:07 +02:00
Andreas Lauser
a48ab2bf8e VTK: some infrastructure work to support writing of vector fields
- the constructor of VtkMultiWriter now expects a grid view as first
  argument. unfortunately the old API cannot be kept around with this
  change.
- as a follow up beginWrite() does not need the grid view as an
  argument anymore
- if the grid has been changed during two time steps, the new method
  gridChanged() must be called before beginWrite() is called
2012-07-12 21:24:06 +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
Bernd Flemisch
23f7c702c9 accidently committed wrong files 2012-07-12 21:23:09 +02:00
Bernd Flemisch
86c0f2267f updated INSTALL text file instructions 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
Philipp Nuske
39a8eb3823 correcting typos, adding minor comments, streamlining nomenclature in tutorial_coupled 2012-07-12 21:22:55 +02:00
Bernd Flemisch
4dcf68f7a5 adapted tutorial such that we have advection-dominated flow again 2012-07-12 21:22:53 +02:00
Melanie Darcis
86b00e2dbb doc 2012-07-12 21:22:50 +02:00
Melanie Darcis
205c0ffa0c doc 2012-07-12 21:22:50 +02:00
Andreas Lauser
02ddfea028 doc: (almost) finish the design patterns chapter in the handbook
also remove the ReferenceElements property because changing to the old
DUNE entity numbering would not work anyways...
2012-07-12 21:22:48 +02:00
Melanie Darcis
7da6ffe1ec (empty message) 2012-07-12 21:22:43 +02:00
Klaus Mosthaf
0cfbf91760 further work on the tutorial_coupled 2012-07-12 21:22:42 +02:00
Klaus Mosthaf
38159bf1f1 further work on the tutorial_coupled exchanged fluidsystem and fluid to twophase water-oil 2012-07-12 21:22:42 +02:00
Klaus Mosthaf
f59541f834 started to refresh tutorial_coupled 2012-07-12 21:22:42 +02:00
Andreas Lauser
b91f7ea58d box: fix for dirichlet boundaries
as described in my e-mail from wednesday. Everything in the stable
repository compiles.

also, some compile fixes for the Mp-Nc model where made to some fluid
systems and the 1p2c index structure got an offset template argument
like the other models.
2012-07-12 21:22:42 +02:00
Bernd Flemisch
a30ea535c2 adapted svn history of tutorial 2012-07-12 21:22:34 +02:00
Andreas Lauser
3d2292da0f change names according to the meeting on monday 2012-07-12 21:22:28 +02:00
Andreas Lauser
5aae649eae tutorials: convert to new structure 2012-07-12 21:22:28 +02:00
Andreas Lauser
73d9972d52 sync with splitting point 2012-07-12 21:21:06 +02:00
Bernd Flemisch
024955b520 continued restructuring. 2012-07-11 23:29:58 +02:00
Andreas Lauser
54c9450f6e sanitize white space
replace eacg tab by 4 spaces and remove the spaces at line ends. we
should do this more often!
2012-07-11 23:29:17 +02:00