My Project
programmer's documentation
|
#include "cs_cdo_connect.h"
#include "cs_cdo_local.h"
#include "cs_matrix.h"
#include "cs_matrix_assembler.h"
#include "cs_param.h"
#include "cs_param_cdo.h"
Go to the source code of this file.
Typedefs | |
typedef struct _cs_equation_assemble_t | cs_equation_assemble_t |
typedef void() | cs_equation_assembly_t(const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system Block or no block versions are handled. More... | |
Functions | |
cs_matrix_structure_t * | cs_equation_get_matrix_structure (int flag) |
Retrieve the pointer to a requested cs_matrix_structure_t structure. More... | |
cs_equation_assemble_t * | cs_equation_assemble_get (int t_id) |
Get a pointer to a cs_equation_assemble_t structure related to a given thread. More... | |
void | cs_equation_assemble_init (const cs_cdo_connect_t *connect, cs_flag_t vb_flag, cs_flag_t vcb_flag, cs_flag_t fb_flag, cs_flag_t hho_flag) |
Allocate and initialize matrix-related structures according to the type of discretization used for this simulation. More... | |
void | cs_equation_assemble_finalize (void) |
Free matrix-related structures used during the simulation. Display overall statistic about the assembly stage for CDO schemes. More... | |
cs_equation_assembly_t * | cs_equation_assemble_set (cs_param_space_scheme_t scheme, int ma_id) |
Define the function pointer used to assemble the algebraic system. More... | |
void | cs_equation_assemble_matrix_mpit (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system Scalar-valued case. Parallel and with openMP threading. More... | |
void | cs_equation_assemble_matrix_mpis (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system Scalar-valued case. Parallel without openMP threading. More... | |
void | cs_equation_assemble_matrix_seqt (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system Scalar-valued case. Sequential and with openMP threading. More... | |
void | cs_equation_assemble_matrix_seqs (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system Scalar-valued case. Sequential and without openMP threading. More... | |
void | cs_equation_assemble_eblock33_matrix_seqs (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system. Case of a block 3x3 entries. Expand each row. Sequential run without openMP threading. More... | |
void | cs_equation_assemble_eblock33_matrix_seqt (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system. Case of a block 3x3 entries. Expand each row. Sequential run with openMP threading. More... | |
void | cs_equation_assemble_eblock33_matrix_mpis (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system. Case of a block 3x3 entries. Expand each row. Parallel run without openMP threading. More... | |
void | cs_equation_assemble_eblock33_matrix_mpit (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system. Case of a block 3x3 entries. Expand each row. Parallel run with openMP threading. More... | |
void | cs_equation_assemble_eblock_matrix_seqs (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system. Case of a block NxN entries. Expand each row. Sequential run without openMP threading. More... | |
void | cs_equation_assemble_eblock_matrix_seqt (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system. Case of a block NxN entries. Expand each row. Sequential run with openMP threading. More... | |
void | cs_equation_assemble_eblock_matrix_mpis (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system. Case of a block NxN entries. Expand each row. Parallel run without openMP threading. More... | |
void | cs_equation_assemble_eblock_matrix_mpit (const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system. Case of a block NxN entries. Expand each row. Parallel run with openMP threading. More... | |
typedef struct _cs_equation_assemble_t cs_equation_assemble_t |
typedef void() cs_equation_assembly_t(const cs_cell_sys_t *csys, const cs_range_set_t *rset, cs_equation_assemble_t *eqa, cs_matrix_assembler_values_t *mav) |
Assemble a cellwise system into the global algebraic system Block or no block versions are handled.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to an equation assembly structure |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_eblock33_matrix_mpis | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system. Case of a block 3x3 entries. Expand each row. Parallel run without openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to an equation assembly structure |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_eblock33_matrix_mpit | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system. Case of a block 3x3 entries. Expand each row. Parallel run with openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to an equation assembly structure |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_eblock33_matrix_seqs | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system. Case of a block 3x3 entries. Expand each row. Sequential run without openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to an equation assembly structure |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_eblock33_matrix_seqt | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system. Case of a block 3x3 entries. Expand each row. Sequential run with openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to an equation assembly structure |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_eblock_matrix_mpis | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system. Case of a block NxN entries. Expand each row. Parallel run without openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to an equation assembly structure |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_eblock_matrix_mpit | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system. Case of a block NxN entries. Expand each row. Parallel run with openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to an equation assembly structure |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_eblock_matrix_seqs | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system. Case of a block NxN entries. Expand each row. Sequential run without openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to an equation assembly structure |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_eblock_matrix_seqt | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system. Case of a block NxN entries. Expand each row. Sequential run with openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to an equation assembly structure |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_finalize | ( | void | ) |
Free matrix-related structures used during the simulation. Display overall statistic about the assembly stage for CDO schemes.
cs_equation_assemble_t* cs_equation_assemble_get | ( | int | t_id | ) |
Get a pointer to a cs_equation_assemble_t structure related to a given thread.
[in] | t_id | id in the array of pointer |
void cs_equation_assemble_init | ( | const cs_cdo_connect_t * | connect, |
cs_flag_t | vb_flag, | ||
cs_flag_t | vcb_flag, | ||
cs_flag_t | fb_flag, | ||
cs_flag_t | hho_flag | ||
) |
Allocate and initialize matrix-related structures according to the type of discretization used for this simulation.
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | vb_flag | metadata for Vb schemes |
[in] | vcb_flag | metadata for V+C schemes |
[in] | fb_flag | metadata for Fb schemes |
[in] | hho_flag | metadata for HHO schemes |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | time_step | pointer to a time step structure |
[in] | vb_flag | metadata for Vb schemes |
[in] | vcb_flag | metadata for V+C schemes |
[in] | fb_flag | metadata for Fb schemes |
[in] | hho_flag | metadata for HHO schemes |
void cs_equation_assemble_matrix_mpis | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system Scalar-valued case. Parallel without openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to a matrix assembler buffers |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_matrix_mpit | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system Scalar-valued case. Parallel and with openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to a matrix assembler buffers |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_matrix_seqs | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system Scalar-valued case. Sequential and without openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to a matrix assembler buffers |
[in,out] | mav | pointer to a matrix assembler structure |
Assemble a cellwise system into the global algebraic system Scalar-valued case. Sequential and without openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to a matrix assembler buffers |
[in,out] | mav | pointer to a matrix assembler structure |
void cs_equation_assemble_matrix_seqt | ( | const cs_cell_sys_t * | csys, |
const cs_range_set_t * | rset, | ||
cs_equation_assemble_t * | eqa, | ||
cs_matrix_assembler_values_t * | mav | ||
) |
Assemble a cellwise system into the global algebraic system Scalar-valued case. Sequential and with openMP threading.
[in] | csys | cellwise view of the algebraic system |
[in] | rset | pointer to a cs_range_set_t structure |
[in,out] | eqa | pointer to a matrix assembler buffers |
[in,out] | mav | pointer to a matrix assembler structure |
cs_equation_assembly_t* cs_equation_assemble_set | ( | cs_param_space_scheme_t | scheme, |
int | ma_id | ||
) |
Define the function pointer used to assemble the algebraic system.
[in] | scheme | space discretization scheme |
[in] | ma_id | id in the array of matrix assembler |
cs_matrix_structure_t* cs_equation_get_matrix_structure | ( | int | flag | ) |
Retrieve the pointer to a requested cs_matrix_structure_t structure.
[in] | flag_id | id in the array of matrix structures |