p4est 2.8.7.456-de8c6
p4est is a software library for parallel adaptive mesh refinement.
Loading...
Searching...
No Matches
Data Fields
p4est_tnodes Struct Reference

Lookup table structure defining a conforming triangle mesh. More...

#include <p4est_tnodes.h>

Data Fields

int mpisize
 Number of parallel processes.
 
int Qdegree
 Degree of original lnodes.
 
int Pdegree
 Degree of simplex space.
 
p4est_gloidx_t global_toffset
 Global triangle offset for the current process.
 
p4est_gloidx_t global_tcount
 Global triangle count.
 
p4est_locidx_t * local_tcount
 Triangle count for each process (has mpisize entries).
 
p4est_locidx_t * local_element_offset
 Offsets into local triangles per element and one beyond.
 
sc_array_t * simplex_level
 Simplex level l as an int8_t, reference volume 2**{-l} / 2.
 
sc_array_t * simplices
 Vertex indices of local simplices.
 
sc_array_t * element_bits
 For each local element, one or four bytes of flag bits.
 

Detailed Description

Lookup table structure defining a conforming triangle mesh.

Trying to conform to latest status of paper repository:

7c96f3bbefad364e3fa657272bca757d13d82a82
d43b2e54f939b186ef765c65638fde2fe792aa55
6bc25f04355eef8d73ec53bdcf6f5915a5748559
711e76748721665bdebb3d5f0bfd53dbd1702a8e

In the meantime, we have added a Q2 recursive bisection construction that works in both 2D and 3D and is identical to a Q2-via-Q1 method. Starting a fresh paper repository for the latest writeup:

6db206b36bcbc3f602bfce39ef03756b9cc2c845
63402d42f575eab6b201206e089fcb05e538da80
3ebb195e4cefebdb993b3f30f28603e7dbd277b0
2ec5cf52f7da2159aa983e6c34ffb3e1c13f741b

Field Documentation

◆ element_bits

sc_array_t* p4est_tnodes::element_bits

For each local element, one or four bytes of flag bits.

For degree 1, there is one byte per local element storing 2 bits. For degree 2, there are four bytes per local element of this kind. A bit is set if the corresponding elementary simplex exists. Simplices may be omitted at a hanging face.

◆ local_element_offset

p4est_locidx_t* p4est_tnodes::local_element_offset

Offsets into local triangles per element and one beyond.

The number of local elements is the array length of element_bits.

◆ simplices

sc_array_t* p4est_tnodes::simplices

Vertex indices of local simplices.

Each array entry holds 3 int8_t variables.


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