|
programmer's documentation
|
#include "cs_defs.h"#include <math.h>#include <assert.h>#include <bft_error.h>#include <bft_mem.h>#include <bft_printf.h>#include <fvm_defs.h>#include "cs_base.h"#include "cs_timer.h"#include "cs_log.h"#include "cs_post.h"#include "cs_prototypes.h"#include "cs_mesh_location.h"#include "cs_sles.h"#include "cs_sles_default.h"#include "cs_sles_it.h"#include "cs_multigrid.h"#include "cs_cdo.h"#include "cs_quadrature.h"#include "cs_param.h"#include "cs_param_eq.h"#include "cs_cdo_connect.h"#include "cs_cdo_quantities.h"#include "cs_sla.h"#include "cs_cdovb_codits.h"#include "cs_cdofb_codits.h"#include "cs_cdo_main.h"
Macros | |
| #define | CS_CDOEQ_VB 0 |
| #define | CS_CDOEQ_FB 1 |
| #define | CS_N_TYPES_OF_CDOEQS 2 |
Functions | |
| static void | _init_linear_solver (const cs_param_eq_t *eq) |
| Initialize linear solver. More... | |
| static void | _create_algebraic_systems (const cs_mesh_t *m, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq) |
| Allocate and initialize algebraic for equation to solve. More... | |
| static void | _solve (const cs_mesh_t *m, const cs_mesh_quantities_t *mq, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, double tcur) |
| Solve Navier-Stokes equations and/or additional equations. More... | |
| static void | _finalize (void) |
| Free all structure allocated during the resolution with CDO schemes. More... | |
| void | cs_cdo_main (cs_mesh_t *m, cs_mesh_quantities_t *mq) |
| Main program for running a simulation with CDO kernel. More... | |
Variables | |
| static const char | cs_cdoversion [] = "0.1.1" |
| static int | cs_cdo_n_equations = 0 |
| static int | n_cdo_equations_by_type [CS_N_TYPES_OF_CDOEQS] |
| #define CS_CDOEQ_FB 1 |
| #define CS_CDOEQ_VB 0 |
| #define CS_N_TYPES_OF_CDOEQS 2 |
|
static |
Allocate and initialize algebraic for equation to solve.
| [in] | m | pointer to a cs_mesh_t struct. |
| [in] | mq | pointer to a cs_quantities_t struct. |
| [in] | connect | pointer to a cs_cdo_connect_t struct. |
| [in] | cdoq | pointer to a cs_cdo_quantities_t struct. |
|
static |
Free all structure allocated during the resolution with CDO schemes.
|
static |
Initialize linear solver.
| [in] | eq | pointer to a cs_param_eq_t structure |
|
static |
Solve Navier-Stokes equations and/or additional equations.
| [in] | m | pointer to a cs_mesh_t struct. |
| [in] | mq | pointer to a cs_quantities_t struct. |
| [in] | connect | pointer to a cs_cdo_connect_t struct. |
| [in] | cdoq | pointer to a cs_cdo_quantities_t struct. |
| [in] | tcur | current physical time of the simulation |
| void cs_cdo_main | ( | cs_mesh_t * | m, |
| cs_mesh_quantities_t * | mq | ||
| ) |
Main program for running a simulation with CDO kernel.
| [in,out] | m | pointer to a cs_mesh_t struct. |
| [in] | mq | pointer to a cs_quantities_t struct. |
|
static |
|
static |
|
static |
1.8.7