![]() |
Code_Saturne
CFD tool
|
#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <bft_error.h>
#include <bft_mem.h>
#include <bft_printf.h>
#include "fvm_defs.h"
#include "fvm_nodal.h"
#include "fvm_nodal_priv.h"
#include "fvm_triangulate.h"
#include "fvm_point_location.h"
Data Structures | |
struct | _octant_t |
struct | _octree_t |
struct | _quadrant_t |
struct | _quadtree_t |
Macros | |
#define | HUGE_VAL 1.0e+30 |
#define | _DOT_PRODUCT(vect1, vect2) (vect1[X] * vect2[X] + vect1[Y] * vect2[Y] + vect1[Z] * vect2[Z]) |
#define | _MODULE(vect) sqrt(vect[X] * vect[X] + vect[Y] * vect[Y] + vect[Z] * vect[Z]) |
#define | _CROSS_PRODUCT(prod_vect, vect1, vect2) |
#define | _DOT_PRODUCT_2D(vect1, vect2) (vect1[X] * vect2[X] + vect1[Y] * vect2[Y]) |
Enumerations | |
enum | { X, Y, Z } |
Functions | |
void | fvm_point_location_nodal (const fvm_nodal_t *this_nodal, double tolerance, int locate_on_parents, cs_lnum_t n_points, const cs_coord_t point_coords[], cs_lnum_t location[], float distance[]) |
void | fvm_point_location_closest_nodal (const fvm_nodal_t *this_nodal, int locate_on_parents, cs_lnum_t n_points, const cs_coord_t point_coords[], cs_lnum_t location[], float distance[]) |
#define _CROSS_PRODUCT | ( | prod_vect, | |
vect1, | |||
vect2 | |||
) |
#define _DOT_PRODUCT | ( | vect1, | |
vect2 | |||
) | (vect1[X] * vect2[X] + vect1[Y] * vect2[Y] + vect1[Z] * vect2[Z]) |
#define HUGE_VAL 1.0e+30 |
void fvm_point_location_closest_nodal | ( | const fvm_nodal_t * | this_nodal, |
int | locate_on_parents, | ||
cs_lnum_t | n_points, | ||
const cs_coord_t | point_coords[], | ||
cs_lnum_t | location[], | ||
float | distance[] | ||
) |
void fvm_point_location_nodal | ( | const fvm_nodal_t * | this_nodal, |
double | tolerance, | ||
int | locate_on_parents, | ||
cs_lnum_t | n_points, | ||
const cs_coord_t | point_coords[], | ||
cs_lnum_t | location[], | ||
float | distance[] | ||
) |