Code_Saturne
CFD tool
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
ecs_table_def.c File Reference
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "ecs_elt_typ_liste.h"
#include "ecs_def.h"
#include "ecs_mem.h"
#include "ecs_tab.h"
#include "ecs_table.h"
#include "ecs_table_def.h"
#include "ecs_table_priv.h"

Macros

#define ECS_LOC_LNG_MAX_NOM_TYP   11
 
#define FLT_MAX   HUGE_VAL
 
#define ECS_LOC_PRODUIT_VECTORIEL(prod_vect, vect1, vect2)
 
#define ECS_LOC_PRODUIT_SCALAIRE(vect1, vect2)
 
#define ECS_LOC_MODULE(vect)   sqrt(vect[0] * vect[0] + vect[1] * vect[1] + vect[2] * vect[2])
 
#define ECS_LOC_DETERMINANT(vect1, vect2, vect3)
 
#define ECS_LOC_INIT_VECT(vect, i, j)
 
#define ECS_LOC_INIT_VECT(vect, i, j)
 
#define ECS_LOC_PERMUTE(i, j)
 
#define ECS_LOC_INIT_VECT(vect, i, j)
 
#define ECS_LOC_PERMUTE(i, j)
 
#define ECS_LOC_INIT_VECT(vect, i, j)
 
#define ECS_LOC_PERMUTE(i, j)
 
#define ECS_LOC_INIT_VECT(vect, i, j)
 
#define ECS_LOC_PERMUTE(i, j)
 

Functions

ecs_tab_int_t ecs_table_def__trie_typ (ecs_table_t *this_table_def, int dim_elt)
 
void ecs_table_def__decompose_cel (ecs_table_t **table_def_fac, ecs_table_t *table_def_cel)
 
ecs_tab_int_t ecs_table_def__fusionne (ecs_table_t *table_def, size_t *nbr_elt_cpct, ecs_tab_int_t *signe_elt)
 
ecs_tab_int_t ecs_table_def__liste_cel_fac (const size_t nbr_fac, ecs_table_t *table_def_cel, const ecs_tab_int_t liste_fac)
 
void ecs_table_def__remplace_ref (ecs_table_t *table_def, ecs_tab_int_t *tab_old_new)
 
void ecs_table_def__cree_masque (bool sselt_select[], ecs_table_t *table_def_elt)
 
void ecs_table_def__nettoie_nodal (size_t *n_vertices, ecs_coord_t **vtx_coords, ecs_table_t *table_def_fac, ecs_table_t *table_def_cel)
 
void ecs_table_def__orient_nodal (ecs_coord_t *vtx_coords, ecs_table_t *table_def_fac, ecs_table_t *table_def_cel, ecs_tab_int_t *liste_cel_err, bool correc_orient)
 
void ecs_table_def__nettoie_som_fac (size_t *n_vertices, ecs_coord_t **vtx_coords, ecs_table_t *table_def_fac)
 
ecs_tab_int_t ecs_table_def__nettoie_fac (ecs_table_t *table_def_fac)
 
ecs_tab_int_t ecs_table_def__typ_fac_cel (ecs_table_t *table_def_cel, ecs_table_t *table_def_fac)
 
ecs_tab_int_t ecs_table_def__fac_cel (ecs_table_t *table_def_cel, ecs_table_t *table_def_fac)
 

Macro Definition Documentation

#define ECS_LOC_DETERMINANT (   vect1,
  vect2,
  vect3 
)
Value:
( \
((vect1[1] * vect2[2] - vect2[1] * vect1[2]) * vect3[0]) \
+ ((vect2[0] * vect1[2] - vect1[0] * vect2[2]) * vect3[1]) \
+ ((vect1[0] * vect2[1] - vect2[0] * vect1[1]) * vect3[2]) )
#define ECS_LOC_INIT_VECT (   vect,
  i,
 
)
Value:
( \
vect[0] = coord[((connect[j-1] - 1) * 3) ] \
- coord[((connect[i-1] - 1) * 3) ], \
vect[1] = coord[((connect[j-1] - 1) * 3) + 1] \
- coord[((connect[i-1] - 1) * 3) + 1], \
vect[2] = coord[((connect[j-1] - 1) * 3) + 2] \
- coord[((connect[i-1] - 1) * 3) + 2] )
#define ECS_LOC_INIT_VECT (   vect,
  i,
 
)
Value:
( \
vect[0] = coord[((connect[j-1] - 1) * 3) ] \
- coord[((connect[i-1] - 1) * 3) ], \
vect[1] = coord[((connect[j-1] - 1) * 3) + 1] \
- coord[((connect[i-1] - 1) * 3) + 1], \
vect[2] = coord[((connect[j-1] - 1) * 3) + 2] \
- coord[((connect[i-1] - 1) * 3) + 2] )
#define ECS_LOC_INIT_VECT (   vect,
  i,
 
)
Value:
( \
vect[0] = coord[((connect_tmp[j-1] - 1) * 3) ] \
- coord[((connect_tmp[i-1] - 1) * 3) ], \
vect[1] = coord[((connect_tmp[j-1] - 1) * 3) + 1] \
- coord[((connect_tmp[i-1] - 1) * 3) + 1], \
vect[2] = coord[((connect_tmp[j-1] - 1) * 3) + 2] \
- coord[((connect_tmp[i-1] - 1) * 3) + 2] )
#define ECS_LOC_INIT_VECT (   vect,
  i,
 
)
Value:
( \
vect[0] = coord[((connect[j-1] - 1) * 3) ] \
- coord[((connect[i-1] - 1) * 3) ], \
vect[1] = coord[((connect[j-1] - 1) * 3) + 1] \
- coord[((connect[i-1] - 1) * 3) + 1], \
vect[2] = coord[((connect[j-1] - 1) * 3) + 2] \
- coord[((connect[i-1] - 1) * 3) + 2] )
#define ECS_LOC_INIT_VECT (   vect,
  i,
 
)
Value:
( \
vect[0] = coord[((connect_tmp[j-1] - 1) * 3) ] \
- coord[((connect_tmp[i-1] - 1) * 3) ], \
vect[1] = coord[((connect_tmp[j-1] - 1) * 3) + 1] \
- coord[((connect_tmp[i-1] - 1) * 3) + 1], \
vect[2] = coord[((connect_tmp[j-1] - 1) * 3) + 2] \
- coord[((connect_tmp[i-1] - 1) * 3) + 2] )
#define ECS_LOC_LNG_MAX_NOM_TYP   11
#define ECS_LOC_MODULE (   vect)    sqrt(vect[0] * vect[0] + vect[1] * vect[1] + vect[2] * vect[2])
#define ECS_LOC_PERMUTE (   i,
 
)
Value:
( \
isom_tmp = connect[i-1], \
connect[i-1] = connect[j-1], \
connect[j-1] = isom_tmp )
#define ECS_LOC_PERMUTE (   i,
 
)
Value:
( \
isom_tmp = connect[i-1], \
connect_tmp[i-1] = connect_tmp[j-1], \
connect_tmp[j-1] = isom_tmp )
#define ECS_LOC_PERMUTE (   i,
 
)
Value:
( \
isom_tmp = connect[i-1], \
connect[i-1] = connect[j-1], \
connect[j-1] = isom_tmp )
#define ECS_LOC_PERMUTE (   i,
 
)
Value:
( \
isom_tmp = connect[i-1], \
connect_tmp[i-1] = connect_tmp[j-1], \
connect_tmp[j-1] = isom_tmp )
#define ECS_LOC_PRODUIT_SCALAIRE (   vect1,
  vect2 
)
Value:
( \
vect1[0] * vect2[0] + vect1[1] * vect2[1] + vect1[2] * vect2[2] )
#define ECS_LOC_PRODUIT_VECTORIEL (   prod_vect,
  vect1,
  vect2 
)
Value:
( \
prod_vect[0] = vect1[1] * vect2[2] - vect2[1] * vect1[2], \
prod_vect[1] = vect2[0] * vect1[2] - vect1[0] * vect2[2], \
prod_vect[2] = vect1[0] * vect2[1] - vect2[0] * vect1[1] )
#define FLT_MAX   HUGE_VAL

Function Documentation

void ecs_table_def__cree_masque ( bool  sselt_select[],
ecs_table_t table_def_elt 
)

Here is the call graph for this function:

void ecs_table_def__decompose_cel ( ecs_table_t **  table_def_fac,
ecs_table_t table_def_cel 
)

Here is the call graph for this function:

ecs_tab_int_t ecs_table_def__fac_cel ( ecs_table_t table_def_cel,
ecs_table_t table_def_fac 
)

Here is the call graph for this function:

ecs_tab_int_t ecs_table_def__fusionne ( ecs_table_t table_def,
size_t *  nbr_elt_cpct,
ecs_tab_int_t signe_elt 
)

Here is the call graph for this function:

ecs_tab_int_t ecs_table_def__liste_cel_fac ( const size_t  nbr_fac,
ecs_table_t table_def_cel,
const ecs_tab_int_t  liste_fac 
)

Here is the call graph for this function:

ecs_tab_int_t ecs_table_def__nettoie_fac ( ecs_table_t table_def_fac)

Here is the call graph for this function:

void ecs_table_def__nettoie_nodal ( size_t *  n_vertices,
ecs_coord_t **  vtx_coords,
ecs_table_t table_def_fac,
ecs_table_t table_def_cel 
)

Here is the call graph for this function:

void ecs_table_def__nettoie_som_fac ( size_t *  n_vertices,
ecs_coord_t **  vtx_coords,
ecs_table_t table_def_fac 
)

Here is the call graph for this function:

void ecs_table_def__orient_nodal ( ecs_coord_t vtx_coords,
ecs_table_t table_def_fac,
ecs_table_t table_def_cel,
ecs_tab_int_t liste_cel_err,
bool  correc_orient 
)

Here is the call graph for this function:

void ecs_table_def__remplace_ref ( ecs_table_t table_def,
ecs_tab_int_t tab_old_new 
)

Here is the call graph for this function:

ecs_tab_int_t ecs_table_def__trie_typ ( ecs_table_t this_table_def,
int  dim_elt 
)

Here is the call graph for this function:

ecs_tab_int_t ecs_table_def__typ_fac_cel ( ecs_table_t table_def_cel,
ecs_table_t table_def_fac 
)

Here is the call graph for this function: