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
Andreas Lauser
dc920d9030
Improve the startup and parameter routines.
2012-07-12 21:25:04 +02:00
Christoph Grueninger
fdcd099b40
Provide *.input in tarball.
2012-07-12 21:25:02 +02:00
Andreas Lauser
4f3eaf0101
parameter files: partially fix formating
...
as requested by the PFP
2012-07-12 21:25:01 +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
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
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
Bernd Flemisch
fc04520ad2
tutorial: fix -pedantic error
2012-07-12 21:24:47 +02:00
Andreas Lauser
4706fcf898
new institute name in remaining files
2012-07-12 21:24:43 +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
Bernd Flemisch
778d80aa12
remove error-causing add_dependencies
2012-07-12 21:24:40 +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
5863d6306c
remove all unused typedefs
...
since this was done in a semi-automatic way compilation for stuff not
used by the non-decoupled tests may be non-functional. I spared the
decoupled stuff because it does not compile ATM so I did not have a
way verify that it still works...
2012-07-12 21:24:35 +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
89ea64ab96
remove warning-causing commas
2012-07-12 21:24:31 +02:00
Bernd Flemisch
c0f8a64960
remove warning-causing semicolons
2012-07-12 21:24:31 +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
Andreas Lauser
358449a1bd
eliminate all dependencies on boost
...
mainly to get rid of AX_BOOST_BASE and to reduce the number of
dependencies.
2012-07-12 21:24:28 +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
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
Benjamin Faigle
72832a8b24
changes in restart behaviour: - restart mechanism is now called from init(..) method in time manager for all models via problem().restart(...); - hence, calls to problem or models in application files and in the default start procedure are deleted (included in timeManager) - timeManager().init(...) now has a real restart bool defining if a restart was called by the user. Bool is true if restart is desired. - Decoupled models: to enable restart, the writer is only called with the access function to avoid segmentation fault. - Adapt tutorial to the change
2012-07-12 21:24:18 +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
Andreas Lauser
eb1c79f785
rename LS* to LinearSolver*
...
also move these "LinearSolver" parameter group
2012-07-12 21:24:14 +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
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
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
Andreas Lauser
2afe339845
fix the coupled tutorial after holger's alpha->lambda renaming
2012-07-12 21:23:13 +02:00
Holger Class
affe5efc6f
setAlpha is now setLambda (Brooks-Corey)
2012-07-12 21:23:12 +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
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
Bernd Flemisch
e0eca453c3
adjusted Makefile.ams such that tarball is built
2012-07-12 21:23:00 +02:00
Bernd Flemisch
35c147dcd3
adjusted Makefile.ams such that tarball is built
2012-07-12 21:23:00 +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
Philipp Nuske
39a8eb3823
correcting typos, adding minor comments, streamlining nomenclature in tutorial_coupled
2012-07-12 21:22:55 +02:00
Andreas Lauser
6972419eb5
extend/correct a few comments, remove artifacts of renamed concepts
...
(phaseState -> fluidState, material context -> material parameters, etc)
2012-07-12 21:22:54 +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
Melanie Darcis
fe39d8f017
(empty message)
2012-07-12 21:22:50 +02:00
Melanie Darcis
86b00e2dbb
doc
2012-07-12 21:22:50 +02:00
Melanie Darcis
db02fe70ab
adapted to handbook
2012-07-12 21:22:50 +02:00
Melanie Darcis
205c0ffa0c
doc
2012-07-12 21:22:50 +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
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
Benjamin Faigle
20d863f37c
fixed wrong determination of boundary values in tutorial decoupled
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
Melanie Darcis
7e5c2d8846
doc
2012-07-12 21:22:41 +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
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
Bernd Flemisch
60eac873d3
switched from bin_PROGRAMS to check_PROGRAMS
2012-07-12 21:22:27 +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
Bernd Flemisch
627ed018e4
included liquidphase.hh in tutorialproblem_decoupled
...
include added
- liquidphase.hh now has to be included in 2p problems -> file in
new_material/fluidsystems splitted!
2012-07-11 23:29:17 +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
Bernd Flemisch
f669136297
adapted decoupled tutorial to the new material system
2012-07-11 23:28:33 +02:00
Benjamin Faigle
b9130c14b4
cleaned up coupled tutorial after minicourse and updated labels for the handbook.
2012-07-11 23:28:30 +02:00
Benjamin Faigle
7c8e7f6442
solution to ex1 of miniworkshop new MaterialLaw
2012-07-11 23:28:30 +02:00
Benjamin Faigle
f4f74e26cf
final versions of miniworkshop new Materiallaws.
2012-07-11 23:28:30 +02:00
Benjamin Faigle
11d61d54d6
starting versions of miniworkshop new Materiallaws. not compileable with anything!!
2012-07-11 23:28:30 +02:00
Benjamin Faigle
d06880da8c
solution to ex2 of miniworkshop dumux
2012-07-11 23:28:30 +02:00
Benjamin Faigle
346b75c02c
tutorialspatialparameters solution for the mini-workshop
2012-07-11 23:28:30 +02:00
Benjamin Faigle
d4da92f877
miniworkshop-solution
2012-07-11 23:28:30 +02:00
Benjamin Faigle
acc1d8557c
coupled tutorial updated to new material/soil system
2012-07-11 23:28:30 +02:00
Andreas Lauser
84efa910ae
change namespace from Dune to Dumux and fix a few compilation issues
...
I tried to catch most stuff, but occationally Dune:: prefix is
required for stuff which is provided by DUNE and sometimes the Dune::
prefix needs to be changed to Dumux:: for stuff which is part of DuMuX
2012-07-11 23:28:29 +02:00
Markus Wolff
4b43eb4d1b
tutorial decoupled repaired
2012-07-11 23:28:21 +02:00
Bernd Flemisch
b5280738c5
New bc interface.
2012-07-11 23:28:18 +02:00