My Project
programmer's documentation
Functions
cs_lagr_log.c File Reference
#include "cs_defs.h"
#include <limits.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include <float.h>
#include <assert.h>
#include "bft_printf.h"
#include "bft_mem.h"
#include "cs_log.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_parall.h"
#include "cs_field.h"
#include "cs_lagr.h"
#include "cs_lagr_particle.h"
#include "cs_lagr_tracking.h"
#include "cs_lagr_post.h"
#include "cs_lagr_stat.h"
#include "cs_lagr_prototypes.h"
#include "cs_time_step.h"
#include "cs_lagr_log.h"
Include dependency graph for cs_lagr_log.c:

Functions

static const char * _status (int i)
 Return string indicating on/off depending on integer value. More...
 
static void _lagr_min_max_boundary_stats (int s_id, cs_lnum_t *nbrfac, cs_real_t *gmin, cs_real_t *gmax)
 Computes min/max for boundary statistics. More...
 
static void _log_setup_injection (cs_log_t log)
 Log Lagrangian module injection info. More...
 
void cs_lagr_log_setup (void)
 Log Lagrangian module output in the setup file. More...
 
void cs_lagr_log_iteration (void)
 Log Lagrangian module output in the main log file. More...
 

Function Documentation

◆ _lagr_min_max_boundary_stats()

static void _lagr_min_max_boundary_stats ( int  s_id,
cs_lnum_t nbrfac,
cs_real_t gmin,
cs_real_t gmax 
)
static

Computes min/max for boundary statistics.

Parameters:

Parameters
[in]s_idstat id
[out]nbrfacnumber of particles used for the statistics
[out]gminmin value
[out]gmaxmax value

◆ _log_setup_injection()

static void _log_setup_injection ( cs_log_t  log)
static

Log Lagrangian module injection info.

Parameters
[in]logassociated log file

◆ _status()

static const char* _status ( int  i)
static

Return string indicating on/off depending on integer value.

Parameters
iinput integer
Returns
status string, possibly translated

◆ cs_lagr_log_iteration()

void cs_lagr_log_iteration ( void  )

Log Lagrangian module output in the main log file.

◆ cs_lagr_log_setup()

void cs_lagr_log_setup ( void  )

Log Lagrangian module output in the setup file.