programmer's documentation
Functions
cs_domain_post.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <string.h>
#include <bft_mem.h>
#include "cs_advection_field.h"
#include "cs_cdo_quantities.h"
#include "cs_equation.h"
#include "cs_log_iteration.h"
#include "cs_post.h"
#include "cs_property.h"
#include "cs_prototypes.h"
#include "cs_domain_post.h"
Include dependency graph for cs_domain_post.c:

Functions

static void _post_advection_field (const cs_adv_field_t *adv, const cs_cdo_quantities_t *quant, const cs_time_step_t *time_step, double dt_cur)
 Predefined post-processing output for advection fields. More...
 
static void _domain_post (void *input, int mesh_id, int cat_id, int ent_flag[5], cs_lnum_t n_cells, cs_lnum_t n_i_faces, cs_lnum_t n_b_faces, const cs_lnum_t cell_ids[], const cs_lnum_t i_face_ids[], const cs_lnum_t b_face_ids[], const cs_time_step_t *time_step)
 Predefined post-processing output for the computational domain The prototype of this function is fixed since it is a function pointer defined in cs_post.h (cs_post_time_mesh_dep_output_t) More...
 
void cs_domain_post_init (cs_domain_t *domain)
 Initialize the generic post-processing related to a domain. More...
 
void cs_domain_post (cs_domain_t *domain)
 Process the computational domain after the resolution. More...
 

Function Documentation

◆ _domain_post()

static void _domain_post ( void *  input,
int  mesh_id,
int  cat_id,
int  ent_flag[5],
cs_lnum_t  n_cells,
cs_lnum_t  n_i_faces,
cs_lnum_t  n_b_faces,
const cs_lnum_t  cell_ids[],
const cs_lnum_t  i_face_ids[],
const cs_lnum_t  b_face_ids[],
const cs_time_step_t time_step 
)
static

Predefined post-processing output for the computational domain The prototype of this function is fixed since it is a function pointer defined in cs_post.h (cs_post_time_mesh_dep_output_t)

Parameters
[in,out]inputpointer to a optional structure (here a cs_gwf_t structure)
[in]mesh_idid of the output mesh for the current call
[in]cat_idcategory id of the output mesh for this call
[in]ent_flagindicate global presence of cells (ent_flag[0]), interior faces (ent_flag[1]), boundary faces (ent_flag[2]), particles (ent_flag[3]) or probes (ent_flag[4])
[in]n_cellslocal number of cells of post_mesh
[in]n_i_faceslocal number of interior faces of post_mesh
[in]n_b_faceslocal number of boundary faces of post_mesh
[in]cell_idslist of cells (0 to n-1)
[in]i_face_idslist of interior faces (0 to n-1)
[in]b_face_idslist of boundary faces (0 to n-1)
[in]time_steppointer to a cs_time_step_t struct.

◆ _post_advection_field()

static void _post_advection_field ( const cs_adv_field_t adv,
const cs_cdo_quantities_t quant,
const cs_time_step_t time_step,
double  dt_cur 
)
static

Predefined post-processing output for advection fields.

Parameters
[in]advpointer to a cs_adv_field_t structure
[in]quantpointer to a cs_cdo_quantities_t structure
[in]time_steppointer to a cs_time_step_t struct.
[in]dt_curvalue of the current time step

◆ cs_domain_post()

void cs_domain_post ( cs_domain_t domain)

Process the computational domain after the resolution.

Parameters
[in]domainpointer to a cs_domain_t structure

◆ cs_domain_post_init()

void cs_domain_post_init ( cs_domain_t domain)

Initialize the generic post-processing related to a domain.

Parameters
[in]domainpointer to a cs_domain_t structure