Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Types | List of all members
RefinementPossibilities< 1 > Struct Template Reference

#include <geometry_info.h>

Public Types

enum  Possibilities { no_refinement = 0, cut_x = 1, isotropic_refinement = cut_x }
 

Detailed Description

template<>
struct RefinementPossibilities< 1 >

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

This specialization is used for dim=1, where it offers refinement in x-direction.

Author
Ralf Hartmann, 2005, Wolfgang Bangerth, 2007

Definition at line 100 of file geometry_info.h.

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.

Definition at line 136 of file geometry_info.h.


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