8.3
general documentation
cs_cdo_main.h File Reference
#include "cs_base.h"
#include "cs_domain.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
+ Include dependency graph for cs_cdo_main.h:

Go to the source code of this file.

Functions

void cs_cdo_solve_steady_state_domain (void)
 Solve only steady-state equations. More...
 
void cs_cdo_solve_unsteady_state_domain (void)
 Solve all the equations of a computational domain for one time step. More...
 
void cs_cdo_initialize_setup (cs_domain_t *domain)
 Initialize the computational domain when CDO/HHO schemes are activated and cs_user_model() has been called At this stage of the settings, mesh quantities and adjacencies are not defined. Only the major moddeling options are set. The related equations and main properties have been added. More...
 
void cs_cdo_initialize_structures (cs_domain_t *domain, cs_mesh_t *m, cs_mesh_quantities_t *mq)
 Build additional connectivities and quantities when CDO/HHO schemes are activated. Finalize the setup and from the settings, define the structures related to equations and modules. More...
 
void cs_cdo_finalize (cs_domain_t *domain)
 Free all structures allocated during the resolution of CDO/HHO schemes. More...
 
void cs_cdo_is_initialized (bool *setup, bool *structures)
 Check if CDO has been initialized. More...
 
void cs_cdo_main (cs_domain_t *domain)
 Main program for running a simulation with the CDO kernel. More...
 

Function Documentation

◆ cs_cdo_finalize()

void cs_cdo_finalize ( cs_domain_t domain)

Free all structures allocated during the resolution of CDO/HHO schemes.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_cdo_initialize_setup()

void cs_cdo_initialize_setup ( cs_domain_t domain)

Initialize the computational domain when CDO/HHO schemes are activated and cs_user_model() has been called At this stage of the settings, mesh quantities and adjacencies are not defined. Only the major moddeling options are set. The related equations and main properties have been added.

Parameters
[in,out]domainpointer to a cs_domain_t structure

Initialize the computational domain when CDO/HHO schemes are activated and cs_user_model() has been called At this stage of the settings, mesh quantities and adjacencies are not defined. Only the major moddeling options are set. The related equations and main properties have been added.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_cdo_initialize_structures()

void cs_cdo_initialize_structures ( cs_domain_t domain,
cs_mesh_t m,
cs_mesh_quantities_t mq 
)

Build additional connectivities and quantities when CDO/HHO schemes are activated. Finalize the setup and from the settings, define the structures related to equations and modules.

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

◆ cs_cdo_is_initialized()

void cs_cdo_is_initialized ( bool *  setup,
bool *  structures 
)

Check if CDO has been initialized.

Parameters
[in,out]setupindicator if setup has been initialized, or null if not queried
[in,out]structuresindicator if structures have been initialized, or null if not queried
[in,out]setupindicator if setup has been initialized, or nullptr if not queried
[in,out]structuresindicator if structures have been initialized, or nullptr if not queried

◆ cs_cdo_main()

void cs_cdo_main ( cs_domain_t domain)

Main program for running a simulation with the CDO kernel.

Parameters
[in,out]domainpointer to a cs_domain_t structure

Main program for running a simulation with the CDO kernel.

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_cdo_solve_steady_state_domain()

void cs_cdo_solve_steady_state_domain ( void  )

Solve only steady-state equations.

◆ cs_cdo_solve_unsteady_state_domain()

void cs_cdo_solve_unsteady_state_domain ( void  )

Solve all the equations of a computational domain for one time step.