|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_CDO_CONNECT_H__
2 #define __CS_CDO_CONNECT_H__
54 #define CS_CDO_CONNECT_VTX_SCAL 0
55 #define CS_CDO_CONNECT_VTX_VECT 1
56 #define CS_CDO_CONNECT_FACE_SP0 2
57 #define CS_CDO_CONNECT_FACE_VP0 3
58 #define CS_CDO_CONNECT_FACE_SP1 3
59 #define CS_CDO_CONNECT_FACE_SP2 4
60 #define CS_CDO_CONNECT_FACE_VHP0 3
61 #define CS_CDO_CONNECT_FACE_VHP1 5
62 #define CS_CDO_CONNECT_FACE_VHP2 6
64 #define CS_CDO_CONNECT_N_CASES 7
67 #define CS_TRIANGLE_CASE 3
153 const cs_lnum_t _2e0 = 2*f2e_ids[start_idx],
154 _2e1 = 2*f2e_ids[start_idx+1];
158 *v1 = e2v_ids[_2e0+1];
159 *v2 = ((tmp != *v0) && (tmp != *v1)) ? tmp : e2v_ids[_2e1+1];
int n_max_vbyf
Definition: cs_cdo_connect.h:109
cs_flag_t * cell_flag
Definition: cs_cdo_connect.h:94
int n_max_v2fc
Definition: cs_cdo_connect.h:110
struct _cs_interface_set_t cs_interface_set_t
Definition: cs_interface.h:61
cs_cdo_connect_t * cs_cdo_connect_init(cs_mesh_t *mesh, cs_flag_t vb_scheme_flag, cs_flag_t vcb_scheme_flag, cs_flag_t fb_scheme_flag, cs_flag_t hho_scheme_flag)
Allocate and define a new cs_cdo_connect_t structure Range sets and interface sets are allocated and ...
Definition: cs_cdo_connect.c:797
cs_adjacency_t * c2f
Definition: cs_cdo_connect.h:95
cs_adjacency_t * c2e
Definition: cs_cdo_connect.h:96
cs_lnum_t e_max_cell_range
Definition: cs_cdo_connect.h:102
cs_cdo_connect_t * cs_cdo_connect_free(cs_cdo_connect_t *connect)
Destroy a cs_cdo_connect_t structure.
Definition: cs_cdo_connect.c:967
#define END_C_DECLS
Definition: cs_defs.h:468
cs_adjacency_t * c2v
Definition: cs_cdo_connect.h:97
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
cs_adjacency_t * e2v
Definition: cs_cdo_connect.h:82
cs_lnum_t n_vertices
Definition: cs_cdo_connect.h:76
cs_adjacency_t * f2f
Definition: cs_cdo_connect.h:115
fvm_element_t
Definition: fvm_defs.h:48
void cs_cdo_connect_summary(const cs_cdo_connect_t *connect)
Summary of connectivity information.
Definition: cs_cdo_connect.c:1018
#define CS_CDO_CONNECT_N_CASES
Definition: cs_cdo_connect.h:64
cs_lnum_t v_max_cell_range
Definition: cs_cdo_connect.h:103
cs_adjacency_t * v2v
Definition: cs_cdo_connect.h:114
fvm_element_t * cell_type
Definition: cs_cdo_connect.h:93
cs_lnum_t n_cells
Definition: cs_cdo_connect.h:79
int n_max_vbyc
Definition: cs_cdo_connect.h:106
void cs_cdo_connect_dump(const cs_cdo_connect_t *connect)
Dump a cs_cdo_connect_t structure.
Definition: cs_cdo_connect.c:1105
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
Definition: cs_cdo_connect.h:74
Definition: cs_range_set.h:57
Definition: cs_mesh_adjacencies.h:90
static void cs_connect_get_next_3_vertices(const cs_lnum_t *f2e_ids, const cs_lnum_t *e2v_ids, const cs_lnum_t start_idx, cs_lnum_t *v0, cs_lnum_t *v1, cs_lnum_t *v2)
Get the next three vertices in a row from a face to edge connectivity and a edge to vertex connectivi...
Definition: cs_cdo_connect.h:146
cs_adjacency_t * f2c
Definition: cs_cdo_connect.h:85
int n_max_fbyc
Definition: cs_cdo_connect.h:108
cs_adjacency_t * bf2v
Definition: cs_cdo_connect.h:87
unsigned short int cs_flag_t
Definition: cs_defs.h:304
int n_max_v2ec
Definition: cs_cdo_connect.h:111
cs_lnum_t n_edges
Definition: cs_cdo_connect.h:77
cs_adjacency_t * if2v
Definition: cs_cdo_connect.h:89
int n_max_ebyc
Definition: cs_cdo_connect.h:107
cs_adjacency_t * f2e
Definition: cs_cdo_connect.h:86