Routines to handle the set of parameters for algebraic multigrids (AMG) like boomerAMG of the HYPRE library, GAMG of the PETSc library or the Notay's K-cycle (in-house implementation) for instance
Handle the settings of saddle-point systems. These systems arise from the monolithic coupling of the Navier-Stokes equations or in mixed formulation of scalar-valued equations
Handle the settings of saddle-point systems. These systems arise from the monolithic coupling of the Navier-Stokes equations or in mixed formulation of scalar-valued equations
Compute radiative fluxes for the atmospheric model. Computes the source term for scalar equations from radiative forcing (UV and IR radiative fluxes) with a 1D scheme
This subroutine performs the solving the convection/diffusion equation (with eventually source terms and/or drift) for a field quantity over a time step
Set of functions and structures to handle the assembly of cellwise local CDO systems into a cs_matrix_t structure through the cs_matrix_assembler_t and its related structures
Build an algebraic CDO face-based system for the Navier-Stokes equations and solved it with a prediction/correction algorithm. A first equation related to the velocity prediction is solved and then a second equation related to the pressure correction is solved to project the velocity field into the space of divergence-free field
Set of functions to manage high-level iterative algorithms such as Uzawa, Golub-Kahan Bi-orthogonalization, block preconditioner or Picard and Anderson algorithms which may incorporate inner iterative solvers
Functions to handle structures used as a context when solving the Navier-Stokes equations. Structures are cast on-the-fly according to the type of coupling
Functions to handle the cs_thermal_system_t structure. This module can be used stand alone or linked with another module such as Navier-Stokes, groundwater flows or Maxwell... The temperature field is automatically defined when this module is activated
Main functions dedicated to the modelling of two-phase flows in a porous media. This media is always considered as unsaturated. Two sub-models are considered: miscible (MTPF) or immiscible (ITPF)