59 while ( ++k < mesh->nt );
64 for(k=
mesh->
nenil; k<=mesh->ntmax-1; k++){
82 fprintf(stdout,
" ** SETTING STRUCTURE\n");
88 fprintf(stderr,
" Exit program.\n");
120 if ( !
mesh->
na )
return 1;
133 for (k=1; k<=
mesh->
na; k++)
137 for (k=1; k<=
mesh->
nt; k++) {
139 if ( !
MG_EOK(pt) )
continue;
141 for (i=0; i<3; i++) {
179 printf(
" # Error: %s: Not enough memory to allocate edge hash table",__func__);
184 for (k=1; k<=
mesh->
nt; k++) {
186 if ( !
MG_EOK(pt) )
continue;
188 for ( i=0; i<3; ++i ) {
193 printf(
" # Error: %s: Lack of memory.",__func__);
203 for (k=1; k<=
mesh->
nt; k++) {
205 if ( !
MG_EOK(pt) )
continue;
207 for (i=0; i<3; i++) {
int MMG5_mmgHashTria(MMG5_pMesh mesh, MMG5_int *adjt, MMG5_Hash *hash, int chkISO)
int MMG5_hashEdgeTag(MMG5_pMesh mesh, MMG5_Hash *hash, MMG5_int a, MMG5_int b, uint16_t tag)
int MMG5_hashNew(MMG5_pMesh mesh, MMG5_Hash *hash, MMG5_int hsiz, MMG5_int hmax)
MMG5_int MMG5_hashGet(MMG5_Hash *hash, MMG5_int a, MMG5_int b)
int MMG5_hashEdge(MMG5_pMesh mesh, MMG5_Hash *hash, MMG5_int a, MMG5_int b, MMG5_int k)
int MMGS_assignEdge(MMG5_pMesh mesh)
int MMGS_bdryUpdate(MMG5_pMesh mesh)
int MMGS_hashTria(MMG5_pMesh mesh)
static int paktri(MMG5_pMesh mesh)
int MMGS_delElt(MMG5_pMesh mesh, MMG5_int iel)
#define MMG5_SAFE_CALLOC(ptr, size, type, law)
#define MMG5_ADD_MEM(mesh, size, message, law)
static const uint8_t MMG5_iprv2[3]
static const uint8_t MMG5_inxt2[6]
#define MMG5_DEL_MEM(mesh, ptr)
Structure to store edges of am MMG mesh.
Identic as MMG5_HGeom but use MMG5_hedge to store edges instead of MMG5_hgeom (memory economy).
Structure to store triangles of a MMG mesh.
Used to hash edges (memory economy compared to MMG5_hgeom).