#include "cs_defs.h"
#include <assert.h>
#include <float.h>
#include <math.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mpi.h>
#include <ple_locator.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_base.h"
#include "cs_flag_check.h"
#include "cs_log.h"
#include "cs_mesh.h"
#include "cs_solid_zone.h"
#include "cs_volume_zone.h"
Functions | |
int * | cs_solid_zone_flag (const cs_mesh_t *m) |
build solid flag for mesh cells. More... | |
void | cs_solid_zone_set_zero_on_cells (int stride, cs_real_t *a) |
Zero an array on cells of a solid zone. More... | |
void | cs_solid_zone_set_scalar_on_cells (cs_real_t ref_val, cs_real_t a[]) |
Assign a constant scalar value to cells of a solid zone. More... | |
Volume zone handling.
int* cs_solid_zone_flag | ( | const cs_mesh_t * | m | ) |
build solid flag for mesh cells.
If no solid cells are present, NULL is returned.
If non-empty, the caller is responsible for freeing the flag
[in] | m | pointer to mesh |
Assign a constant scalar value to cells of a solid zone.
[in] | ref_val | reference value |
[out] | a | array of cell values |
void cs_solid_zone_set_zero_on_cells | ( | int | stride, |
cs_real_t * | a | ||
) |
Zero an array on cells of a solid zone.
[in] | stride | array stride |
[out] | a | array of cell values |