My Project
programmer's documentation
Functions
cs_sat_coupling.c File Reference
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ple_coupling.h>
#include <ple_locator.h>
#include "bft_mem.h"
#include "bft_printf.h"
#include "fvm_nodal.h"
#include "fvm_writer.h"
#include "cs_base.h"
#include "cs_coupling.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_mesh_connect.h"
#include "cs_prototypes.h"
#include "cs_selector.h"
#include "cs_sat_coupling.h"
Include dependency graph for cs_sat_coupling.c:

Functions

void CS_PROCF (nbccpl, NBCCPL)
 
void CS_PROCF (defloc, DEFLOC) const
 
void CS_PROCF (nbecpl, NBECPL) const
 
void CS_PROCF (lelcpl, LELCPL) const
 
void CS_PROCF (lencpl, LENCPL) const
 
void CS_PROCF (npdcpl, NPDCPL) const
 
void CS_PROCF (coocpl, COOCPL) const
 
void CS_PROCF (pondcp, PONDCP) const
 
void CS_PROCF (varcpl, VARCPL) const
 
void CS_PROCF (tbicpl, TBICPL) const
 
void CS_PROCF (tbrcpl, TBRCPL) const
 
void CS_PROCF (mxicpl, MXICPL) const
 
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_all_init (void)
 
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_finalize (void)
 

Function Documentation

◆ CS_PROCF() [1/12]

void CS_PROCF ( coocpl  ,
COOCPL   
) const

◆ CS_PROCF() [2/12]

void CS_PROCF ( defloc  ,
DEFLOC   
) const

◆ CS_PROCF() [3/12]

void CS_PROCF ( lelcpl  ,
LELCPL   
) const

◆ CS_PROCF() [4/12]

void CS_PROCF ( lencpl  ,
LENCPL   
) const

◆ CS_PROCF() [5/12]

void CS_PROCF ( mxicpl  ,
MXICPL   
) const

◆ CS_PROCF() [6/12]

void CS_PROCF ( nbccpl  ,
NBCCPL   
)

◆ CS_PROCF() [7/12]

void CS_PROCF ( nbecpl  ,
NBECPL   
) const

◆ CS_PROCF() [8/12]

void CS_PROCF ( npdcpl  ,
NPDCPL   
) const

◆ CS_PROCF() [9/12]

void CS_PROCF ( pondcp  ,
PONDCP   
) const

◆ CS_PROCF() [10/12]

void CS_PROCF ( tbicpl  ,
TBICPL   
) const

◆ CS_PROCF() [11/12]

void CS_PROCF ( tbrcpl  ,
TBRCPL   
) const

◆ CS_PROCF() [12/12]

void CS_PROCF ( varcpl  ,
VARCPL   
) const

◆ 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  )