Initialization prior to solving time steps. More...
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <ple_coupling.h>
#include "cs_headers.h"
Functions | |
void | cs_user_initial_conditions (cs_domain_t *domain) |
Define initial conditions for variables. More... | |
void | cs_user_initialization (cs_domain_t *domain) |
Initialize variables. More... | |
Initialization prior to solving time steps.
void cs_user_initial_conditions | ( | cs_domain_t * | domain | ) |
Define initial conditions for variables.
This function is called at startup and allows overloading the GUI defined initialization functions.
This function is not yet called by code_saturne, use cs_user_initialization
for the time being This function is called before the beginning of the computation allowing an overload of the GUI defined initialization (called just after cs_gui_initial_conditions).
[in,out] | domain | pointer to a cs_domain_t structure |
void cs_user_initialization | ( | cs_domain_t * | domain | ) |
Initialize variables.
This function is called one time step to initialize problem.
This function is called at beginning of the computation (restart or not) before the time step loop.
This is intended to initialize or modify (when restarted) variable and time step values.
[in,out] | domain | pointer to a cs_domain_t structure |