My Project
programmer's documentation
Macros | Typedefs | Functions
fvm_tesselation.h File Reference
#include "cs_defs.h"
#include "fvm_defs.h"
#include "fvm_io_num.h"
Include dependency graph for fvm_tesselation.h:

Go to the source code of this file.

Macros

#define FVM_TESSELATION_N_SUB_TYPES_MAX   2
 

Typedefs

typedef struct _fvm_tesselation_t fvm_tesselation_t
 

Functions

fvm_tesselation_tfvm_tesselation_create (fvm_element_t element_type, cs_lnum_t n_elements, const cs_lnum_t face_index[], const cs_lnum_t face_num[], const cs_lnum_t vertex_index[], const cs_lnum_t vertex_num[], const fvm_io_num_t *global_element_num)
 
fvm_tesselation_tfvm_tesselation_destroy (fvm_tesselation_t *this_tesselation)
 
void fvm_tesselation_init (fvm_tesselation_t *this_tesselation, int dim, const cs_coord_t vertex_coords[], const cs_lnum_t parent_vertex_num[], cs_lnum_t *error_count)
 
void fvm_tesselation_reduce (fvm_tesselation_t *this_tesselation)
 
cs_lnum_t fvm_tesselation_n_elements (const fvm_tesselation_t *this_tesselation)
 
cs_gnum_t fvm_tesselation_n_g_vertices_add (const fvm_tesselation_t *this_tesselation)
 
cs_lnum_t fvm_tesselation_n_vertices_add (const fvm_tesselation_t *this_tesselation)
 
int fvm_tesselation_n_sub_types (const fvm_tesselation_t *this_tesselation)
 
fvm_element_t fvm_tesselation_sub_type (const fvm_tesselation_t *this_tesselation, int sub_type_id)
 
cs_lnum_t fvm_tesselation_n_sub_elements (const fvm_tesselation_t *this_tesselation, fvm_element_t sub_type)
 
void fvm_tesselation_get_global_size (const fvm_tesselation_t *this_tesselation, fvm_element_t sub_type, cs_gnum_t *n_sub_elements_glob, cs_lnum_t *n_sub_elements_max)
 
const fvm_io_num_tfvm_tesselation_global_vertex_num (const fvm_tesselation_t *this_tesselation)
 
void fvm_tesselation_vertex_coords (const fvm_tesselation_t *this_tesselation, cs_coord_t vertex_coords[])
 
const cs_lnum_tfvm_tesselation_sub_elt_index (const fvm_tesselation_t *this_tesselation, fvm_element_t sub_type)
 
cs_lnum_t fvm_tesselation_decode (const fvm_tesselation_t *this_tesselation, fvm_element_t connect_type, cs_lnum_t start_id, cs_lnum_t buffer_limit, cs_lnum_t extra_vertex_base, cs_lnum_t vertex_num[])
 
void fvm_tesselation_distribute (const fvm_tesselation_t *this_tesselation, fvm_element_t connect_type, cs_lnum_t start_id, cs_lnum_t end_id, size_t size, void *data)
 
void fvm_tesselation_vertex_values (const fvm_tesselation_t *this_tesselation, int src_dim, int src_dim_shift, int dest_dim, cs_lnum_t start_id, cs_lnum_t end_id, cs_interlace_t src_interlace, cs_datatype_t src_datatype, cs_datatype_t dest_datatype, int n_parent_lists, const cs_lnum_t parent_num_shift[], const cs_lnum_t parent_num[], const void *const src_data[], void *const dest_data)
 
void fvm_tesselation_dump (const fvm_tesselation_t *this_tesselation)
 

Macro Definition Documentation

◆ FVM_TESSELATION_N_SUB_TYPES_MAX

#define FVM_TESSELATION_N_SUB_TYPES_MAX   2

Typedef Documentation

◆ fvm_tesselation_t

typedef struct _fvm_tesselation_t fvm_tesselation_t

Function Documentation

◆ fvm_tesselation_create()

fvm_tesselation_t* fvm_tesselation_create ( fvm_element_t  element_type,
cs_lnum_t  n_elements,
const cs_lnum_t  face_index[],
const cs_lnum_t  face_num[],
const cs_lnum_t  vertex_index[],
const cs_lnum_t  vertex_num[],
const fvm_io_num_t global_element_num 
)

◆ fvm_tesselation_decode()

cs_lnum_t fvm_tesselation_decode ( const fvm_tesselation_t this_tesselation,
fvm_element_t  connect_type,
cs_lnum_t  start_id,
cs_lnum_t  buffer_limit,
cs_lnum_t  extra_vertex_base,
cs_lnum_t  vertex_num[] 
)

◆ fvm_tesselation_destroy()

fvm_tesselation_t* fvm_tesselation_destroy ( fvm_tesselation_t this_tesselation)

◆ fvm_tesselation_distribute()

void fvm_tesselation_distribute ( const fvm_tesselation_t this_tesselation,
fvm_element_t  connect_type,
cs_lnum_t  start_id,
cs_lnum_t  end_id,
size_t  size,
void *  data 
)

◆ fvm_tesselation_dump()

void fvm_tesselation_dump ( const fvm_tesselation_t this_tesselation)

◆ fvm_tesselation_get_global_size()

void fvm_tesselation_get_global_size ( const fvm_tesselation_t this_tesselation,
fvm_element_t  sub_type,
cs_gnum_t n_sub_elements_glob,
cs_lnum_t n_sub_elements_max 
)

◆ fvm_tesselation_global_vertex_num()

const fvm_io_num_t* fvm_tesselation_global_vertex_num ( const fvm_tesselation_t this_tesselation)

◆ fvm_tesselation_init()

void fvm_tesselation_init ( fvm_tesselation_t this_tesselation,
int  dim,
const cs_coord_t  vertex_coords[],
const cs_lnum_t  parent_vertex_num[],
cs_lnum_t error_count 
)

◆ fvm_tesselation_n_elements()

cs_lnum_t fvm_tesselation_n_elements ( const fvm_tesselation_t this_tesselation)

◆ fvm_tesselation_n_g_vertices_add()

cs_gnum_t fvm_tesselation_n_g_vertices_add ( const fvm_tesselation_t this_tesselation)

◆ fvm_tesselation_n_sub_elements()

cs_lnum_t fvm_tesselation_n_sub_elements ( const fvm_tesselation_t this_tesselation,
fvm_element_t  sub_type 
)

◆ fvm_tesselation_n_sub_types()

int fvm_tesselation_n_sub_types ( const fvm_tesselation_t this_tesselation)

◆ fvm_tesselation_n_vertices_add()

cs_lnum_t fvm_tesselation_n_vertices_add ( const fvm_tesselation_t this_tesselation)

◆ fvm_tesselation_reduce()

void fvm_tesselation_reduce ( fvm_tesselation_t this_tesselation)

◆ fvm_tesselation_sub_elt_index()

const cs_lnum_t* fvm_tesselation_sub_elt_index ( const fvm_tesselation_t this_tesselation,
fvm_element_t  sub_type 
)

◆ fvm_tesselation_sub_type()

fvm_element_t fvm_tesselation_sub_type ( const fvm_tesselation_t this_tesselation,
int  sub_type_id 
)

◆ fvm_tesselation_vertex_coords()

void fvm_tesselation_vertex_coords ( const fvm_tesselation_t this_tesselation,
cs_coord_t  vertex_coords[] 
)

◆ fvm_tesselation_vertex_values()

void fvm_tesselation_vertex_values ( const fvm_tesselation_t this_tesselation,
int  src_dim,
int  src_dim_shift,
int  dest_dim,
cs_lnum_t  start_id,
cs_lnum_t  end_id,
cs_interlace_t  src_interlace,
cs_datatype_t  src_datatype,
cs_datatype_t  dest_datatype,
int  n_parent_lists,
const cs_lnum_t  parent_num_shift[],
const cs_lnum_t  parent_num[],
const void *const  src_data[],
void *const  dest_data 
)