MFEM  v3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
mfem::Refinement Struct Reference

#include <ncmesh.hpp>

Public Member Functions

 Refinement (int index, int type=7)

Public Attributes

int index
 Mesh element number. More...
int ref_type
 refinement XYZ bit mask (7 = full isotropic) More...

Detailed Description

Represents the index of an element to refine, plus a refinement type. The refinement type is needed for anisotropic refinement of quads and hexes. Bits 0,1 and 2 of 'ref_type' specify whether the element should be split in the X, Y and Z directions, respectively (Z is ignored for quads).

Definition at line 35 of file ncmesh.hpp.

Constructor & Destructor Documentation

mfem::Refinement::Refinement ( int  index,
int  type = 7 

Definition at line 40 of file ncmesh.hpp.

Member Data Documentation

int mfem::Refinement::index

Mesh element number.

Definition at line 37 of file ncmesh.hpp.

int mfem::Refinement::ref_type

refinement XYZ bit mask (7 = full isotropic)

Definition at line 38 of file ncmesh.hpp.

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