Mmg
Simplicial remeshers (mesh adaptation, isovalue discretization, lagrangian movement)
Data Fields
MMG5_Tetra Struct Reference

Structure to store tetrahedra of an MMG mesh. More...

#include <libmmgtypes.h>

Data Fields

double qual
 
MMG5_int v [4]
 
MMG5_int ref
 
MMG5_int base
 
MMG5_int mark
 
MMG5_int xt
 
MMG5_int flag
 
uint16_t tag
 

Detailed Description

Structure to store tetrahedra of an MMG mesh.

Remarks
The numbering conventions are illustrated below. Face i lies opposite to vertex i.
*      Vertices                     Edges                       Faces           *
*           3                          .                           .            *
*         ,/|`\                      ,/|`\                       ,/|`\          *
*       ,/  |  `\                  ,/  |  `\                   ,/  |  `\        *
*     ,/    '.   `\              ,2    '.   `5               ,/    '.   `\      *
*   ,/       |     `\          ,/       4     `\           ,/       1     `\    *
* ,/         |       `\      ,/         |       `\       ,/         |   0   `\  *
* 0-----------'.--------2    .--------1--'.--------.     .------2---'.--------. *
* `\.         |      ,/      `\.         |      ,/       `\.         |      ,/  *
*    `\.      |    ,/           `\.      |    ,3            `\.     3|    ,/    *
*       `\.   '. ,/                `0.   '. ,/                 `\.   '. ,/      *
*          `\. |/                     `\. |/                      `\. |/        *
*             `1                         `.                          `.         *
* 

Definition at line 407 of file libmmgtypes.h.

Field Documentation

◆ base

MMG5_int MMG5_Tetra::base

Definition at line 411 of file libmmgtypes.h.

◆ flag

MMG5_int MMG5_Tetra::flag

Definition at line 416 of file libmmgtypes.h.

◆ mark

MMG5_int MMG5_Tetra::mark

Used for delaunay

Definition at line 412 of file libmmgtypes.h.

◆ qual

double MMG5_Tetra::qual

Quality of the element

Definition at line 408 of file libmmgtypes.h.

◆ ref

MMG5_int MMG5_Tetra::ref

Reference of the tetrahedron

Definition at line 410 of file libmmgtypes.h.

◆ tag

uint16_t MMG5_Tetra::tag

Definition at line 417 of file libmmgtypes.h.

◆ v

MMG5_int MMG5_Tetra::v[4]

Vertices of the tetrahedron

Definition at line 409 of file libmmgtypes.h.

◆ xt

MMG5_int MMG5_Tetra::xt

Index of the surface MMG5_xTetra associated to the tetrahedron (only for tetrahedra that are adjacent to surfaces)

Definition at line 413 of file libmmgtypes.h.


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