p4est  2.8.7
p4est is a software library for parallel adaptive mesh refinement.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
p4est_wrap Struct Reference

Wrapping a p4est object for an alternative API. More...

#include <p4est_wrap.h>

Collaboration diagram for p4est_wrap:
Collaboration graph
[legend]

Data Fields

p4est_wrap_params_t params
 
sc_refcount_t conn_rc
 This reference counter is a workaround for internal use only. More...
 
p4est_connectivity_tconn
 
struct p4est_wrapconn_owner
 
int p4est_dim
 
int p4est_half
 
int p4est_faces
 
int p4est_children
 
p4est_tp4est
 p4est->user_pointer is used internally
 
sc_array_t * newly_refined
 Indices of quadrants refined during most recent p4est_wrap_adapt.
 
sc_array_t * newly_coarsened
 Indices of quadrants coarsened during most recent p4est_wrap_adapt.
 
int weight_exponent
 
uint8_t * flags
 
uint8_t * temp_flags
 
p4est_locidx_t num_refine_flags
 
p4est_locidx_t inside_counter
 
p4est_locidx_t num_replaced
 
p4est_gloidx_told_global_first_quadrant
 
p4est_ghost_tghost
 
p4est_mesh_tmesh
 
p4est_ghost_tghost_aux
 
p4est_mesh_tmesh_aux
 
int match_aux
 

Detailed Description

Wrapping a p4est object for an alternative API.

Field Documentation

◆ conn_rc

sc_refcount_t p4est_wrap::conn_rc

This reference counter is a workaround for internal use only.

Until we have refcounting/copy-on-write for the connectivity, we count the references to conn by copies of this wrap structure. There must be no external references left when this wrap is destroyed.


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