7.1
general documentation
cs_sat_coupling.h File Reference
#include "fvm_defs.h"
#include "fvm_nodal.h"
#include "cs_base.h"
+ Include dependency graph for cs_sat_coupling.h:

Go to the source code of this file.

Typedefs

typedef struct _cs_sat_coupling_t cs_sat_coupling_t
 
typedef void() cs_sat_coupling_tag_t(void *context, fvm_nodal_t *mesh, cs_lnum_t n_points, cs_lnum_t point_list_base, const cs_lnum_t point_list[], int *point_tag)
 

Functions

void nbccpl (int *nbrcpl)
 
void defloc (const int *numcpl)
 
void nbecpl (const int *numcpl, cs_lnum_t *ncesup, cs_lnum_t *nfbsup, cs_lnum_t *ncecpl, cs_lnum_t *nfbcpl, cs_lnum_t *ncencp, cs_lnum_t *nfbncp)
 
void lelcpl (const int *numcpl, const cs_lnum_t *ncecpl, const cs_lnum_t *nfbcpl, cs_lnum_t *lcecpl, cs_lnum_t *lfbcpl)
 
void lencpl (const int *numcpl, const cs_lnum_t *ncencp, const cs_lnum_t *nfbncp, cs_lnum_t *lcencp, cs_lnum_t *lfbncp)
 
void npdcpl (const int *numcpl, cs_lnum_t *ncedis, cs_lnum_t *nfbdis)
 
void coocpl (const int *numcpl, const cs_lnum_t *nbrpts, const int *itydis, int *ityloc, cs_lnum_t *locpts, cs_real_t *coopts, cs_real_t *djppts, cs_real_t *dofpts, cs_real_t *pndpts)
 
void pondcp (const int *numcpl, const cs_lnum_t *nbrpts, int *ityloc, cs_real_t *pndcpl, cs_real_t *distof)
 
void varcpl (const int *numcpl, const cs_lnum_t *nbrdis, const cs_lnum_t *nbrloc, const int *ityvar, const cs_lnum_t *stride, cs_real_t *vardis, cs_real_t *varloc)
 
void tbicpl (const int *numcpl, const cs_lnum_t *nbrdis, const cs_lnum_t *nbrloc, cs_lnum_t *vardis, cs_lnum_t *varloc)
 
void tbrcpl (const int *numcpl, const cs_lnum_t *nbrdis, const cs_lnum_t *nbrloc, cs_real_t *vardis, cs_real_t *varloc)
 
void mxicpl (const int *const numcpl, cs_lnum_t *const vardis, cs_lnum_t *const varmax)
 
void cs_sat_coupling_define (const char *saturne_name, const char *boundary_cpl_criteria, const char *volume_cpl_criteria, const char *boundary_loc_criteria, const char *volume_loc_criteria, int verbosity)
 Define new Code_Saturne coupling. More...
 
int cs_sat_coupling_n_couplings (void)
 
cs_sat_coupling_tcs_sat_coupling_by_id (int coupling_id)
 
void cs_sat_coupling_add (const char *face_cpl_sel_c, const char *cell_cpl_sel_c, const char *face_loc_sel_c, const char *cell_loc_sel_c, const char *sat_name, int verbosity)
 
void cs_sat_coupling_add_internal (cs_sat_coupling_tag_t *tag_func, void *tag_context, const char *boundary_cpl_criteria, const char *volume_cpl_criteria, const char *boundary_loc_criteria, const char *volume_loc_criteria, float loc_tolerance, int verbosity)
 
void cs_sat_coupling_all_init (void)
 
void cs_sat_coupling_all_finalize (void)
 

Typedef Documentation

◆ cs_sat_coupling_t

typedef struct _cs_sat_coupling_t cs_sat_coupling_t

◆ cs_sat_coupling_tag_t

typedef void() cs_sat_coupling_tag_t(void *context, fvm_nodal_t *mesh, cs_lnum_t n_points, cs_lnum_t point_list_base, const cs_lnum_t point_list[], int *point_tag)

Function Documentation

◆ coocpl()

void coocpl ( const int *  numcpl,
const cs_lnum_t nbrpts,
const int *  itydis,
int *  ityloc,
cs_lnum_t locpts,
cs_real_t coopts,
cs_real_t djppts,
cs_real_t dofpts,
cs_real_t pndpts 
)

◆ cs_sat_coupling_add()

void cs_sat_coupling_add ( const char *  face_cpl_sel_c,
const char *  cell_cpl_sel_c,
const char *  face_loc_sel_c,
const char *  cell_loc_sel_c,
const char *  sat_name,
int  verbosity 
)

◆ cs_sat_coupling_add_internal()

void cs_sat_coupling_add_internal ( cs_sat_coupling_tag_t tag_func,
void *  tag_context,
const char *  boundary_cpl_criteria,
const char *  volume_cpl_criteria,
const char *  boundary_loc_criteria,
const char *  volume_loc_criteria,
float  loc_tolerance,
int  verbosity 
)

◆ cs_sat_coupling_all_finalize()

void cs_sat_coupling_all_finalize ( void  )

◆ cs_sat_coupling_all_init()

void cs_sat_coupling_all_init ( void  )

◆ cs_sat_coupling_by_id()

cs_sat_coupling_t* cs_sat_coupling_by_id ( int  coupling_id)

◆ cs_sat_coupling_define()

void cs_sat_coupling_define ( const char *  saturne_name,
const char *  boundary_cpl_criteria,
const char *  volume_cpl_criteria,
const char *  boundary_loc_criteria,
const char *  volume_loc_criteria,
int  verbosity 
)

Define new Code_Saturne coupling.

The arguments to cs_sat_coupling_define are:

Parameters
[in]saturne_namematching Code_Saturne application name
[in]boundary_cpl_criteriaboundary face selection criteria for coupled faces, or NULL
[in]volume_cpl_criteriacell selection criteria for coupled cells, or NULL
[in]boundary_loc_criteriaboundary face selection criteria for location (not functional)
[in]volume_loc_criteriacell selection criteria for location
[in]verbosityverbosity level

In the case of only 2 Code_Saturne instances, the 'saturne_name' argument is ignored, as there is only one matching possibility.

In case of multiple couplings, a coupling will be matched with available Code_Saturne instances based on the 'saturne_name' argument.

◆ cs_sat_coupling_n_couplings()

int cs_sat_coupling_n_couplings ( void  )

◆ defloc()

void defloc ( const int *  numcpl)

◆ lelcpl()

void lelcpl ( const int *  numcpl,
const cs_lnum_t ncecpl,
const cs_lnum_t nfbcpl,
cs_lnum_t lcecpl,
cs_lnum_t lfbcpl 
)

◆ lencpl()

void lencpl ( const int *  numcpl,
const cs_lnum_t ncencp,
const cs_lnum_t nfbncp,
cs_lnum_t lcencp,
cs_lnum_t lfbncp 
)

◆ mxicpl()

void mxicpl ( const int *const  numcpl,
cs_lnum_t *const  vardis,
cs_lnum_t *const  varmax 
)

◆ nbccpl()

void nbccpl ( int *  nbrcpl)

◆ nbecpl()

void nbecpl ( const int *  numcpl,
cs_lnum_t ncesup,
cs_lnum_t nfbsup,
cs_lnum_t ncecpl,
cs_lnum_t nfbcpl,
cs_lnum_t ncencp,
cs_lnum_t nfbncp 
)

◆ npdcpl()

void npdcpl ( const int *  numcpl,
cs_lnum_t ncedis,
cs_lnum_t nfbdis 
)

◆ pondcp()

void pondcp ( const int *  numcpl,
const cs_lnum_t nbrpts,
int *  ityloc,
cs_real_t pndcpl,
cs_real_t distof 
)

◆ tbicpl()

void tbicpl ( const int *  numcpl,
const cs_lnum_t nbrdis,
const cs_lnum_t nbrloc,
cs_lnum_t vardis,
cs_lnum_t varloc 
)

◆ tbrcpl()

void tbrcpl ( const int *  numcpl,
const cs_lnum_t nbrdis,
const cs_lnum_t nbrloc,
cs_real_t vardis,
cs_real_t varloc 
)

◆ varcpl()

void varcpl ( const int *  numcpl,
const cs_lnum_t nbrdis,
const cs_lnum_t nbrloc,
const int *  ityvar,
const cs_lnum_t stride,
cs_real_t vardis,
cs_real_t varloc 
)