PaStiX Handbook 6.4.0
Loading...
Searching...
No Matches
solver_matrix_gen_utils.c File Reference
#include "common.h"
#include "symbol/symbol.h"
#include "blend/solver.h"
#include "elimintree.h"
#include "cost.h"
#include "cand.h"
#include "pastix/order.h"
#include "extendVector.h"
#include "simu.h"
#include "solver_matrix_gen_utils.h"

Go to the source code of this file.

Functions

void solvMatGen_fill_localnums (const symbol_matrix_t *symbmtx, const SimuCtrl *simuctrl, SolverMatrix *solvmtx, pastix_int_t *cblklocalnum, pastix_int_t *bloklocalnum, pastix_int_t *tasklocalnum, solver_cblk_recv_t **ftgttab, pastix_int_t *faninnbr_tab)
 Fill the local numbering arrays to compress the symbol information into solver.
 
pastix_int_t solvMatGen_reorder_browtab (const symbol_matrix_t *symbmtx, const symbol_cblk_t *symbcblk, SolverMatrix *solvmtx, SolverCblk *solvcblk, pastix_int_t *browtmp, const pastix_int_t *cblklocalnum, const pastix_int_t *bloklocalnum, pastix_int_t brownum)
 Reorder the browtab from the symbol structure in a distributed way. First stock the 1D blocks and then the 2D blocks.
 
void solvMatGen_fill_ttsktab (isched_thread_t *ctx, void *args)
 Fill the ttsktab for it's own thread.
 
void solvMatGen_fill_ttsktab_dbg (isched_thread_t *ctx, void *args)
 Fill in ttsktab for it's own thread. Only for debugging factorization.
 
void solvMatGen_fill_tasktab (SolverMatrix *solvmtx, isched_t *isched, const SimuCtrl *simuctrl, const pastix_int_t *tasklocalnum, const pastix_int_t *cblklocalnum, const pastix_int_t *bloklocalnum, pastix_int_t clustnum, int is_dbg)
 Fill the global tasktab array, as well as the thread ttsktab arrays.
 
void solvMatGen_max_buffers (SolverMatrix *solvmtx)
 Compute the maximum area of the temporary buffers used during computation.
 
void solvMatGen_stats_last (SolverMatrix *solvmtx)
 Mark blocks if they belong to the last supernode, or if they are facing it for statistical purpose only.
 
SolverBloksolvMatGen_register_local_cblk (const symbol_matrix_t *symbmtx, const Cand *candcblk, const pastix_int_t *cblklocalnum, SolverCblk *solvcblk, SolverBlok *solvblok, pastix_int_t lcblknm, pastix_int_t brownum, pastix_int_t gcblknm, pastix_int_t ownerid)
 Register a local cblk from a symbol_cblk_t structure !(Fanin|Recv)
 
SolverBloksolvMatGen_register_remote_cblk (const SolverMatrix *solvmtx, const symbol_matrix_t *symbmtx, const solver_cblk_recv_t *recvcblk, const Cand *candcblk, const pastix_int_t *cblklocalnum, SolverCblk *solvcblk, SolverBlok *solvblok, pastix_int_t lcblknm, pastix_int_t brownum, pastix_int_t gcblknm, pastix_int_t *faninnbr_tab)
 Register a remote cblk from a solver_recv_cblk_t structure (Fanin|Recv)
 

Detailed Description

PaStiX solver structure generation functions to factorize solver_matric_gen.c .

Version
6.4.0
Author
Tony Delarue
Pascal Henon
Pierre Ramet
Xavier Lacoste
Mathieu Faverge
Alycia Lisito
Nolan Bredel
Date
2024-07-05

Definition in file solver_matrix_gen_utils.c.