My Project
programmer's documentation
Functions
cs_walldistance.h File Reference
#include "cs_base.h"
#include "cs_equation.h"
Include dependency graph for cs_walldistance.h:

Go to the source code of this file.

Functions

bool cs_walldistance_is_activated (void)
 Test if the computation of the wall distance is activated. More...
 
void cs_walldistance_activate (void)
 Activate the future computation of the wall distance. More...
 
void cs_walldistance_setup (void)
 Setup the equation related to the wall distance. More...
 
void cs_walldistance_finalize_setup (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq)
 Finalize the setup stage for the equation related to the wall distance. Only useful for Hamilton-Jacobi equation. More...
 
void cs_walldistance_compute (const cs_mesh_t *mesh, const cs_time_step_t *time_step, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq)
 Compute the wall distance. More...
 

Function Documentation

◆ cs_walldistance_activate()

void cs_walldistance_activate ( void  )

Activate the future computation of the wall distance.

◆ cs_walldistance_compute()

void cs_walldistance_compute ( const cs_mesh_t mesh,
const cs_time_step_t time_step,
const cs_cdo_connect_t connect,
const cs_cdo_quantities_t cdoq 
)

Compute the wall distance.

Parameters
[in]meshpointer to a cs_mesh_t structure
[in]time_steppointer to a cs_time_step_t structure
[in]connectpointer to a cs_cdo_connect_t structure
[in]cdoqpointer to a cs_cdo_quantities_t structure

◆ cs_walldistance_finalize_setup()

void cs_walldistance_finalize_setup ( const cs_cdo_connect_t connect,
const cs_cdo_quantities_t cdoq 
)

Finalize the setup stage for the equation related to the wall distance. Only useful for Hamilton-Jacobi equation.

Parameters
[in]connectpointer to a cs_cdo_connect_t structure
[in]cdoqpointer to a cs_cdo_quantities_t structure

◆ cs_walldistance_is_activated()

bool cs_walldistance_is_activated ( void  )

Test if the computation of the wall distance is activated.

Returns
true if the wall distance computation is requested, false otherwise

◆ cs_walldistance_setup()

void cs_walldistance_setup ( void  )

Setup the equation related to the wall distance.