![]() |
programmer's documentation
|
#include "cs_base.h"
#include "cs_time_step.h"
#include "cs_cdo_toolbox.h"
#include "cs_sla.h"
#include "cs_cdo_connect.h"
#include "cs_cdo_quantities.h"
#include "cs_param.h"
#include "cs_property.h"
Go to the source code of this file.
Typedefs | |
typedef struct _hodge_builder_t | cs_hodge_builder_t |
Functions | |
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. More... | |
cs_hodge_builder_t * | cs_hodge_builder_free (cs_hodge_builder_t *hb) |
Free a cs_hodge_builder_t structure. More... | |
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. More... | |
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. More... | |
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. More... | |
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 a discrete Hodge operator. More... | |
typedef struct _hodge_builder_t cs_hodge_builder_t |
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.
[in] | c_id | cell id |
[in] | connect | pointer to a cs_cdo_connect_t struct. |
[in] | quant | pointer to a cs_cdo_quantities_t struct. |
[in,out] | hb | pointer to a cs_hodge_builder_t struct. |
cs_hodge_builder_t* cs_hodge_builder_free | ( | cs_hodge_builder_t * | hb | ) |
Free a cs_hodge_builder_t structure.
[in] | hb | pointer to the cs_hodge_builder_t struct. to free |
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.
[in] | connect | pointer to a cs_cdo_connect_t struct. |
[in] | time_step | pointer to a time step structure |
[in] | h_info | algorithm used to build the discrete Hodge op. |
[in] | connect | pointer to a cs_cdo_connect_t struct. |
[in] | h_info | algorithm used to build the discrete Hodge op. |
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.
[in,out] | hb | pointer to a cs_hodge_builder_t structure |
[in] | ptymat | values of the tensor related to a property |
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.
[in,out] | hb | pointer to a cs_hodge_builder_t structure |
[in] | ptyval | value of the property |
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 a discrete Hodge operator.
[in] | connect | pointer to a cs_cdo_connect_t struct. |
[in] | quant | pointer to a cs_cdo_quantities_t struct. |
[in] | pty | pointer to a cs_property_t struct. |
[in] | h_info | pointer to a cs_param_hodge_t struct. |