Code_Saturne
CFD tool
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
fvm_nodal.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <bft_mem.h>
#include <bft_printf.h>
#include "fvm_defs.h"
#include "fvm_io_num.h"
#include "fvm_tesselation.h"
#include "cs_parall.h"
#include "fvm_nodal.h"
#include "fvm_nodal_priv.h"

Functions

fvm_nodal_section_tfvm_nodal_section_create (const fvm_element_t type)
 
fvm_nodal_section_tfvm_nodal_section_destroy (fvm_nodal_section_t *this_section)
 
void fvm_nodal_section_copy_on_write (fvm_nodal_section_t *this_section, _Bool copy_face_index, _Bool copy_face_num, _Bool copy_vertex_index, _Bool copy_vertex_num)
 
cs_gnum_t fvm_nodal_section_n_g_elements (const fvm_nodal_section_t *this_section)
 
cs_gnum_t fvm_nodal_n_g_vertices (const fvm_nodal_t *this_nodal)
 
void fvm_nodal_cell_face_connect (fvm_element_t element_type, int *n_faces, int n_face_vertices[6], int face_vertices[6][4])
 
fvm_nodal_tfvm_nodal_create (const char *name, int dim)
 
fvm_nodal_tfvm_nodal_destroy (fvm_nodal_t *this_nodal)
 
fvm_nodal_tfvm_nodal_copy (const fvm_nodal_t *this_nodal)
 
void fvm_nodal_reduce (fvm_nodal_t *this_nodal, int del_vertex_num)
 
void fvm_nodal_change_parent_num (fvm_nodal_t *this_nodal, const cs_lnum_t new_parent_num[], int entity_dim)
 
void fvm_nodal_remove_parent_num (fvm_nodal_t *this_nodal, int entity_dim)
 
void fvm_nodal_init_io_num (fvm_nodal_t *this_nodal, const cs_gnum_t parent_global_numbers[], int entity_dim)
 
void fvm_nodal_define_vertex_list (fvm_nodal_t *this_nodal, cs_lnum_t n_vertices, cs_lnum_t parent_vertex_num[])
 
void fvm_nodal_set_shared_vertices (fvm_nodal_t *this_nodal, const cs_coord_t vertex_coords[])
 
cs_coord_tfvm_nodal_transfer_vertices (fvm_nodal_t *this_nodal, cs_coord_t vertex_coords[])
 
void fvm_nodal_make_vertices_private (fvm_nodal_t *this_nodal)
 
void fvm_nodal_set_group_class_set (fvm_nodal_t *this_nodal, const fvm_group_class_set_t *gc_set)
 
const char * fvm_nodal_get_name (const fvm_nodal_t *this_nodal)
 
int fvm_nodal_get_dim (const fvm_nodal_t *this_nodal)
 
int fvm_nodal_get_max_entity_dim (const fvm_nodal_t *this_nodal)
 
cs_lnum_t fvm_nodal_get_n_entities (const fvm_nodal_t *this_nodal, int entity_dim)
 
cs_gnum_t fvm_nodal_get_n_g_vertices (const fvm_nodal_t *this_nodal)
 
cs_gnum_t fvm_nodal_get_n_g_elements (const fvm_nodal_t *this_nodal, fvm_element_t element_type)
 
cs_lnum_t fvm_nodal_get_n_elements (const fvm_nodal_t *this_nodal, fvm_element_t element_type)
 
void fvm_nodal_get_parent_num (const fvm_nodal_t *this_nodal, int entity_dim, cs_lnum_t parent_num[])
 
void fvm_nodal_tesselate (fvm_nodal_t *this_nodal, fvm_element_t type, cs_lnum_t *error_count)
 
fvm_nodal_tfvm_nodal_copy_edges (const char *name, const fvm_nodal_t *this_nodal)
 
void fvm_nodal_dump (const fvm_nodal_t *this_nodal)
 

Variables

const int fvm_nodal_n_vertices_element []
 

Function Documentation

void fvm_nodal_cell_face_connect ( fvm_element_t  element_type,
int *  n_faces,
int  n_face_vertices[6],
int  face_vertices[6][4] 
)
void fvm_nodal_change_parent_num ( fvm_nodal_t this_nodal,
const cs_lnum_t  new_parent_num[],
int  entity_dim 
)
fvm_nodal_t* fvm_nodal_copy ( const fvm_nodal_t this_nodal)

Here is the call graph for this function:

fvm_nodal_t* fvm_nodal_copy_edges ( const char *  name,
const fvm_nodal_t this_nodal 
)

Here is the call graph for this function:

fvm_nodal_t* fvm_nodal_create ( const char *  name,
int  dim 
)
void fvm_nodal_define_vertex_list ( fvm_nodal_t this_nodal,
cs_lnum_t  n_vertices,
cs_lnum_t  parent_vertex_num[] 
)
fvm_nodal_t* fvm_nodal_destroy ( fvm_nodal_t this_nodal)

Here is the call graph for this function:

void fvm_nodal_dump ( const fvm_nodal_t this_nodal)

Here is the call graph for this function:

int fvm_nodal_get_dim ( const fvm_nodal_t this_nodal)
int fvm_nodal_get_max_entity_dim ( const fvm_nodal_t this_nodal)
cs_lnum_t fvm_nodal_get_n_elements ( const fvm_nodal_t this_nodal,
fvm_element_t  element_type 
)
cs_lnum_t fvm_nodal_get_n_entities ( const fvm_nodal_t this_nodal,
int  entity_dim 
)
cs_gnum_t fvm_nodal_get_n_g_elements ( const fvm_nodal_t this_nodal,
fvm_element_t  element_type 
)

Here is the call graph for this function:

cs_gnum_t fvm_nodal_get_n_g_vertices ( const fvm_nodal_t this_nodal)

Here is the call graph for this function:

const char* fvm_nodal_get_name ( const fvm_nodal_t this_nodal)
void fvm_nodal_get_parent_num ( const fvm_nodal_t this_nodal,
int  entity_dim,
cs_lnum_t  parent_num[] 
)
void fvm_nodal_init_io_num ( fvm_nodal_t this_nodal,
const cs_gnum_t  parent_global_numbers[],
int  entity_dim 
)

Here is the call graph for this function:

void fvm_nodal_make_vertices_private ( fvm_nodal_t this_nodal)
cs_gnum_t fvm_nodal_n_g_vertices ( const fvm_nodal_t this_nodal)

Here is the call graph for this function:

void fvm_nodal_reduce ( fvm_nodal_t this_nodal,
int  del_vertex_num 
)

Here is the call graph for this function:

void fvm_nodal_remove_parent_num ( fvm_nodal_t this_nodal,
int  entity_dim 
)
void fvm_nodal_section_copy_on_write ( fvm_nodal_section_t this_section,
_Bool  copy_face_index,
_Bool  copy_face_num,
_Bool  copy_vertex_index,
_Bool  copy_vertex_num 
)
fvm_nodal_section_t* fvm_nodal_section_create ( const fvm_element_t  type)
fvm_nodal_section_t* fvm_nodal_section_destroy ( fvm_nodal_section_t this_section)

Here is the call graph for this function:

cs_gnum_t fvm_nodal_section_n_g_elements ( const fvm_nodal_section_t this_section)

Here is the call graph for this function:

void fvm_nodal_set_group_class_set ( fvm_nodal_t this_nodal,
const fvm_group_class_set_t gc_set 
)

Here is the call graph for this function:

void fvm_nodal_set_shared_vertices ( fvm_nodal_t this_nodal,
const cs_coord_t  vertex_coords[] 
)
void fvm_nodal_tesselate ( fvm_nodal_t this_nodal,
fvm_element_t  type,
cs_lnum_t error_count 
)

Here is the call graph for this function:

cs_coord_t* fvm_nodal_transfer_vertices ( fvm_nodal_t this_nodal,
cs_coord_t  vertex_coords[] 
)

Variable Documentation

const int fvm_nodal_n_vertices_element[]
Initial value:
= {2,
3,
4,
0,
4,
5,
6,
8,
0}