My Project
programmer's documentation
Functions
cs_lagr_gradients.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_mem.h"
#include "cs_mesh.h"
#include "cs_parameters.h"
#include "cs_physical_constants.h"
#include "cs_stokes_model.h"
#include "cs_turbulence_model.h"
#include "cs_field_operator.h"
#include "cs_physical_model.h"
#include "cs_lagr.h"
#include "cs_lagr_tracking.h"
#include "cs_lagr_stat.h"
#include "cs_lagr_gradients.h"
Include dependency graph for cs_lagr_gradients.c:

Functions

void cs_lagr_gradients (int time_id, cs_real_3_t *grad_pr, cs_real_33_t *grad_vel)
 Compute gradients. More...
 

Function Documentation

◆ cs_lagr_gradients()

void cs_lagr_gradients ( int  time_id,
cs_real_3_t grad_pr,
cs_real_33_t grad_vel 
)

Compute gradients.

  • gradient of total pressure
  • velocity gradient
Parameters
[in]time_id0: current time, 1: previous
[out]grad_prpressure gradient
[out]grad_velvelocity gradient