Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

GridFESummary Class Reference

Summary of a finite element grid (element size, distortion). More...

#include <GridFESummary.h>

List of all members.

Public Methods

 GridFESummary ()
 ~GridFESummary ()
real calculateErrorMeasure (const GridFE &grid, const int e, const bool triangular_element) const
void gridDiagnostics (const GridFE &grid, MultipleReporter &rep, const VerbosityLevel verbosity_level)

Public Attributes

Extremes max_angles_t
Extremes min_angles_t
Extremes inner_radius_t
Extremes max_angles_q
Extremes min_angles_q
Extremes diagonal_frac_q
Histogram min_ang_cum_hist_t
Histogram max_ang_cum_hist_t
Histogram inner_radius_cum_hist_t
Histogram min_ang_cum_hist_q
Histogram max_ang_cum_hist_q
Histogram diag_frac_cum_hist_q


Detailed Description

Summary of a finite element grid (element size, distortion).

NAME: GridFESummary - Summary of a finite element grid (element size, distortion)

DESCRIPTION:

Calculates the smallest and largest element size (represented by the inner radius of the triangular elements and the fraction of diagonals in the quadrilateral elements) and the smallest and largest angle between element edges in the mesh (this latter quantity is a measure of the grid distortion). The expectation, variance and cumulative distribution of these values is also calculated. The user has access to these values through the objects of type "Extreme" and "Histogram". This of course only after the use of "gridDiagnostics".


Constructor & Destructor Documentation

GridFESummary::GridFESummary ( ) [inline]
 

GridFESummary::~GridFESummary ( ) [inline]
 


Member Function Documentation

real GridFESummary::calculateErrorMeasure ( const GridFE & grid,
const int e,
const bool triangular_element ) const
 

in 2D the function calculates the inner radius of the element if the element is triangular, if the element is quadrilateral, the fraction of the diagonals in the element is calculated. In 3D the same calculations are made, but now for each plane in the element. The function is used in "gridDiagnostics".

void GridFESummary::gridDiagnostics ( const GridFE & grid,
MultipleReporter & rep,
const VerbosityLevel verbosity_level )
 

analyze the grid given as argument. "MultipleReporter" makes a report of the results. The verbosity level decides how detailed the report will be. The choices are "COMPACT", "EXTENDED" or "DETAILED". Several measurements are made on the triangular and quadrilateral elements. These are extreme measures and cumulative distribution of the angles, the inner radius of the triangular elements and the fraction of the diagonals in the quadrilateral elements.


Member Data Documentation

Histogram GridFESummary::diag_frac_cum_hist_q
 

Extremes GridFESummary::diagonal_frac_q
 

Histogram GridFESummary::inner_radius_cum_hist_t
 

Extremes GridFESummary::inner_radius_t
 

Histogram GridFESummary::max_ang_cum_hist_q
 

Histogram GridFESummary::max_ang_cum_hist_t
 

Extremes GridFESummary::max_angles_q
 

Extremes GridFESummary::max_angles_t
 

Histogram GridFESummary::min_ang_cum_hist_q
 

Histogram GridFESummary::min_ang_cum_hist_t
 

Extremes GridFESummary::min_angles_q
 

Extremes GridFESummary::min_angles_t
 


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.