8.3
general documentation
cs_cdocb_priv.h File Reference
#include "cs_cdo_assembly.h"
#include "cs_equation_bc.h"
#include "cs_equation_builder.h"
#include "cs_equation_param.h"
#include "cs_hodge.h"
#include "cs_saddle_solver.h"
+ Include dependency graph for cs_cdocb_priv.h:

Go to the source code of this file.

Data Structures

struct  cs_cdocb_scaleq_t
 

Typedefs

typedef void() cs_cdocb_scaleq_assemble_t(const cs_cell_sys_t *csys, const cs_cell_mesh_t *cm, cs_cdocb_scaleq_t *eqc, cs_cdo_assembly_t *asb)
 Perform the assembly stage for a vector-valued system obtained with CDO-Fb schemes. More...
 
typedef int() cs_cdocb_scaleq_solve_t(cs_saddle_solver_t *saddle, cs_real_t *flux, cs_real_t *pot)
 Generic function prototype to solve the saddle-point linear system arising from the discretization of the scalar-valued CDO cell-based scheme. More...
 

Functions

void cs_cdocb_init_default_param (cs_equation_param_t *eqp)
 Define the default settings for a scalar-valued CDO cell-based scheme. More...
 

Typedef Documentation

◆ cs_cdocb_scaleq_assemble_t

typedef void() cs_cdocb_scaleq_assemble_t(const cs_cell_sys_t *csys, const cs_cell_mesh_t *cm, cs_cdocb_scaleq_t *eqc, cs_cdo_assembly_t *asb)

Perform the assembly stage for a vector-valued system obtained with CDO-Fb schemes.

Parameters
[in]csyspointer to a cs_cell_sys_t structure
[in]cmpointer to a cs_cell_mesh_t structure
[in,out]eqccontext structure for a scalar-valued Cb equation
[in,out]asbpointer to cs_cdo_assembly_t

◆ cs_cdocb_scaleq_solve_t

typedef int() cs_cdocb_scaleq_solve_t(cs_saddle_solver_t *saddle, cs_real_t *flux, cs_real_t *pot)

Generic function prototype to solve the saddle-point linear system arising from the discretization of the scalar-valued CDO cell-based scheme.

Parameters
[in,out]solverpointer to a cs_saddle_solver_t structure
[in,out]fluxvalues of the flux at faces (scalar)
[in,out]potvalues of the potential in cells
Returns
the (cumulated) number of iterations of the solver

Function Documentation

◆ cs_cdocb_init_default_param()

void cs_cdocb_init_default_param ( cs_equation_param_t eqp)

Define the default settings for a scalar-valued CDO cell-based scheme.

Parameters
[in,out]eqpset of equation parameters