8.0
general documentation
Loading...
Searching...
No Matches
cs_navsto_sles.h File Reference
#include "cs_iter_algo.h"
#include "cs_navsto_param.h"
#include "cs_saddle_itsol.h"
Include dependency graph for cs_navsto_sles.h:

Go to the source code of this file.

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 *ia)
 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.
void cs_navsto_sles_amg_block_hook (void *context, void *ksp_struct)

Function Documentation

◆ cs_navsto_sles_amg_block_hook()

void cs_navsto_sles_amg_block_hook ( void * context,
void * ksp_struct )

◆ 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]iapointer to a cs_iter_algo_t structure
[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