programmer's documentation
Functions
cs_user_cdo.c File Reference

Set main parameters for the current simulation when the CDO kernel is used. More...

#include "cs_defs.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <bft_mem.h>
#include <bft_printf.h>
#include "cs_domain.h"
#include "cs_prototypes.h"
Include dependency graph for cs_user_cdo.c:

Functions

bool cs_user_cdo_activated (void)
 Activate or not the CDO module. More...
 
void cs_user_cdo_add_mesh_locations (void)
 Specify additional mesh locations. More...
 
void cs_user_cdo_init_domain (cs_domain_t *domain)
 Specify for the computational domain: – which type of boundaries closed the computational domain – the settings for the time step – activate predefined equations or modules – add user-defined properties and/or advection fields – add user-defined equations. More...
 
void cs_user_cdo_set_domain (cs_domain_t *domain)
 
  • Specify the elements such as properties, advection fields, user-defined equations and modules which have been previously added.
More...
 

Detailed Description

Set main parameters for the current simulation when the CDO kernel is used.

Function Documentation

bool cs_user_cdo_activated ( void  )

Activate or not the CDO module.

(end ignore by Doxygen)

void cs_user_cdo_add_mesh_locations ( void  )

Specify additional mesh locations.

void cs_user_cdo_init_domain ( cs_domain_t domain)

Specify for the computational domain: – which type of boundaries closed the computational domain – the settings for the time step – activate predefined equations or modules – add user-defined properties and/or advection fields – add user-defined equations.

Specify for the computational domain: – which type of boundaries closed the computational domain – the settings for the time step.

Parameters
[in,out]domainpointer to a cs_domain_t structure
void cs_user_cdo_set_domain ( cs_domain_t domain)

  • Specify the elements such as properties, advection fields, user-defined equations and modules which have been previously added.

Associate material property and/or convection field to user-defined equations and specify boundary conditions, source terms, initial values for these additional equations.

Parameters
[in,out]domainpointer to a cs_domain_t structure