![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
improvegrid.hh File Reference
#include <cmath>#include <vector>#include <dune/common/fvector.hh>#include <dune/common/fmatrix.hh>#include <dune/common/version.hh>#include <dune/common/bitsetvector.hh>#include <dune/istl/bvector.hh>#include <dune/fufem/boundarypatch.hh>#include <dune/fufem/prolongboundarypatch.hh>Go to the source code of this file.
Namespaces | |
| namespace | Dune |
| namespace | Dune::Fufem |
Functions | |
| template<class EntityType > | |
| double | aspectRatio (const EntityType &entity) |
| template<class GridType > | |
| int | improveGridLevel (GridType &grid, double threshold, int level) |
| Improve maximal aspect ratio of the grid by moving vertices. | |
| template<class GridType > | |
| void | improveGrid (GridType &grid, double threshold, int maxIter=10) |
| template<class GridView > | |
| void | printAspectRatios (const GridView &gridView) |
Function Documentation
◆ aspectRatio()
template<class EntityType >
| double aspectRatio | ( | const EntityType & | entity | ) |
◆ improveGrid()
template<class GridType >
| void improveGrid | ( | GridType & | grid, |
| double | threshold, | ||
| int | maxIter = 10 |
||
| ) |
◆ improveGridLevel()
template<class GridType >
| int improveGridLevel | ( | GridType & | grid, |
| double | threshold, | ||
| int | level | ||
| ) |
Improve maximal aspect ratio of the grid by moving vertices.
- Parameters
-
grid The grid threshold The threshold on the aspect ratio that determines which elements should be refined. level The function will process the vertices of the grid view with given level.
◆ printAspectRatios()
template<class GridView >
| void printAspectRatios | ( | const GridView & | gridView | ) |
