DUNE-FEM (unstable)

Dune::Fem::GridWidth Class Reference

utility functions for calculating the maximum grid width More...

#include <dune/fem/misc/gridwidth.hh>

Static Public Member Functions

template<class GridPartType , class MinMax >
static double calcGridWidth (const GridPartType &gridPart, const bool communicate, const MinMax &minmax)
 calculate minimal grid width as \(h_{E} :=\frac{|E|}{h^{E}_{m}}\) with \(h^{E}_{m} := \min_{e \in \mathcal{I}_{E}} |e| \). More...
 

Detailed Description

utility functions for calculating the maximum grid width

Member Function Documentation

◆ calcGridWidth()

template<class GridPartType , class MinMax >
static double Dune::Fem::GridWidth::calcGridWidth ( const GridPartType &  gridPart,
const bool  communicate,
const MinMax &  minmax 
)
inlinestatic

calculate minimal grid width as \(h_{E} :=\frac{|E|}{h^{E}_{m}}\) with \(h^{E}_{m} := \min_{e \in \mathcal{I}_{E}} |e| \).

Parameters
gridPartset of element the minmal with is calculated for
communicatedo global communication to get minimal width for all processes (default = true)
minmaxFunction which switches between the overall minimun and maximum

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)