KASKADE 7 development version
Namespaces | Functions
gridCover.hh File Reference
#include <algorithm>
#include <utility>
#include "fem/fixdune.hh"
#include "utilities/gridGeneration.hh"

Go to the source code of this file.

Namespaces

namespace  Kaskade
 
 

Functions

template<class GridView >
std::pair< Dune::FieldVector< typename GridView::ctype, GridView::dimensionworld >, Dune::FieldVector< typename GridView::ctype, GridView::dimensionworld > > Kaskade::boundingBox (GridView const &gv)
 Computes a the bounding box of the given grid view. More...
 
template<class GridView >
std::unique_ptr< typename GridView::Grid > Kaskade::createCoverGrid (GridView const &gv, double volumeRatio=10)
 Creates a cartesian structured grid occupying the bounding box of the given grid view. More...