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) |
This function is called at startup and allows overloading the GUI defined initialization functions. More... | |
void | cs_user_initialization (cs_domain_t *domain) |
This function is called one time step to initialize problem. More... | |
Initialization prior to solving time steps.
Initialize variables.
Define initial conditions for variables.
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 |
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 |
void cs_user_initial_conditions | ( | cs_domain_t * | domain | ) |
This function is called at startup and allows overloading the GUI defined initialization functions.
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 | ) |
This function is called one time step to initialize problem.
[in,out] | domain | pointer to a cs_domain_t structure |