Code_Saturne
CFD tool
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Enumerations | Functions
cs_post.h File Reference
#include <fvm_nodal.h>
#include <fvm_writer.h>
#include "cs_base.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CS_POST_ON_LOCATION
 
#define CS_POST_BOUNDARY_NR
 

Typedefs

typedef void( cs_post_elt_select_t )(void *input, cs_lnum_t *n_elts, cs_lnum_t **elt_list)
 
typedef void( cs_post_time_dep_output_t )(void *input, int nt_cur_abs, cs_real_t t_cur_abs)
 
typedef void( cs_post_time_mesh_dep_output_t )(void *input, int mesh_id, int cat_id, int ent_flag[3], cs_lnum_t n_cells, cs_lnum_t n_i_faces, cs_lnum_t n_b_faces, const cs_lnum_t cell_list[], const cs_lnum_t i_face_list[], const cs_lnum_t b_face_list[], int nt_cur_abs, cs_real_t t_cur_abs)
 

Enumerations

enum  cs_post_type_t {
  CS_POST_TYPE_cs_int_t, CS_POST_TYPE_cs_real_t, CS_POST_TYPE_int, CS_POST_TYPE_float,
  CS_POST_TYPE_double
}
 

Functions

void pstdfm (void)
 
void pstntc (const cs_int_t *ntmabs, const cs_int_t *ntcabs, const cs_real_t *ttcabs)
 
void pstact (const cs_int_t *numwri, const cs_int_t *indact)
 
void pstema (const cs_int_t *ntcabs, const cs_real_t *ttcabs)
 
void pstev1 (const cs_int_t *nummai, const char *nomvar, const cs_int_t *lnmvar, const cs_int_t *idimt, const cs_int_t *ientla, const cs_int_t *ivarpr, const cs_int_t *ntcabs, const cs_real_t *ttcabs, const cs_real_t varcel[], const cs_real_t varfac[], const cs_real_t varfbr[] CS_ARGF_SUPP_CHAINE)
 
void pstusn (const cs_int_t *ntmabs, const cs_int_t *ntcabs, const cs_real_t *ttcabs)
 
void cs_post_set_deformable (void)
 
void cs_post_define_writer (int writer_id, const char *case_name, const char *dir_name, const char *fmt_name, const char *fmt_opts, fvm_writer_time_dep_t time_dep, bool output_at_end, int frequency_n, double frequency_t)
 
void cs_post_define_volume_mesh (int mesh_id, const char *mesh_name, const char *cell_criteria, bool add_groups, bool auto_variables, int n_writers, const int writer_ids[])
 
void cs_post_define_volume_mesh_by_func (int mesh_id, const char *mesh_name, cs_post_elt_select_t *cell_select_func, void *cell_select_input, bool time_varying, bool add_groups, bool auto_variables, int n_writers, const int writer_ids[])
 
void cs_post_define_surface_mesh (int mesh_id, const char *mesh_name, const char *i_face_criteria, const char *b_face_criteria, bool add_groups, bool auto_variables, int n_writers, const int writer_ids[])
 
void cs_post_define_surface_mesh_by_func (int mesh_id, const char *mesh_name, cs_post_elt_select_t *i_face_select_func, cs_post_elt_select_t *b_face_select_func, void *i_face_select_input, void *b_face_select_input, bool time_varying, bool add_groups, bool auto_variables, int n_writers, const int writer_ids[])
 
void cs_post_define_alias_mesh (int mesh_id, int aliased_mesh_id, bool auto_variables, int n_writers, const int writer_ids[])
 
void cs_post_define_existing_mesh (int mesh_id, fvm_nodal_t *exp_mesh, int dim_shift, bool transfer, bool auto_variables, int n_writers, const int writer_ids[])
 
void cs_post_define_edges_mesh (int mesh_id, int base_mesh_id, int n_writers, const int writer_ids[])
 
const int * cs_post_mesh_get_ent_flag (int mesh_id)
 
cs_lnum_t cs_post_mesh_get_n_cells (int mesh_id)
 
void cs_post_mesh_get_cell_ids (int mesh_id, cs_lnum_t *cell_ids)
 
cs_lnum_t cs_post_mesh_get_n_i_faces (int mesh_id)
 
void cs_post_mesh_get_i_face_ids (int mesh_id, cs_lnum_t i_face_ids[])
 
cs_lnum_t cs_post_mesh_get_n_b_faces (int mesh_id)
 
void cs_post_mesh_get_b_face_ids (int mesh_id, cs_lnum_t b_face_ids[])
 
void cs_post_free_mesh (int mesh_id)
 
bool cs_post_writer_exists (int writer_id)
 
fvm_writer_tcs_post_get_writer (int writer_id)
 
bool cs_post_mesh_exists (int mesh_id)
 
void cs_post_modify_mesh (int mesh_id, cs_lnum_t n_cells, cs_lnum_t n_i_faces, cs_lnum_t n_b_faces, cs_lnum_t cell_list[], cs_lnum_t i_face_list[], cs_lnum_t b_face_list[])
 
const char * cs_post_get_default_format (void)
 
const char * cs_post_get_default_format_options (void)
 
int cs_post_get_free_writer_id (void)
 
int cs_post_get_free_mesh_id (void)
 
void cs_post_activate_if_default (int nt_max_abs, int nt_cur_abs, double t_cur_abs)
 
void cs_post_activate_writer (int writer_id, bool activate)
 
void cs_post_write_meshes (int nt_cur_abs, double t_cur_abs)
 
void cs_post_write_var (int mesh_id, const char *var_name, int var_dim, bool interlace, bool use_parent, cs_post_type_t var_type, int nt_cur_abs, double t_cur_abs, const void *cel_vals, const void *i_face_vals, const void *b_face_vals)
 
void cs_post_write_vertex_var (int mesh_id, const char *var_name, int var_dim, bool interlace, bool use_parent, cs_post_type_t var_type, int nt_cur_abs, double t_cur_abs, const void *vtx_vals)
 
void cs_post_renum_cells (const cs_lnum_t init_cell_num[])
 
void cs_post_renum_faces (const cs_lnum_t init_i_face_num[], const cs_lnum_t init_b_face_num[])
 
void cs_post_init_writers (void)
 
void cs_post_init_meshes (int check_mask)
 
void cs_post_write_vars (int nt_cur_abs, double t_cur_abs)
 
void cs_post_finalize (void)
 
void cs_post_add_free_faces (void)
 
void cs_post_init_error_writer (void)
 
int cs_post_init_error_writer_cells (void)
 
void cs_post_add_time_dep_output (cs_post_time_dep_output_t *function, void *input)
 
void cs_post_add_time_mesh_dep_output (cs_post_time_mesh_dep_output_t *function, void *input)
 

Macro Definition Documentation

#define CS_POST_BOUNDARY_NR
Value:
(1 << 1) /* postprocess boundary
without reconstruction */
#define CS_POST_ON_LOCATION
Value:
(1 << 0) /* postprocess variables
on their base location
(volume for variables) */

Typedef Documentation

typedef void( cs_post_elt_select_t)(void *input, cs_lnum_t *n_elts, cs_lnum_t **elt_list)
typedef void( cs_post_time_dep_output_t)(void *input, int nt_cur_abs, cs_real_t t_cur_abs)
typedef void( cs_post_time_mesh_dep_output_t)(void *input, int mesh_id, int cat_id, int ent_flag[3], cs_lnum_t n_cells, cs_lnum_t n_i_faces, cs_lnum_t n_b_faces, const cs_lnum_t cell_list[], const cs_lnum_t i_face_list[], const cs_lnum_t b_face_list[], int nt_cur_abs, cs_real_t t_cur_abs)

Enumeration Type Documentation

Enumerator
CS_POST_TYPE_cs_int_t 
CS_POST_TYPE_cs_real_t 
CS_POST_TYPE_int 
CS_POST_TYPE_float 
CS_POST_TYPE_double 

Function Documentation

void cs_post_activate_if_default ( int  nt_max_abs,
int  nt_cur_abs,
double  t_cur_abs 
)

Here is the call graph for this function:

void cs_post_activate_writer ( int  writer_id,
bool  activate 
)
void cs_post_add_free_faces ( void  )

Here is the call graph for this function:

void cs_post_add_time_dep_output ( cs_post_time_dep_output_t function,
void *  input 
)
void cs_post_add_time_mesh_dep_output ( cs_post_time_mesh_dep_output_t function,
void *  input 
)
void cs_post_define_alias_mesh ( int  mesh_id,
int  aliased_mesh_id,
bool  auto_variables,
int  n_writers,
const int  writer_ids[] 
)

Here is the call graph for this function:

void cs_post_define_edges_mesh ( int  mesh_id,
int  base_mesh_id,
int  n_writers,
const int  writer_ids[] 
)

Here is the call graph for this function:

void cs_post_define_existing_mesh ( int  mesh_id,
fvm_nodal_t exp_mesh,
int  dim_shift,
bool  transfer,
bool  auto_variables,
int  n_writers,
const int  writer_ids[] 
)

Here is the call graph for this function:

void cs_post_define_surface_mesh ( int  mesh_id,
const char *  mesh_name,
const char *  i_face_criteria,
const char *  b_face_criteria,
bool  add_groups,
bool  auto_variables,
int  n_writers,
const int  writer_ids[] 
)
void cs_post_define_surface_mesh_by_func ( int  mesh_id,
const char *  mesh_name,
cs_post_elt_select_t i_face_select_func,
cs_post_elt_select_t b_face_select_func,
void *  i_face_select_input,
void *  b_face_select_input,
bool  time_varying,
bool  add_groups,
bool  auto_variables,
int  n_writers,
const int  writer_ids[] 
)
void cs_post_define_volume_mesh ( int  mesh_id,
const char *  mesh_name,
const char *  cell_criteria,
bool  add_groups,
bool  auto_variables,
int  n_writers,
const int  writer_ids[] 
)
void cs_post_define_volume_mesh_by_func ( int  mesh_id,
const char *  mesh_name,
cs_post_elt_select_t cell_select_func,
void *  cell_select_input,
bool  time_varying,
bool  add_groups,
bool  auto_variables,
int  n_writers,
const int  writer_ids[] 
)
void cs_post_define_writer ( int  writer_id,
const char *  case_name,
const char *  dir_name,
const char *  fmt_name,
const char *  fmt_opts,
fvm_writer_time_dep_t  time_dep,
bool  output_at_end,
int  frequency_n,
double  frequency_t 
)

Here is the call graph for this function:

void cs_post_finalize ( void  )

Here is the call graph for this function:

void cs_post_free_mesh ( int  mesh_id)

Here is the call graph for this function:

const char* cs_post_get_default_format ( void  )

Here is the call graph for this function:

const char* cs_post_get_default_format_options ( void  )
int cs_post_get_free_mesh_id ( void  )
int cs_post_get_free_writer_id ( void  )
fvm_writer_t* cs_post_get_writer ( int  writer_id)
void cs_post_init_error_writer ( void  )

Here is the call graph for this function:

int cs_post_init_error_writer_cells ( void  )

Here is the call graph for this function:

void cs_post_init_meshes ( int  check_mask)

Here is the call graph for this function:

void cs_post_init_writers ( void  )

Here is the call graph for this function:

bool cs_post_mesh_exists ( int  mesh_id)
void cs_post_mesh_get_b_face_ids ( int  mesh_id,
cs_lnum_t  b_face_ids[] 
)

Here is the call graph for this function:

void cs_post_mesh_get_cell_ids ( int  mesh_id,
cs_lnum_t cell_ids 
)

Here is the call graph for this function:

const int* cs_post_mesh_get_ent_flag ( int  mesh_id)
void cs_post_mesh_get_i_face_ids ( int  mesh_id,
cs_lnum_t  i_face_ids[] 
)

Here is the call graph for this function:

cs_lnum_t cs_post_mesh_get_n_b_faces ( int  mesh_id)

Here is the call graph for this function:

cs_lnum_t cs_post_mesh_get_n_cells ( int  mesh_id)

Here is the call graph for this function:

cs_lnum_t cs_post_mesh_get_n_i_faces ( int  mesh_id)

Here is the call graph for this function:

void cs_post_modify_mesh ( int  mesh_id,
cs_lnum_t  n_cells,
cs_lnum_t  n_i_faces,
cs_lnum_t  n_b_faces,
cs_lnum_t  cell_list[],
cs_lnum_t  i_face_list[],
cs_lnum_t  b_face_list[] 
)
void cs_post_renum_cells ( const cs_lnum_t  init_cell_num[])

Here is the call graph for this function:

void cs_post_renum_faces ( const cs_lnum_t  init_i_face_num[],
const cs_lnum_t  init_b_face_num[] 
)

Here is the call graph for this function:

void cs_post_set_deformable ( void  )
void cs_post_write_meshes ( int  nt_cur_abs,
double  t_cur_abs 
)

Here is the call graph for this function:

void cs_post_write_var ( int  mesh_id,
const char *  var_name,
int  var_dim,
bool  interlace,
bool  use_parent,
cs_post_type_t  var_type,
int  nt_cur_abs,
double  t_cur_abs,
const void *  cel_vals,
const void *  i_face_vals,
const void *  b_face_vals 
)

Here is the call graph for this function:

void cs_post_write_vars ( int  nt_cur_abs,
double  t_cur_abs 
)

Here is the call graph for this function:

void cs_post_write_vertex_var ( int  mesh_id,
const char *  var_name,
int  var_dim,
bool  interlace,
bool  use_parent,
cs_post_type_t  var_type,
int  nt_cur_abs,
double  t_cur_abs,
const void *  vtx_vals 
)

Here is the call graph for this function:

bool cs_post_writer_exists ( int  writer_id)
void pstact ( const cs_int_t numwri,
const cs_int_t indact 
)
void pstdfm ( void  )
void pstema ( const cs_int_t ntcabs,
const cs_real_t ttcabs 
)
void pstev1 ( const cs_int_t nummai,
const char *  nomvar,
const cs_int_t lnmvar,
const cs_int_t idimt,
const cs_int_t ientla,
const cs_int_t ivarpr,
const cs_int_t ntcabs,
const cs_real_t ttcabs,
const cs_real_t  varcel[],
const cs_real_t  varfac[],
const cs_real_t varfbr[]  CS_ARGF_SUPP_CHAINE 
)
void pstntc ( const cs_int_t ntmabs,
const cs_int_t ntcabs,
const cs_real_t ttcabs 
)
void pstusn ( const cs_int_t ntmabs,
const cs_int_t ntcabs,
const cs_real_t ttcabs 
)