![]() |
My Project
programmer's documentation
|
#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"
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_t * | cs_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) |
void CS_PROCF | ( | coocpl | , |
COOCPL | |||
) | const |
void CS_PROCF | ( | defloc | , |
DEFLOC | |||
) | const |
void CS_PROCF | ( | lelcpl | , |
LELCPL | |||
) | const |
void CS_PROCF | ( | lencpl | , |
LENCPL | |||
) | const |
void CS_PROCF | ( | mxicpl | , |
MXICPL | |||
) | const |
void CS_PROCF | ( | nbccpl | , |
NBCCPL | |||
) |
void CS_PROCF | ( | nbecpl | , |
NBECPL | |||
) | const |
void CS_PROCF | ( | npdcpl | , |
NPDCPL | |||
) | const |
void CS_PROCF | ( | pondcp | , |
PONDCP | |||
) | const |
void CS_PROCF | ( | tbicpl | , |
TBICPL | |||
) | const |
void CS_PROCF | ( | tbrcpl | , |
TBRCPL | |||
) | const |
void CS_PROCF | ( | varcpl | , |
VARCPL | |||
) | const |
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 | ) |
void cs_sat_coupling_all_init | ( | void | ) |
cs_sat_coupling_t* cs_sat_coupling_by_id | ( | int | coupling_id | ) |
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:
[in] | saturne_name | matching Code_Saturne application name |
[in] | boundary_cpl_criteria | boundary face selection criteria for coupled faces, or NULL |
[in] | volume_cpl_criteria | cell selection criteria for coupled cells, or NULL |
[in] | boundary_loc_criteria | boundary face selection criteria for location (not functional) |
[in] | volume_loc_criteria | cell selection criteria for location |
[in] | verbosity | verbosity 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.
int cs_sat_coupling_n_couplings | ( | void | ) |