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 "cs_mesh.h"
#include "cs_parameters.h"
#include "cs_physical_constants.h"
#include "cs_stokes_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 *gradpr, cs_real_33_t *gradvf)
 Compute gradients. More...
 

Function Documentation

§ cs_lagr_gradients()

void cs_lagr_gradients ( int  time_id,
cs_real_3_t gradpr,
cs_real_33_t gradvf 
)

Compute gradients.

  • pressure gradient / rho
  • velocity gradient
Parameters
[in]time_id0: current time, 1: previous
[out]gradprpressure gradient
[out]gradvfvelocity gradient