My Project
programmer's documentation
|
Assembly of local cellwise system into a cs_matrix_t structure through the cs_matrix_assembler_t and its related structures. More...
#include "cs_defs.h"
#include <assert.h>
#include "bft_error.h"
#include "bft_mem.h"
#include "cs_log.h"
#include "cs_matrix_priv.h"
#include "cs_matrix_assembler_priv.h"
#include "cs_matrix_assembler.h"
#include "cs_param_cdo.h"
#include "cs_parall.h"
#include "cs_sort.h"
#include "cs_timer.h"
#include "cs_equation_assemble.h"
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_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. 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_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... | |
Assembly of local cellwise system into a cs_matrix_t structure through the cs_matrix_assembler_t and its related structures.
This function are specific to CDO schemes. Thus one can assume a more specific behavior in order to get a more optimzed version of the standard assembly process.
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_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] | 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_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.
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 |