PaStiX Handbook  6.2.1
cpucblk_sschur.c File Reference
#include "common/common.h"
#include "blend/solver.h"
#include <lapacke.h>
#include "pastix_scores.h"
#include "pastix_slrcores.h"

Go to the source code of this file.

Functions

static void cpucblk_sgetschur_lr (const SolverCblk *cblk, int upper_part, float *S, pastix_int_t lds)
 Extract a low-rank cblk panel to a dense lapack form. More...
 
static void cpucblk_sgetschur_fr (const SolverCblk *cblk, int upper_part, float *S, pastix_int_t lds)
 Extract a full-rank cblk panel to a dense lapack form. More...
 
void cpucblk_sgetschur (const SolverCblk *cblk, int upper_part, float *S, pastix_int_t lds)
 Extract a cblk panel of the Schur complement to a dense lapack form. More...
 

Detailed Description

Precision dependent routines to extract the Schur complement.

Version
6.2.0
Author
Gregoire Pichon
Mathieu Faverge
Date
2021-01-03
Generated arithmetic file\n from /builds/solverstack/pastix/kernels/cpucblk_zschur.c, normal z -> s, Tue Apr 12 09:38:40 2022

Definition in file cpucblk_sschur.c.

Function Documentation

◆ cpucblk_sgetschur_lr()

static void cpucblk_sgetschur_lr ( const SolverCblk cblk,
int  upper_part,
float *  S,
pastix_int_t  lds 
)
inlinestatic

Extract a low-rank cblk panel to a dense lapack form.

Parameters
[in]cblkThe column block to extract in the Schur array
[in]upper_partIf true, the upper part is also extracted in S.
[in,out]SThe pointer to the top of the column of the cblk in the Schur array. On exit, the computed coefficient are copy to this array.
[in]ldsThe leading dimension of the S array.

Definition at line 46 of file cpucblk_sschur.c.

References cblk_colnbr(), solver_cblk_s::cblktype, and solver_cblk_s::fblokptr.

◆ cpucblk_sgetschur_fr()

static void cpucblk_sgetschur_fr ( const SolverCblk cblk,
int  upper_part,
float *  S,
pastix_int_t  lds 
)
inlinestatic

Extract a full-rank cblk panel to a dense lapack form.

Parameters
[in]cblkThe column block to extract in the Schur array
[in]upper_partIf true, the upper part is also extracted in S.
[in,out]SThe pointer to the top of the column of the cblk in the Schur array. On exit, the computed coefficient are copy to this array.
[in]ldsThe leading dimension of the S array.

Definition at line 114 of file cpucblk_sschur.c.

References cblk_colnbr(), solver_cblk_s::cblktype, solver_cblk_s::fblokptr, solver_cblk_s::lcoeftab, and solver_cblk_s::ucoeftab.