8.0
general documentation
cs_navsto_sles.c File Reference

Functions to handle SLES structures used during the resolution of the Navier-Stokes system of equations. More...

#include "cs_defs.h"
#include <assert.h>
#include <bft_error.h>
#include "cs_fp_exception.h"
#include "cs_navsto_param.h"
#include "cs_navsto_sles.h"
+ Include dependency graph for cs_navsto_sles.c:

Functions

void cs_user_navsto_sles_solve (const cs_navsto_param_sles_t *nslesp, cs_saddle_system_t *ssys, cs_saddle_block_precond_t *sbp, cs_real_t *x1, cs_real_t *x2, cs_iter_algo_t *algo)
 User-defined algorithm to solve a saddle point problem (the system is stored in a hybrid way). Please refer to cs_saddle_system_t structure and cs_saddle_block_precond_t structure definitions. More...
 

Detailed Description

Functions to handle SLES structures used during the resolution of the Navier-Stokes system of equations.

Function Documentation

◆ cs_user_navsto_sles_solve()

void cs_user_navsto_sles_solve ( const cs_navsto_param_sles_t nslesp,
cs_saddle_system_t ssys,
cs_saddle_block_precond_t sbp,
cs_real_t x1,
cs_real_t x2,
cs_iter_algo_t algo 
)

User-defined algorithm to solve a saddle point problem (the system is stored in a hybrid way). Please refer to cs_saddle_system_t structure and cs_saddle_block_precond_t structure definitions.

Parameters
[in]nslesppointer to a cs_navsto_param_sles_t structure
[in]ssyspointer to a cs_saddle_system_t structure
[in,out]sbpBlock-preconditioner for the Saddle-point problem
[in,out]x1array for the first part
[in,out]x2array for the second part
[in,out]algopointer to a cs_iter_algo_t structure