1#ifndef __CS_MEDCOUPLING_POSTPROCESS_HXX__
2#define __CS_MEDCOUPLING_POSTPROCESS_HXX__
48typedef struct _medcoupling_slice_t cs_medcoupling_slice_t;
65cs_medcoupling_slice_t *
79cs_medcoupling_slice_t *
93cs_medcoupling_slice_t *
111 const char *selection_criteria,
133 const char *selection_criteria,
137 const int n_sectors);
156 const char *selection_criteria,
161 const int n_sectors);
#define BEGIN_C_DECLS
Definition cs_defs.h:509
double cs_real_t
Floating-point value.
Definition cs_defs.h:319
#define END_C_DECLS
Definition cs_defs.h:510
int cs_lnum_t
local mesh entity id
Definition cs_defs.h:313
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition cs_defs.h:332
cs_real_t cs_medcoupling_slice_scalar_integral(const char *name, const cs_real_t *scalar)
Compute integral of a scalar over a slice.
Definition cs_medcoupling_postprocess.cxx:741
cs_medcoupling_slice_t * cs_medcoupling_slice_by_id(int id)
Get pointer to a slice based on id.
Definition cs_medcoupling_postprocess.cxx:445
void cs_medcoupling_slice_destroy_all(void)
Destroy all slices.
Definition cs_medcoupling_postprocess.cxx:929
cs_real_t * cs_medcoupling_slice_get_surfaces(const char *name)
Get list of intersection surfaces for each cell intersected.
Definition cs_medcoupling_postprocess.cxx:701
void cs_medcoupling_postprocess_add_annulus_slice(const char *name, const char *selection_criteria, const cs_real_t origin[], const cs_real_t normal[], const cs_real_t radius1, const cs_real_t radius2, const int n_sectors)
Add a slice based on an annulus.
Definition cs_medcoupling_postprocess.cxx:617
cs_real_t cs_medcoupling_slice_scalar_integral_weighted(const char *name, const cs_real_t *scalar, const cs_real_t *weight_s, const cs_real_3_t *weight_v)
Compute integral of a scalar over a slice using a scalar and/or vectorial weights....
Definition cs_medcoupling_postprocess.cxx:802
cs_lnum_t * cs_medcoupling_slice_get_elt_ids(const char *name)
Get list of ids of the elements which may be intersected.
Definition cs_medcoupling_postprocess.cxx:682
void cs_medcoupling_postprocess_add_plane_slice(const char *name, const char *selection_criteria, const cs_real_t origin[], const cs_real_t normal[], const cs_real_t length1, const cs_real_t length2)
Add a slice based on a plane.
Definition cs_medcoupling_postprocess.cxx:522
cs_medcoupling_slice_t * cs_medcoupling_slice_by_name_try(const char *name)
Get pointer to slice based on name. Returns NULL if not found.
Definition cs_medcoupling_postprocess.cxx:490
cs_medcoupling_slice_t * cs_medcoupling_slice_by_name(const char *name)
Get pointer to slice based on name, raises an error if not found.
Definition cs_medcoupling_postprocess.cxx:466
cs_real_t cs_medcoupling_slice_scalar_mean_weighted(const char *name, const cs_real_t *scalar, const cs_real_t *weight_s, const cs_real_3_t *weight_v)
Compute mean of a scalar over a slice using a scalar and/or vectorial weights. If NULL is provided fo...
Definition cs_medcoupling_postprocess.cxx:868
cs_real_t cs_medcoupling_slice_scalar_mean(const char *name, const cs_real_t *scalar)
Compute mean value of a scalar over a slice.
Definition cs_medcoupling_postprocess.cxx:775
cs_real_t cs_medcoupling_slice_get_total_surface(const char *name)
Get total intersection surface between a slice and volume mesh.
Definition cs_medcoupling_postprocess.cxx:720
cs_lnum_t cs_medcoupling_slice_get_n_elts(const char *name)
Get number cells that may be intersected by the slice.
Definition cs_medcoupling_postprocess.cxx:663
void cs_medcoupling_postprocess_add_disc_slice(const char *name, const char *selection_criteria, const cs_real_t origin[], const cs_real_t normal[], const cs_real_t radius, const int n_sectors)
Add a slice based on a disc.
Definition cs_medcoupling_postprocess.cxx:569