Diffpack Documentation

(Functionality not available, requires installation of an additional Diffpack Toolbox)


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

GridRefAdm Class Reference

administrator class for adaptive grid refinement. More...

#include <GridRefAdm.h>

Inheritance diagram for GridRefAdm::

HandleId List of all members.

Public Methods

 GridRefAdm ()
 ~GridRefAdm ()
void define (MenuSystem &menu, int level)
void scan (MenuSystem &menu)
void detach ()
RefinementIndgetRefinementInd ()
RefinementInd_prmgetRefinementIndPrm ()
bool isCriteriaFulfilled (GridFE &grid)
void refine (Handle(GridFE) &grid)
void refine (Handle(GridFEAdB) &grid)
void refineAllElms (Handle(GridFEAdB) &grid)
void refine (Handle(GridFEAdT) &grid)
void refineAllElms (Handle(GridFEAdT) &grid)

Static Public Methods

void defineStatic (MenuSystem &menu, int level)

Public Attributes

real hi_limit
real lo_limit
real percentage
String ref_strategy
int refine_no
int refine_index
int max_levels
int max_nodes
int max_elements
real tolerance
Handle(RenumUnknownsband_reduction
String reduction_method
int sub_partition
bool smooth_grid
int max_smooth_no
int use_grid_nsteps
int grid_stepcount
String use_grid
bool mixed_refmethod
bool refine_all_elms
String reg_or_bisect
int element_order
int edge_ref

Protected Methods

void smoothGrid (Handle(GridFEAdB) &grid)
void markRefinedElms (VecSimple(int) &marked_elms, const VecSort(NUMT) &indicator, const String &ref_strategy, real percentage, real lo_limit, real hi_limit)
void mixedMarkRefinedElms (VecSimple(int) &marked_elms, const VecSort(NUMT) &indicator, const String &ref_strategy, real percentage, int nsd, int edge_ref, real lo_limit, real hi_limit)

Protected Attributes

VecSimple(int) marked_elms
Handle(RefinementIndcriterion
Handle(RefinementInd_prmparameters

Detailed Description

administrator class for adaptive grid refinement.

NAME: GridRefAdm - administrator class for adaptive grid refinement

DESCRIPTION:

The class acts as the interface to grid refinement and error estimation in a finite element simulator. "GridRefAdm" holds parameters and gives access to methods for working with adaptive grids. You should not need to work with the "GridFEAdB" or "GridFEAdT" interfaces directly; you can use "GridRefAdm" for everything that has to do with refinements and access the "GridFE" part of the grid objects directly for standard grid functionality.


Constructor & Destructor Documentation

GridRefAdm::GridRefAdm ( )
 

Initialization of parameters used in the refinement criteria is done through the "scan" function (which calls "RefinementInd_prm scan" - the "GridRefAdm" and "RefinementInd_prm" classes hold together all parameters used in grid refinements).

GridRefAdm::~GridRefAdm ( ) [inline]
 


Member Function Documentation

void GridRefAdm::define ( MenuSystem & menu,
int level ) [inline]
 

void GridRefAdm::defineStatic ( MenuSystem & menu,
int level ) [static]
 

void GridRefAdm::detach ( )
 

RefinementInd & GridRefAdm::getRefinementInd ( ) [inline]
 

RefinementInd_prm & GridRefAdm::getRefinementIndPrm ( ) [inline]
 

bool GridRefAdm::isCriteriaFulfilled ( GridFE & grid )
 

writes information about how the refinement criteria are reached by the current grid.

void GridRefAdm::markRefinedElms ( VecSimple(int) & marked_elms,
const VecSort(NUMT) & indicator,
const String & ref_strategy,
real percentage,
real lo_limit,
real hi_limit ) [protected]
 

void GridRefAdm::mixedMarkRefinedElms ( VecSimple(int) & marked_elms,
const VecSort(NUMT) & indicator,
const String & ref_strategy,
real percentage,
int nsd,
int edge_ref,
real lo_limit,
real hi_limit ) [protected]
 

void GridRefAdm::refine ( Handle(GridFEAdT) & grid )
 

See documentation of one of the overloaded functions.

void GridRefAdm::refine ( Handle(GridFEAdB) & grid )
 

See documentation of one of the overloaded functions.

void GridRefAdm::refine ( Handle(GridFE) & grid )
 

refines the grid object, based on the information in "GridRefAdm" and its "RefinementInd" object. This is the central function to call. It is the "refine" function that takes a "GridFE" handle that you should call (this "refine" function tests on the grid type and calls the another "refine" function with the relevant grid type.)

void GridRefAdm::refineAllElms ( Handle(GridFEAdT) & grid )
 

void GridRefAdm::refineAllElms ( Handle(GridFEAdB) & grid )
 

void GridRefAdm::scan ( MenuSystem & menu )
 

scans numerous parameters, required in this "GridRefAdm" class, from the menu, and the function also scans the answers from the "RefinementInd_prm" menu.

void GridRefAdm::smoothGrid ( Handle(GridFEAdB) & grid ) [protected]
 


Member Data Documentation

Handle(RenumUnknowns) GridRefAdm::band_reduction
 

Handle(RefinementInd) GridRefAdm::criterion [protected]
 

int GridRefAdm::edge_ref
 

int GridRefAdm::element_order
 

int GridRefAdm::grid_stepcount
 

real GridRefAdm::hi_limit
 

real GridRefAdm::lo_limit
 

VecSimple(int) GridRefAdm::marked_elms [protected]
 

int GridRefAdm::max_elements
 

int GridRefAdm::max_levels
 

int GridRefAdm::max_nodes
 

int GridRefAdm::max_smooth_no
 

bool GridRefAdm::mixed_refmethod
 

Handle(RefinementInd_prm) GridRefAdm::parameters [protected]
 

real GridRefAdm::percentage
 

String GridRefAdm::reduction_method
 

String GridRefAdm::ref_strategy
 

bool GridRefAdm::refine_all_elms
 

int GridRefAdm::refine_index
 

int GridRefAdm::refine_no
 

String GridRefAdm::reg_or_bisect
 

bool GridRefAdm::smooth_grid
 

int GridRefAdm::sub_partition
 

real GridRefAdm::tolerance
 

String GridRefAdm::use_grid
 

int GridRefAdm::use_grid_nsteps
 


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