some cleanup and C++11-fications + copy/move ctors
always use shared_ptr for Encapsulation objects
minor code cleanup and some assertions
always use shared_ptr for ISweeper and ITransfers
some code cleanup (line length)
made Controller::LevelIter a real iterator

at least almost. have to check a few STD internals to make it conform
with STD
don't use at() where bounds check is already done

`std::vector::at()` does an additional bounds check eventually throwing
`std::out_of_range` exception. This is useless at places where the
bounds are already checked and/or used. In such situations one should
use `std::vector::operator[]()` which is considerably faster.
controller: get_finest & get_coarsest

new handy accessor methods for the finest and coarses level hold by a
controller
docu: a few tweaks towards better Doxygen usage

mainly subpaging the few existing docu pages
Merge pull request #30 from torbjoernk/feature/shared-ptrs

some C++11-fications and technical tweaks
Merge pull request #34 from torbjoernk/feature/docu-tweaks

docu: a few tweaks towards better Doxygen usage
advection_diffusion: Add 'as_dvector' and use references.

This shortens up a bunch of code and is (hopefully) easier for newcomers
to read.

Signed-off-by: Matthew Emmett <memmett@gmail.com>
Silence a bunch of compiler warnings.

Signed-off-by: Matthew Emmett <memmett@gmail.com>
quadrature: Put zeros in interp matrix where appropriate.

This fixes the MLSDC examples.  Guess how long that took to track down?

Signed-off-by: Matthew Emmett <memmett@gmail.com>
Merge pull request #36 from memmett/feature/fix-interp

Fix interpolation matrix.
state: Add simple range iterations and get_time() etc.

This couples each level to the controller, and lets the controller keep
track of, eg, which step and iteration is being operated on.  This
allows sweepers etc to get at this data consistently, and simplifies
various method signatures.
advection_diffusion: Save errors in a map: step, iter -> error.
tests: Add test-advection-diffusion.cpp.

This provides a unit test for the errors of the vanilla SDC algorithm.

Signed-off-by: Matthew Emmett <memmett@gmail.com>
examples: Fix return type of get_errors().

Signed-off-by: Matthew Emmett <memmett@gmail.com>
tests: Add SerialMLSDC test.

Signed-off-by: Matthew Emmett <memmett@gmail.com>