![]() |
My Project
programmer's documentation
|
#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"
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... | |
void CS_PROCF | ( | ctbvsy | , |
CTBVSY | |||
) |
void CS_PROCF | ( | leltsy | , |
LELTSY | |||
) | const |
void CS_PROCF | ( | nbcsyr | , |
NBCSYR | |||
) |
void CS_PROCF | ( | nbesyr | , |
NBESYR | |||
) | const |
void CS_PROCF | ( | tsursy | , |
TSURSY | |||
) |
void CS_PROCF | ( | tvolsy | , |
TVOLSY | |||
) |
void CS_PROCF | ( | varsyi | , |
VARSYI | |||
) |
void CS_PROCF | ( | varsyo | , |
VARSYO | |||
) |
void cs_syr_coupling_all_finalize | ( | void | ) |
void cs_syr_coupling_all_init | ( | void | ) |
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:
[in] | syrthes_name | matching SYRTHES application name |
[in] | boundary_criteria | surface selection criteria, or NULL |
[in] | volume_criteria | volume selection criteria, or NULL |
[in] | projection_axis | x', 'y', or 'y' for 2D projection axis (case independent), or ' ' for standard 3D coupling |
[in] | allow_nonmatching | allow nearest-neighbor mapping where matching within tolerance is not available (useful when meshes have a different level of detail) |
[in] | tolerance | addition to local extents of each element extent = base_extent * (1 + tolerance) |
[in] | verbosity | verbosity level |
[in] | visualization | visualization 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.
void cs_syr_coupling_init_meshes | ( | void | ) |
Create coupled meshes and setup PLE locator for Syrthes couplings.
void cs_syr_coupling_log_setup | ( | void | ) |
Log SYRTHES coupling setup information.
int cs_syr_coupling_n_couplings | ( | void | ) |
void cs_syr_coupling_set_conservativity | ( | int | flag | ) |
void cs_syr_coupling_set_explicit_treatment | ( | void | ) |