![]() |
programmer's documentation
|
#include "cs_cdo_connect.h"
#include "cs_cdo_local.h"
#include "cs_cdo_quantities.h"
#include "cs_mesh.h"
#include "cs_quadrature.h"
#include "cs_time_step.h"
#include "cs_xdef.h"
Go to the source code of this file.
Typedefs | |
typedef void() | cs_xdef_eval_t(cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) More... | |
typedef void() | cs_xdef_eval_cw_t(const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
typedef void() | cs_xdef_eval_cw_xyz_t(const cs_cell_mesh_t *cm, cs_lnum_t n_points, const cs_real_t *xyz, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity at several locations in a cell defined through a descriptor (cs_xdef_t structure). The algorithm may use a cs_cell_mesh_t structure. More... | |
typedef void() | cs_xdef_eval_cw_int_t(const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals. More... | |
typedef void() | cs_xdef_eval_cw_face_t(const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
Functions | |
void | cs_xdef_eval_scalar_by_val (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a scalar-valued quantity for a list of elements. More... | |
void | cs_xdef_eval_cw_scalar_by_val (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a scalar-valued quantity by a cellwise process. More... | |
void | cs_xdef_eval_vector_by_val (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a vector-valued quantity for a list of elements. More... | |
void | cs_xdef_eval_cw_vector_by_val (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a vector-valued quantity by a cellwise process. More... | |
void | cs_xdef_eval_tensor_by_val (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a tensor-valued quantity for a list of elements. More... | |
void | cs_xdef_eval_cw_tensor_by_val (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a tensor-valued quantity by a cellwise process. More... | |
void | cs_xdef_eval_at_cells_by_analytic (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a quantity defined at cells using an analytic function. More... | |
void | cs_xdef_eval_avg_at_b_faces_by_analytic (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, const short int dim, cs_real_t *eval) |
Evaluate a quantity defined at border faces using an analytic function. More... | |
void | cs_xdef_eval_at_vertices_by_analytic (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a quantity defined at vertices using an analytic function. More... | |
void | cs_xdef_eval_at_b_faces_by_analytic (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a quantity defined at border faces using an analytic function. More... | |
void | cs_xdef_eval_cw_cell_by_analytic (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a quantity defined using an analytic function by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
void | cs_xdef_eval_scalar_at_cells_by_array (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a scalar-valued quantity at cells defined by an array. Array is assumed to be interlaced. More... | |
void | cs_xdef_eval_nd_at_cells_by_array (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a nd-valued quantity at cells defined by an array. Array is assumed to be interlaced. More... | |
void | cs_xdef_eval_at_vertices_by_array (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a quantity defined at vertices using an array. More... | |
void | cs_xdef_eval_3_at_all_vertices_by_array (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a vector-valued quantity at all vertices defined by an array. Array is assumed to be interlaced. More... | |
void | cs_xdef_eval_cw_cell_by_array (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a quantity at cells defined by an array. Array is assumed to be interlaced. Variation using a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cell_by_field (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a quantity inside a cell defined using a field. More... | |
void | cs_xdef_eval_cw_cell_by_field (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Evaluate a quantity inside a cell defined using a field Variation using a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_at_xyz_by_analytic (const cs_cell_mesh_t *cm, cs_lnum_t n_points, const cs_real_t *xyz, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity defined by analytic function at a precise location inside a cell Use of a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_vector_at_xyz_by_val (const cs_cell_mesh_t *cm, cs_lnum_t n_points, const cs_real_t *xyz, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity defined by analytic function at a precise location inside a cell Use of a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_3_at_xyz_by_array (const cs_cell_mesh_t *cm, cs_lnum_t n_points, const cs_real_t *xyz, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity defined by analytic function at a precise location inside a cell Use of a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_3_at_xyz_by_field (const cs_cell_mesh_t *cm, cs_lnum_t n_points, const cs_real_t *xyz, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity defined by a field at a precise location inside a cell Use of a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_at_vtx_flux_by_val (const cs_cell_mesh_t *cm, short int f, void *input, cs_real_t *eval) |
Function pointer for evaluating the normal flux of a quantity defined by values. The normal flux is then added to each portion of face related to a vertex. Use of a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_at_vtx_flux_by_analytic (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the normal flux of a quantity defined by analytic function. The normal flux is then added to each portion of face related to a vertex. Use of a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_flux_by_val (const cs_cell_mesh_t *cm, short int f, void *input, cs_real_t *eval) |
Function pointer for evaluating the normal flux of a quantity defined by values. Use of a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_tensor_flux_by_val (const cs_cell_mesh_t *cm, short int f, void *input, cs_real_t *eval) |
Function pointer for evaluating the normal flux of a quantity defined by values. Use of a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_flux_by_analytic (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the normal flux of a quantity defined by analytic function. Use of a cs_cell_mesh_t structure. More... | |
void | cs_xdef_eval_cw_tensor_flux_by_analytic (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the normal flux of a quantity defined by analytic function. Case of vector-valued quantities. Use of a cs_cell_mesh_t structure. More... | |
static void | cs_xdef_eval_int_on_cell (const cs_cell_mesh_t *cm, double t_cur, cs_analytic_func_t *ana, void *input, cs_quadrature_tetra_integral_t *qfunc, cs_real_t *eval) |
Routine to integrate an analytic function over a cell. More... | |
static void | cs_xdef_eval_int_on_face (const cs_cell_mesh_t *cm, double t_cur, short int f, cs_analytic_func_t *ana, void *input, cs_quadrature_tria_integral_t *qfunc, cs_real_t *eval) |
Routine to integrate an analytic function over a face. More... | |
void | cs_xdef_eval_int_on_cell_faces (const cs_cell_mesh_t *cm, double t_cur, cs_analytic_func_t *ana, void *input, const short int dim, cs_quadrature_tetra_integral_t *q_tet, cs_quadrature_tria_integral_t *q_tri, cs_real_t *c_int, cs_real_t *f_int) |
Routine to integrate an analytic function over a cell and its faces. More... | |
static void | cs_xdef_eval_cw_face_avg_scalar_by_value (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
static void | cs_xdef_eval_cw_face_avg_scalar_by_array (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
void | cs_xdef_eval_cw_face_avg_scalar_by_analytic (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
static void | cs_xdef_eval_cw_face_drhm_by_analytic (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating at the center of the face a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) Since it's only an evaluation, the functions works for any dimension (supposed that the function is well defined) More... | |
static void | cs_xdef_eval_cw_face_avg_vector_by_value (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the average on a face of a vector function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
static void | cs_xdef_eval_cw_face_avg_vector_by_array (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the average on a face of a vector function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
void | cs_xdef_eval_cw_face_avg_vector_by_analytic (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
static void | cs_xdef_eval_cw_face_avg_tensor_by_value (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the average on a face of a tensor function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
static void | cs_xdef_eval_cw_face_avg_tensor_by_array (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the average on a face of a tensor function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
void | cs_xdef_eval_cw_face_avg_tensor_by_analytic (const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) More... | |
void | cs_xdef_eval_cw_avg_scalar_by_analytic (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals. More... | |
void | cs_xdef_eval_cw_avg_vector_by_analytic (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals. More... | |
void | cs_xdef_eval_cw_avg_tensor_by_analytic (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals. More... | |
void | cs_xdef_eval_cw_avg_reduction_by_analytic (const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating a the reduction by averages of a analytic function by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals (faces first, then cell DoFs) More... | |
typedef void() cs_xdef_eval_cw_face_t(const cs_cell_mesh_t *cm, short int f, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | qtype | quadrature type |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
typedef void() cs_xdef_eval_cw_int_t(const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_quadrature_type_t qtype, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | qtype | quadrature type |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
typedef void() cs_xdef_eval_cw_t(const cs_cell_mesh_t *cm, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
typedef void() cs_xdef_eval_cw_xyz_t(const cs_cell_mesh_t *cm, cs_lnum_t n_points, const cs_real_t *xyz, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity at several locations in a cell defined through a descriptor (cs_xdef_t structure). The algorithm may use a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | n_points | number of points where to compute the evaluation |
[in] | xyz | where to compute the evaluation |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
typedef void() cs_xdef_eval_t(cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool compact, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, void *input, cs_real_t *eval) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure)
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | indirection for output (true or false) |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure cast on-the_fly |
[in,out] | eval | array storing the result (must be allocated) |
void cs_xdef_eval_3_at_all_vertices_by_array | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a vector-valued quantity at all vertices defined by an array. Array is assumed to be interlaced.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_at_b_faces_by_analytic | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a quantity defined at border faces using an analytic function.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_at_cells_by_analytic | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a quantity defined at cells using an analytic function.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_at_vertices_by_analytic | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a quantity defined at vertices using an analytic function.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_at_vertices_by_array | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a quantity defined at vertices using an array.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_avg_at_b_faces_by_analytic | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
const short int | dim, | ||
cs_real_t * | eval | ||
) |
Evaluate a quantity defined at border faces using an analytic function.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | quadrature type |
[in] | dim | dimension of the analytic function return |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cell_by_field | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a quantity inside a cell defined using a field.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_3_at_xyz_by_array | ( | const cs_cell_mesh_t * | cm, |
cs_lnum_t | n_points, | ||
const cs_real_t * | xyz, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating a quantity defined by analytic function at a precise location inside a cell Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | n_points | number of points where to compute the evaluation |
[in] | xyz | where to compute the evaluation |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_3_at_xyz_by_field | ( | const cs_cell_mesh_t * | cm, |
cs_lnum_t | n_points, | ||
const cs_real_t * | xyz, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating a quantity defined by a field at a precise location inside a cell Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | n_points | number of points where to compute the evaluation |
[in] | xyz | where to compute the evaluation |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_at_vtx_flux_by_analytic | ( | const cs_cell_mesh_t * | cm, |
short int | f, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating the normal flux of a quantity defined by analytic function. The normal flux is then added to each portion of face related to a vertex. Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[in,out] | eval | result of the evaluation (updated inside) |
void cs_xdef_eval_cw_at_vtx_flux_by_val | ( | const cs_cell_mesh_t * | cm, |
short int | f, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating the normal flux of a quantity defined by values. The normal flux is then added to each portion of face related to a vertex. Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | input | pointer to an input structure |
[in,out] | eval | result of the evaluation (updated inside) |
void cs_xdef_eval_cw_at_xyz_by_analytic | ( | const cs_cell_mesh_t * | cm, |
cs_lnum_t | n_points, | ||
const cs_real_t * | xyz, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating a quantity defined by analytic function at a precise location inside a cell Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | n_points | number of points where to compute the evaluation |
[in] | xyz | where to compute the evaluation |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_avg_reduction_by_analytic | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating a the reduction by averages of a analytic function by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals (faces first, then cell DoFs)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | qtype | quadrature type |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_avg_scalar_by_analytic | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | qtype | quadrature type |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_avg_tensor_by_analytic | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | qtype | quadrature type |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_avg_vector_by_analytic | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating a quantity defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) which is hinged on integrals.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | qtype | quadrature type |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_cell_by_analytic | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a quantity defined using an analytic function by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_cell_by_array | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a quantity at cells defined by an array. Array is assumed to be interlaced. Variation using a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_cell_by_field | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a quantity inside a cell defined using a field Variation using a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | value of the property at the cell center |
void cs_xdef_eval_cw_face_avg_scalar_by_analytic | ( | const cs_cell_mesh_t * | cm, |
short int | f, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
|
inlinestatic |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
|
inlinestatic |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_face_avg_tensor_by_analytic | ( | const cs_cell_mesh_t * | cm, |
short int | f, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
|
inlinestatic |
Function pointer for evaluating the average on a face of a tensor function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
|
inlinestatic |
Function pointer for evaluating the average on a face of a tensor function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_face_avg_vector_by_analytic | ( | const cs_cell_mesh_t * | cm, |
short int | f, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating the average on a face of a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
|
inlinestatic |
Function pointer for evaluating the average on a face of a vector function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
|
inlinestatic |
Function pointer for evaluating the average on a face of a vector function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
|
inlinestatic |
Function pointer for evaluating at the center of the face a scalar function defined through a descriptor (cs_xdef_t structure) by a cellwise process (usage of a cs_cell_mesh_t structure) Since it's only an evaluation, the functions works for any dimension (supposed that the function is well defined)
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_flux_by_analytic | ( | const cs_cell_mesh_t * | cm, |
short int | f, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating the normal flux of a quantity defined by analytic function. Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[in,out] | eval | result of the evaluation (set inside) |
void cs_xdef_eval_cw_flux_by_val | ( | const cs_cell_mesh_t * | cm, |
short int | f, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating the normal flux of a quantity defined by values. Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | input | pointer to an input structure |
[in,out] | eval | result of the evaluation (set inside) |
void cs_xdef_eval_cw_scalar_by_val | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a scalar-valued quantity by a cellwise process.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_tensor_by_val | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a tensor-valued quantity by a cellwise process.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_tensor_flux_by_analytic | ( | const cs_cell_mesh_t * | cm, |
short int | f, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_quadrature_type_t | qtype, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating the normal flux of a quantity defined by analytic function. Case of vector-valued quantities. Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[in] | qtype | level of quadrature to use |
[in,out] | eval | result of the evaluation (set inside) |
void cs_xdef_eval_cw_tensor_flux_by_val | ( | const cs_cell_mesh_t * | cm, |
short int | f, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating the normal flux of a quantity defined by values. Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | f | local face id |
[in] | input | pointer to an input structure |
[in,out] | eval | result of the evaluation (set inside) |
void cs_xdef_eval_cw_vector_at_xyz_by_val | ( | const cs_cell_mesh_t * | cm, |
cs_lnum_t | n_points, | ||
const cs_real_t * | xyz, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Function pointer for evaluating a quantity defined by analytic function at a precise location inside a cell Use of a cs_cell_mesh_t structure.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | n_points | number of points where to compute the evaluation |
[in] | xyz | where to compute the evaluation |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_cw_vector_by_val | ( | const cs_cell_mesh_t * | cm, |
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a vector-valued quantity by a cellwise process.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
|
inlinestatic |
Routine to integrate an analytic function over a cell.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | t_cur | time at which the function is evaluated |
[in] | ana | analytic function to integrate |
[in] | input | pointer to an input structure |
[in] | qfunc | quadrature function to use |
[out] | eval | result of the evaluation |
void cs_xdef_eval_int_on_cell_faces | ( | const cs_cell_mesh_t * | cm, |
double | t_cur, | ||
cs_analytic_func_t * | ana, | ||
void * | input, | ||
const short int | dim, | ||
cs_quadrature_tetra_integral_t * | q_tet, | ||
cs_quadrature_tria_integral_t * | q_tri, | ||
cs_real_t * | c_int, | ||
cs_real_t * | f_int | ||
) |
Routine to integrate an analytic function over a cell and its faces.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | ana | analytic function to integrate |
[in] | input | pointer to an input structure |
[in] | dim | dimension of the function |
[in] | q_tet | quadrature function to use on tetrahedra |
[in] | q_tri | quadrature function to use on triangles |
[out] | c_int | result of the evaluation on the cell |
[out] | f_int | result of the evaluation on the faces |
|
inlinestatic |
Routine to integrate an analytic function over a face.
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | t_cur | time at which the function is evaluated |
[in] | f | local face id |
[in] | ana | analytic function to integrate |
[in] | input | pointer to an input structure |
[in] | qfunc | quadrature function to use |
[out] | eval | result of the evaluation |
void cs_xdef_eval_nd_at_cells_by_array | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a nd-valued quantity at cells defined by an array. Array is assumed to be interlaced.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_scalar_at_cells_by_array | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a scalar-valued quantity at cells defined by an array. Array is assumed to be interlaced.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_scalar_by_val | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a scalar-valued quantity for a list of elements.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_tensor_by_val | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a tensor-valued quantity for a list of elements.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |
void cs_xdef_eval_vector_by_val | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | compact, | ||
const cs_mesh_t * | mesh, | ||
const cs_cdo_connect_t * | connect, | ||
const cs_cdo_quantities_t * | quant, | ||
const cs_time_step_t * | ts, | ||
void * | input, | ||
cs_real_t * | eval | ||
) |
Evaluate a vector-valued quantity for a list of elements.
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of element ids |
[in] | compact | true:no indirection, false:indirection for output |
[in] | mesh | pointer to a cs_mesh_t structure |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantities_t structure |
[in] | ts | pointer to a cs_time_step_t structure |
[in] | input | pointer to an input structure |
[out] | eval | result of the evaluation |