Go to the source code of this file.
◆ cs_cdocb_monolithic_set_sles()
Start setting-up the equations when a monolithic algorithm is used to couple the system. No mesh information is available at this stage.
- Parameters
-
[in] | eqp | pointer to a cs_equation_param_t structure |
[in,out] | context | pointer to a context structure cast on-the-fly |
Start setting-up the equations when a monolithic algorithm is used to couple the system. No mesh information is available at this stage.
- Parameters
-
[in] | eqp | pointer to a cs_equation_param_t structure |
[in,out] | context | pointer to a context structure cast on-the-fly |
◆ cs_cdocb_monolithic_sles_clean()
Free a part of the structure.
- Parameters
-
[in,out] | msles | pointer to the structure to clean |
◆ cs_cdocb_monolithic_sles_create()
Create an empty cs_cdocb_monolithic_sles_t structure.
- Parameters
-
[in] | n_faces | number of faces (interior + border) |
[in] | n_cells | number of cells |
- Returns
- a pointer to a newly allocated structure
◆ cs_cdocb_monolithic_sles_finalize()
void cs_cdocb_monolithic_sles_finalize |
( |
void |
| ) |
|
Free if needed structure(s) associated CDO cell-based schemes with a monolithic velocity-pressure coupling.
◆ cs_cdocb_monolithic_sles_free()
◆ cs_cdocb_monolithic_sles_init_sharing()
Set pointers to shared structures.
- Parameters
-
[in] | connect | pointer to cdo connectivities |
[in] | quant | pointer to additional mesh quantities |
◆ cs_cdocb_monolithic_solve()
Solve a linear system arising from the discretization of the Navier-Stokes equation with a CDO cell-based approach. The full system is treated as one block and solved as it is. In this situation, PETSc or MUMPS are usually considered.
- Parameters
-
- Returns
- the (cumulated) number of iterations of the solver
Solve a linear system arising from the discretization of the Navier-Stokes equation with a CDO cell-based approach. The full system is treated as one block and solved as it is. In this situation, PETSc or MUMPS are usually considered.
- Parameters
-
- Returns
- the (cumulated) number of iterations of the solver