![]() |
programmer's documentation
|
#include "cs_defs.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <float.h>
#include <assert.h>
#include "bft_printf.h"
#include "bft_error.h"
#include "bft_mem.h"
#include "fvm_periodicity.h"
#include "cs_base.h"
#include "cs_interface.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_parall.h"
#include "cs_prototypes.h"
#include "cs_search.h"
#include "cs_lagr_utils.h"
#include "cs_lagr_clogging.h"
#include "cs_halo.h"
#include "cs_lagr_tracking.h"
Macros | |
#define | N_GEOL 13 |
#define | CS_LAGR_MIN_COMM_BUF_SIZE 10 |
#define | CS_LAGR_MAX_PROPAGATION_LOOPS 30 |
#define | N_VAR_PART_STRUCT 36 |
#define | N_VAR_PART_AUX 1 |
#define | PI 3.141592653589793 |
Enumerations | |
enum | { CS_LAGR_IENTRL = 1, CS_LAGR_ISORTL = 2, CS_LAGR_IREBOL = 3, CS_LAGR_IDEPO1 = 4, CS_LAGR_IDEPO2 = 5, CS_LAGR_IENCRL = 7, CS_LAGR_IDEPFA = 13, CS_LAGR_ISYMTL = 14 } |
enum | { CS_LAGR_PART_TO_DELETE = 0, CS_LAGR_PART_TO_SYNC = 1, CS_LAGR_PART_TREATED = 2, CS_LAGR_PART_STICKED = 3, CS_LAGR_PART_OUT = 4, CS_LAGR_PART_ERR = 5 } |
enum | { CS_LAGR_PART_MOVE_OFF = 0, CS_LAGR_PART_MOVE_ON = 1 } |
enum | { CS_LAGR_SWITCH_OFF = 0, CS_LAGR_SWITCH_ON = 1 } |
enum | { X, Y, Z } |
Functions | |
void | CS_PROCF (lagbeg, LAGBEG) const |
void | CS_PROCF (prtget, PRTGET) const |
void | CS_PROCF (prtput, PRTPUT) const |
void | CS_PROCF (getbdy, GETBDY) const |
void | CS_PROCF (dplprt, DPLPRT) |
void | CS_PROCF (ucdprt, UCDPRT) const |
void | cs_lagr_get_attr_info (cs_lagr_attribute_t attr, size_t *extents, size_t *size, ptrdiff_t *displ, cs_datatype_t *datatype, int *count) |
Get data extents for a given particle attribute. More... | |
void | cs_lagr_get_particle_sets (cs_lagr_particle_set_t **current_set, cs_lagr_particle_set_t **previous_set) |
void | cs_lagr_destroy (void) |
Variables | |
const char * | cs_lagr_attribute_name [] |
#define CS_LAGR_MAX_PROPAGATION_LOOPS 30 |
#define CS_LAGR_MIN_COMM_BUF_SIZE 10 |
#define N_GEOL 13 |
#define N_VAR_PART_AUX 1 |
#define N_VAR_PART_STRUCT 36 |
#define PI 3.141592653589793 |
anonymous enum |
anonymous enum |
void cs_lagr_destroy | ( | void | ) |
void cs_lagr_get_attr_info | ( | cs_lagr_attribute_t | attr, |
size_t * | extents, | ||
size_t * | size, | ||
ptrdiff_t * | displ, | ||
cs_datatype_t * | datatype, | ||
int * | count | ||
) |
Get data extents for a given particle attribute.
For attributes not currently present, the displacement and data size should be -1 and 0 respectively.
[in] | attr | particle attribute |
[out] | extents | size (in bytes) of particle structure, or NULL |
[out] | size | size (in bytes) of attribute in particle structure, or NULL |
[out] | displ | displacement (in bytes) in particle structure, or NULL |
[out] | datatype | datatype of associated attribute, or NULL |
[out] | count | number of type values associated with attribute, or NULL |
void cs_lagr_get_particle_sets | ( | cs_lagr_particle_set_t ** | current_set, |
cs_lagr_particle_set_t ** | previous_set | ||
) |
void CS_PROCF | ( | lagbeg | , |
LAGBEG | |||
) | const |
void CS_PROCF | ( | prtget | , |
PRTGET | |||
) | const |
void CS_PROCF | ( | prtput | , |
PRTPUT | |||
) | const |
void CS_PROCF | ( | getbdy | , |
GETBDY | |||
) | const |
void CS_PROCF | ( | dplprt | , |
DPLPRT | |||
) |
void CS_PROCF | ( | ucdprt | , |
UCDPRT | |||
) | const |
const char* cs_lagr_attribute_name[] |