![]() |
programmer's documentation
|
#include "cs_defs.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <float.h>
#include <math.h>
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_cdo.h"
Functions | |
const char * | cs_base_strtf (bool boolean) |
Return a string "true" or "false" according to the boolean. More... | |
void | cs_set_eps_machine (void) |
Compute epsilon which is the machine precision. More... | |
double | cs_get_eps_machine (void) |
Get the machine precision. More... | |
double | cs_get_zero_threshold (void) |
Get the threshold under which one considers it's zero. More... | |
void | cs_nvec3 (const cs_real_3_t v, cs_nvec3_t *qv) |
Define a cs_nvec3_t structure from a cs_real_3_t. More... | |
Variables | |
const char | lsepline [] |
const char | msepline [] |
const char | ssepline [] |
static double | cs_base_eps_machine |
static double | cs_base_zthreshold = FLT_MIN |
const char* cs_base_strtf | ( | bool | boolean | ) |
Return a string "true" or "false" according to the boolean.
[in] | boolean | bool type |
double cs_get_eps_machine | ( | void | ) |
Get the machine precision.
double cs_get_zero_threshold | ( | void | ) |
Get the threshold under which one considers it's zero.
void cs_nvec3 | ( | const cs_real_3_t | v, |
cs_nvec3_t * | qv | ||
) |
Define a cs_nvec3_t structure from a cs_real_3_t.
[in] | v | vector of size 3 |
[out] | qv | pointer to a cs_nvec3_t structure |
void cs_set_eps_machine | ( | void | ) |
Compute epsilon which is the machine precision.
|
static |
|
static |
const char lsepline[] |
const char msepline[] |
const char ssepline[] |