My Project
programmer's documentation
Data Structures | Enumerations | Functions
cs_join_util.h File Reference
#include <stdio.h>
#include "fvm_defs.h"
#include "fvm_periodicity.h"
#include "cs_base.h"
#include "cs_selector.h"
#include "cs_timer.h"
Include dependency graph for cs_join_util.h:

Go to the source code of this file.

Data Structures

struct  cs_join_stats_t
 
struct  cs_join_param_t
 

Enumerations

enum  cs_join_type_t { CS_JOIN_TYPE_NULL, CS_JOIN_TYPE_CONFORMING, CS_JOIN_TYPE_NON_CONFORMING }
 
enum  cs_join_state_t {
  CS_JOIN_STATE_UNDEF, CS_JOIN_STATE_NEW, CS_JOIN_STATE_ORIGIN, CS_JOIN_STATE_PERIO,
  CS_JOIN_STATE_MERGE, CS_JOIN_STATE_PERIO_MERGE, CS_JOIN_STATE_SPLIT
}
 

Functions

cs_join_t * cs_join_create (int join_number, const char *sel_criteria, float fraction, float plane, fvm_periodicity_type_t perio_type, double perio_matrix[3][4], int verbosity, int visualization, bool preprocessing)
 
void cs_join_destroy (cs_join_t **join)
 
cs_join_select_t * cs_join_select_create (const char *selection_criteria, fvm_periodicity_type_t perio_type, int verbosity)
 
void cs_join_select_destroy (cs_join_param_t param, cs_join_select_t **join_select)
 
void cs_join_extract_vertices (cs_lnum_t n_select_faces, const cs_lnum_t *select_faces, const cs_lnum_t *f2v_idx, const cs_lnum_t *f2v_lst, cs_lnum_t n_vertices, cs_lnum_t *n_select_vertices, cs_lnum_t *select_vertices[])
 
void cs_join_clean_selection (cs_lnum_t *n_elts, cs_lnum_t *elts[], cs_lnum_t n_ref_elts, cs_lnum_t ref_elts[])
 
void cs_join_build_edges_idx (cs_lnum_t n_faces, const cs_lnum_t faces[], const cs_lnum_t f2v_idx[], const cs_lnum_t f2v_lst[], cs_lnum_t v2v_idx[])
 
void cs_join_build_edges_lst (cs_lnum_t n_faces, const cs_lnum_t faces[], const cs_lnum_t f2v_idx[], const cs_lnum_t f2v_lst[], cs_lnum_t count[], const cs_lnum_t v2v_idx[], cs_lnum_t v2v_lst[])
 

Enumeration Type Documentation

◆ cs_join_state_t

Enumerator
CS_JOIN_STATE_UNDEF 
CS_JOIN_STATE_NEW 
CS_JOIN_STATE_ORIGIN 
CS_JOIN_STATE_PERIO 
CS_JOIN_STATE_MERGE 
CS_JOIN_STATE_PERIO_MERGE 
CS_JOIN_STATE_SPLIT 

◆ cs_join_type_t

Enumerator
CS_JOIN_TYPE_NULL 
CS_JOIN_TYPE_CONFORMING 
CS_JOIN_TYPE_NON_CONFORMING 

Function Documentation

◆ cs_join_build_edges_idx()

void cs_join_build_edges_idx ( cs_lnum_t  n_faces,
const cs_lnum_t  faces[],
const cs_lnum_t  f2v_idx[],
const cs_lnum_t  f2v_lst[],
cs_lnum_t  v2v_idx[] 
)

◆ cs_join_build_edges_lst()

void cs_join_build_edges_lst ( cs_lnum_t  n_faces,
const cs_lnum_t  faces[],
const cs_lnum_t  f2v_idx[],
const cs_lnum_t  f2v_lst[],
cs_lnum_t  count[],
const cs_lnum_t  v2v_idx[],
cs_lnum_t  v2v_lst[] 
)

◆ cs_join_clean_selection()

void cs_join_clean_selection ( cs_lnum_t n_elts,
cs_lnum_t elts[],
cs_lnum_t  n_ref_elts,
cs_lnum_t  ref_elts[] 
)

◆ cs_join_create()

cs_join_t* cs_join_create ( int  join_number,
const char *  sel_criteria,
float  fraction,
float  plane,
fvm_periodicity_type_t  perio_type,
double  perio_matrix[3][4],
int  verbosity,
int  visualization,
bool  preprocessing 
)

◆ cs_join_destroy()

void cs_join_destroy ( cs_join_t **  join)

◆ cs_join_extract_vertices()

void cs_join_extract_vertices ( cs_lnum_t  n_select_faces,
const cs_lnum_t select_faces,
const cs_lnum_t f2v_idx,
const cs_lnum_t f2v_lst,
cs_lnum_t  n_vertices,
cs_lnum_t n_select_vertices,
cs_lnum_t select_vertices[] 
)

◆ cs_join_select_create()

cs_join_select_t* cs_join_select_create ( const char *  selection_criteria,
fvm_periodicity_type_t  perio_type,
int  verbosity 
)

◆ cs_join_select_destroy()

void cs_join_select_destroy ( cs_join_param_t  param,
cs_join_select_t **  join_select 
)