programmer's documentation
Functions
cs_domain_setup.c File Reference

Routines to handle the setup of a computational domain High level interface for handling the computation. More...

#include "cs_defs.h"
#include <assert.h>
#include "bft_mem.h"
#include "cs_boundary_zone.h"
#include "cs_domain_post.h"
#include "cs_evaluate.h"
#include "cs_equation.h"
#include "cs_equation_common.h"
#include "cs_equation_param.h"
#include "cs_gwf.h"
#include "cs_hodge.h"
#include "cs_log.h"
#include "cs_log_iteration.h"
#include "cs_mesh_deform.h"
#include "cs_mesh_location.h"
#include "cs_navsto_system.h"
#include "cs_parall.h"
#include "cs_prototypes.h"
#include "cs_source_term.h"
#include "cs_time_step.h"
#include "cs_walldistance.h"
#include "cs_domain_setup.h"
Include dependency graph for cs_domain_setup.c:

Functions

void cs_domain_update_advfield (cs_domain_t *domain)
 Set to true the automatic update of all advection fields. More...
 
void cs_domain_update_wall_zones (cs_domain_t *domain)
 Add a new zone gathering all CS_DOMAIN_BOUNDARY_WALL zone type. More...
 
void cs_domain_setup_predefined_equations (cs_domain_t *domain)
 Setup predefined equations which are activated. At this stage, no equation is added and the space discretization scheme and the related numerical parameters are set. More...
 
void cs_domain_set_scheme_flags (cs_domain_t *domain)
 Define the scheme flags for the current computational domain Requirement: domain->cdo_context is alloctated. More...
 
void cs_domain_finalize_setup (cs_domain_t *domain, cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
 Build a cs_domain_t structure. More...
 
void cs_domain_initialize_systems (cs_domain_t *domain)
 Initialize systems of equations and their related field values according to the user settings. More...
 

Detailed Description

Routines to handle the setup of a computational domain High level interface for handling the computation.

Function Documentation

◆ cs_domain_finalize_setup()

void cs_domain_finalize_setup ( cs_domain_t domain,
cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities 
)

Build a cs_domain_t structure.

Parameters
[in,out]domainpointer to a cs_domain_t struct.
[in,out]meshpointer to a cs_mesh_t struct.
[in]mesh_quantitiespointer to a cs_mesh_quantities_t struct.

◆ cs_domain_initialize_systems()

void cs_domain_initialize_systems ( cs_domain_t domain)

Initialize systems of equations and their related field values according to the user settings.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_domain_set_scheme_flags()

void cs_domain_set_scheme_flags ( cs_domain_t domain)

Define the scheme flags for the current computational domain Requirement: domain->cdo_context is alloctated.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_domain_setup_predefined_equations()

void cs_domain_setup_predefined_equations ( cs_domain_t domain)

Setup predefined equations which are activated. At this stage, no equation is added and the space discretization scheme and the related numerical parameters are set.

Setup predefined equations which are activated At this stage, no equation is added and the space discretization scheme and the related numerical parameters are set.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_domain_update_advfield()

void cs_domain_update_advfield ( cs_domain_t domain)

Set to true the automatic update of all advection fields.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_domain_update_wall_zones()

void cs_domain_update_wall_zones ( cs_domain_t domain)

Add a new zone gathering all CS_DOMAIN_BOUNDARY_WALL zone type.

Parameters
[in]domainpointer to a cs_domain_t structure