My Project
programmer's documentation
Functions
cs_syr_coupling.c File Reference
#include "cs_defs.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <mpi.h>
#include <ple_coupling.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_coupling.h"
#include "cs_log.h"
#include "cs_parall.h"
#include "cs_prototypes.h"
#include "cs_thermal_model.h"
#include "cs_syr4_coupling.h"
#include "cs_syr_coupling.h"
Include dependency graph for cs_syr_coupling.c:

Functions

void CS_PROCF (nbcsyr, NBCSYR)
 
void CS_PROCF (tsursy, TSURSY)
 
void CS_PROCF (tvolsy, TVOLSY)
 
void CS_PROCF (nbesyr, NBESYR) const
 
void CS_PROCF (leltsy, LELTSY) const
 
void CS_PROCF (varsyi, VARSYI)
 
void CS_PROCF (varsyo, VARSYO)
 
void CS_PROCF (ctbvsy, CTBVSY)
 
void cs_syr_coupling_define (const char *syrthes_name, const char *boundary_criteria, const char *volume_criteria, char projection_axis, bool allow_nonmatching, float tolerance, int verbosity, int visualization)
 Define new SYRTHES coupling. More...
 
void cs_syr_coupling_all_init (void)
 
void cs_syr_coupling_all_finalize (void)
 
int cs_syr_coupling_n_couplings (void)
 
void cs_syr_coupling_set_conservativity (int flag)
 
void cs_syr_coupling_set_explicit_treatment (void)
 
void cs_syr_coupling_log_setup (void)
 Log SYRTHES coupling setup information. More...
 
void cs_syr_coupling_init_meshes (void)
 Create coupled meshes and setup PLE locator for Syrthes couplings. More...
 

Function Documentation

◆ CS_PROCF() [1/8]

void CS_PROCF ( ctbvsy  ,
CTBVSY   
)

◆ CS_PROCF() [2/8]

void CS_PROCF ( leltsy  ,
LELTSY   
) const

◆ CS_PROCF() [3/8]

void CS_PROCF ( nbcsyr  ,
NBCSYR   
)

◆ CS_PROCF() [4/8]

void CS_PROCF ( nbesyr  ,
NBESYR   
) const

◆ CS_PROCF() [5/8]

void CS_PROCF ( tsursy  ,
TSURSY   
)

◆ CS_PROCF() [6/8]

void CS_PROCF ( tvolsy  ,
TVOLSY   
)

◆ CS_PROCF() [7/8]

void CS_PROCF ( varsyi  ,
VARSYI   
)

◆ CS_PROCF() [8/8]

void CS_PROCF ( varsyo  ,
VARSYO   
)

◆ cs_syr_coupling_all_finalize()

void cs_syr_coupling_all_finalize ( void  )

◆ cs_syr_coupling_all_init()

void cs_syr_coupling_all_init ( void  )

◆ cs_syr_coupling_define()

void cs_syr_coupling_define ( const char *  syrthes_name,
const char *  boundary_criteria,
const char *  volume_criteria,
char  projection_axis,
bool  allow_nonmatching,
float  tolerance,
int  verbosity,
int  visualization 
)

Define new SYRTHES coupling.

The arguments to cs_syr_coupling_define are:

Parameters
[in]syrthes_namematching SYRTHES application name
[in]boundary_criteriasurface selection criteria, or NULL
[in]volume_criteriavolume selection criteria, or NULL
[in]projection_axisx', 'y', or 'y' for 2D projection axis (case independent), or ' ' for standard 3D coupling
[in]allow_nonmatchingallow nearest-neighbor mapping where matching within tolerance is not available (useful when meshes have a different level of detail)
[in]toleranceaddition to local extents of each element extent = base_extent * (1 + tolerance)
[in]verbosityverbosity level
[in]visualizationvisualization output level (0 or 1)

In the case of a single Code_Saturne and single SYRTHES instance, the 'syrthes_name' argument is ignored, as there is only one matching possibility.

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

◆ cs_syr_coupling_init_meshes()

void cs_syr_coupling_init_meshes ( void  )

Create coupled meshes and setup PLE locator for Syrthes couplings.

◆ cs_syr_coupling_log_setup()

void cs_syr_coupling_log_setup ( void  )

Log SYRTHES coupling setup information.

◆ cs_syr_coupling_n_couplings()

int cs_syr_coupling_n_couplings ( void  )

◆ cs_syr_coupling_set_conservativity()

void cs_syr_coupling_set_conservativity ( int  flag)

◆ cs_syr_coupling_set_explicit_treatment()

void cs_syr_coupling_set_explicit_treatment ( void  )