216 const cs_property_t *pty,
#define BEGIN_C_DECLS
Definition: cs_defs.h:448
cs_locmat_t * cs_hodge_build_local(int c_id, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, cs_hodge_builder_t *hb)
Build a local discrete Hodge.
Definition: cs_hodge.c:1849
Definition: cs_cdo_local.h:73
bool cs_hodge_builder_get_setting_flag(cs_hodge_builder_t *hb)
Get the flag indicating the status of the property.
Definition: cs_hodge.c:1613
void cs_hodge_builder_set_tensor(cs_hodge_builder_t *hb, const cs_real_33_t ptymat)
Set the value of the property attached to a hodge builder.
Definition: cs_hodge.c:1668
Definition: cs_cdo_connect.h:67
double cs_real_t
Floating-point value.
Definition: cs_defs.h:296
Definition: cs_cdo_quantities.h:100
struct _hodge_builder_t cs_hodge_builder_t
Definition: cs_hodge.h:53
void cs_hodge_builder_unset(cs_hodge_builder_t *hb)
Set the flag indicating the status of the property to false.
Definition: cs_hodge.c:1630
void cs_hodge_set_timer_stats(int level)
Initialize cs_timer_stats_t structure for monitoring purpose.
Definition: cs_hodge.c:1451
cs_locmat_t * cs_hodge_build_cellwise(const cs_cell_mesh_t *lm, cs_hodge_builder_t *hb)
Build a local discrete Hodge using a cell-wise view of the mesh.
Definition: cs_hodge.c:1757
void cs_hodge_build_local_stiffness(const cs_cell_mesh_t *lm, cs_hodge_builder_t *hb, cs_locmat_t *sloc)
Build a local stiffness matrix from a local discrete Hodge H and the local discrete gradient and dive...
Definition: cs_hodge.c:1692
cs_hodge_builder_t * cs_hodge_builder_init(const cs_cdo_connect_t *connect, cs_param_hodge_t h_info)
Allocate and initialize a cs_hodge_builder_t structure.
Definition: cs_hodge.c:1478
#define END_C_DECLS
Definition: cs_defs.h:449
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:314
cs_hodge_builder_t * cs_hodge_builder_free(cs_hodge_builder_t *hb)
Free a cs_hodge_builder_t structure.
Definition: cs_hodge.c:1581
Definition: cs_param.h:143
void cs_hodge_builder_set_val(cs_hodge_builder_t *hb, cs_real_t ptyval)
Set the value of the property attached to a hodge builder.
Definition: cs_hodge.c:1648
Definition: cs_cdo_toolbox.h:71
cs_sla_matrix_t * cs_hodge_compute(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_property_t *pty, const cs_param_hodge_t h_info)
Build the full matrix related to a discrete Hodge operator.
Definition: cs_hodge.c:1938