#include "cs_defs.h"#include <assert.h>#include <errno.h>#include <stdio.h>#include <stdarg.h>#include <string.h>#include <math.h>#include <float.h>#include <mpi.h>#include "bft_error.h"#include "bft_mem.h"#include "bft_printf.h"#include "cs_halo.h"#include "cs_halo_perio.h"#include "cs_math.h"#include "cs_mesh.h"#include "cs_mesh_adjacencies.h"#include "cs_mesh_quantities.h"#include "cs_parall.h"#include "cs_sort.h"#include "fvm_defs.h"#include "cs_ext_neighborhood.h"Functions | |
| cs_ext_neighborhood_type_t | cs_ext_neighborhood_get_type (void) |
| Get the extended neighborhood type. | |
| void | cs_ext_neighborhood_set_type (cs_ext_neighborhood_type_t enh_type) |
| Set the extended neighborhood type. | |
| bool | cs_ext_neighborhood_get_boundary_complete (void) |
| Query whether full extended neighborhood should be kept at boundaries. | |
| void | cs_ext_neighborhood_set_boundary_complete (bool keep) |
| Set the extended neighborhood type. | |
| cs_real_t | cs_ext_neighborhood_get_non_ortho_max (void) |
| Get the non_orthogonality threshold (in degrees) associated with the CS_EXT_NEIGHBORHOOD_NON_ORTHO_MAX neighborhood type. | |
| void | cs_ext_neighborhood_set_non_ortho_max (cs_real_t non_ortho_max) |
| Set the non_orthogonality threshold (in degrees) associated with the CS_EXT_NEIGHBORHOOD_NON_ORTHO_MAX neighborhood type. | |
| void | cs_ext_neighborhood_reduce (cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities) |
| Reduce the "cell -> cells" connectivity for the extended neighborhood using a non-orthogonality criterion. | |
| void | cs_ext_neighborhood_define (cs_mesh_t *mesh) |
| Create the "cell -> cells" connectivity. | |
Extended cell neighborhood.
| void cs_ext_neighborhood_define | ( | cs_mesh_t * | mesh | ) |
Create the "cell -> cells" connectivity.
| [in,out] | mesh | pointer to a mesh structure |
| bool cs_ext_neighborhood_get_boundary_complete | ( | void | ) |
Query whether full extended neighborhood should be kept at boundaries.
| cs_real_t cs_ext_neighborhood_get_non_ortho_max | ( | void | ) |
Get the non_orthogonality threshold (in degrees) associated with the CS_EXT_NEIGHBORHOOD_NON_ORTHO_MAX neighborhood type.
| cs_ext_neighborhood_type_t cs_ext_neighborhood_get_type | ( | void | ) |
Get the extended neighborhood type.
| void cs_ext_neighborhood_reduce | ( | cs_mesh_t * | mesh, |
| cs_mesh_quantities_t * | mesh_quantities ) |
Reduce the "cell -> cells" connectivity for the extended neighborhood using a non-orthogonality criterion.
Note: Only cells sharing only a vertex or vertices (not a face) belong to the "cell -> cells" connectivity.
| [in] | mesh | pointer to mesh structure |
| [in] | mesh_quantities | associated mesh quantities |
| void cs_ext_neighborhood_set_boundary_complete | ( | bool | keep | ) |
Set the extended neighborhood type.
| [in] | keep | true if full extended neighborhood should be maintained at boundary |
| void cs_ext_neighborhood_set_non_ortho_max | ( | cs_real_t | non_ortho_max | ) |
Set the non_orthogonality threshold (in degrees) associated with the CS_EXT_NEIGHBORHOOD_NON_ORTHO_MAX neighborhood type.
| [in] | non_ortho_max | non-orthogonality threshold |
| void cs_ext_neighborhood_set_type | ( | cs_ext_neighborhood_type_t | enh_type | ) |
Set the extended neighborhood type.
| [in] | enh_type | extended neighborhood type |