programmer's documentation
Functions | Variables
cs_cdo_main.c File Reference
#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_cdo.h"
#include "cs_quadrature.h"
#include "cs_sla.h"
#include "cs_param.h"
#include "cs_equation.h"
#include "cs_domain.h"
#include "cs_walldistance.h"
#include "cs_groundwater.h"
#include "cs_cdovb_scaleq.h"
#include "cs_cdofb_scaleq.h"
#include "cs_cdo_main.h"
Include dependency graph for cs_cdo_main.c:

Functions

static cs_domain_t_setup (cs_mesh_t *m, cs_mesh_quantities_t *mq)
 Setup a computation within the CDO framework. More...
 
static void _finalize (cs_domain_t **domain)
 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.4"
 

Function Documentation

static void _finalize ( cs_domain_t **  domain)
static

Free all structure allocated during the resolution with CDO schemes.

Parameters
[in,out]domainpointer to a cs_domain_t structure pointer
static cs_domain_t* _setup ( cs_mesh_t m,
cs_mesh_quantities_t mq 
)
static

Setup a computation within the CDO framework.

Parameters
[in,out]mpointer to a cs_mesh_t struct.
[in]mqpointer to a cs_quantities_t struct.
Returns
a pointer to a cs_domain_t structure
void cs_cdo_main ( cs_mesh_t m,
cs_mesh_quantities_t mq 
)

Main program for running a simulation with CDO kernel.

Parameters
[in,out]mpointer to a cs_mesh_t struct.
[in]mqpointer to a cs_quantities_t struct.

Variable Documentation

const char cs_cdoversion[] = "0.4"
static