MFEM  v4.0
Finite element discretization library
 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 ()=default
 Refinement (int index, int type=7)

Public Attributes

int index
 Mesh element number. More...
char 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 34 of file ncmesh.hpp.

Constructor & Destructor Documentation

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

Definition at line 41 of file ncmesh.hpp.

Member Data Documentation

int mfem::Refinement::index

Mesh element number.

Definition at line 36 of file ncmesh.hpp.

char mfem::Refinement::ref_type

refinement XYZ bit mask (7 = full isotropic)

Definition at line 37 of file ncmesh.hpp.

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