PaStiX Handbook  6.3.2
solver.c File Reference
#include "common.h"
#include "blend/solver.h"
#include "blend/solver_comm_matrix.h"
#include "sopalin/coeftab.h"

Go to the source code of this file.

Functions

static size_t solver_size (const SolverMatrix *solvptr)
 Compute the memory size used by the solver sturcture itself. More...
 
void solverInit (SolverMatrix *solvmtx)
 Initialize the solver structure. More...
 
void solverExit (SolverMatrix *solvmtx)
 Free the content of the solver matrix structure. More...
 
void solverPrintStats (const SolverMatrix *solvptr)
 Print statistical information about the solver matrix structure. More...
 
void solverRequestInit (solve_step_t solve_step, SolverMatrix *solvmtx)
 Instanciate the arrays for the requests according to the scheduler. More...
 
void solverRequestExit (SolverMatrix *solvmtx)
 Free the arrays related to the requests. More...
 
void solverRecvInit (pastix_coefside_t side, SolverMatrix *solvmtx, pastix_coeftype_t flttype)
 Allocate the reception buffer, and initiate the first persistant reception. More...
 
void solverRecvExit (SolverMatrix *solvmtx)
 Free the array linked to pending reception. More...
 
static pastix_int_t solverRhsRecvMax (SolverMatrix *solvmtx)
 Computes the max size of recv cblk. More...
 
void solverRhsRecvInit (solve_step_t solve_step, SolverMatrix *solvmtx, pastix_coeftype_t flttype, pastix_rhs_t rhsb)
 Allocates the reception buffer, and initiate the first persistant reception. More...
 
void solverRhsRecvExit (SolverMatrix *solvmtx)
 Frees the array linked to pending reception. More...
 

Detailed Description

PaStiX solver structure basic functions.

Version
6.3.2
Author
Mathieu Faverge
Pierre Ramet
Xavier Lacoste
Tony Delarue
Date
2023-12-11

Definition in file solver.c.

Function Documentation

◆ solver_size()

static size_t solver_size ( const SolverMatrix solvptr)
inlinestatic

Compute the memory size used by the solver sturcture itself.

This function doesn't count the memory space of the numerical information, but only the sapce of the data structure that describes the matrix.

Parameters
[in]solvptrThe pointer to the solver matrix structure.
Returns
the memory size in octet of the solver structure.

Definition at line 51 of file solver.c.

Referenced by solverPrintStats().