RefinementPossibilities< 3 > Struct Template Reference

List of all members.

Public Types

enum  Possibilities {
  no_refinement = 0, cut_x = 1, cut_y = 2, cut_xy = cut_x | cut_y,
  cut_z = 4, cut_xz = cut_x | cut_z, cut_yz = cut_y | cut_z, cut_xyz = cut_x | cut_y | cut_z,
  isotropic_refinement = cut_xyz
}

Detailed Description

template<>
struct RefinementPossibilities< 3 >

A class that provides possible choices for isotropic and anisotropic refinement flags in the current space dimension.

This specialization is used for dim=3, where it offers refinement in x-, y- and z-direction separately, as well as combinations of these and isotropic refinement in all directions at the same time.

Author:
Ralf Hartmann, 2005, Wolfgang Bangerth, 2007

Member Enumeration Documentation

Possible values for refinement cases in the current dimension.

Note the construction of the values: the lowest bit describes a cut of the x-axis, the second to lowest bit corresponds to a cut of the y-axis and the third to lowest bit corresponds to a cut of the z-axis. Thus, the following relations hold (among others):

 cut_xy  == cut_x  | cut_y
 cut_xyz == cut_xy | cut_xz
 cut_x   == cut_xy & cut_xz

Only those cuts that are reasonable in a given space dimension are offered, of course.

In addition, the tag isotropic_refinement denotes isotropic refinement in the space dimension selected by the template argument of this class.

Enumerator:
no_refinement 
cut_x 
cut_y 
cut_xy 
cut_z 
cut_xz 
cut_yz 
cut_xyz 
isotropic_refinement 

The documentation for this struct was generated from the following file:

deal.II documentation generated on Mon Nov 23 22:58:03 2009 by doxygen 1.6.1