programmer's documentation
Functions | Variables
cs_cdo.c File Reference
#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"
Include dependency graph for cs_cdo.c:

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
 

Function Documentation

const char* cs_base_strtf ( bool  boolean)

Return a string "true" or "false" according to the boolean.

Parameters
[in]booleanbool type
Returns
a string "true" or "false"
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.

Parameters
[in]vvector of size 3
[out]qvpointer to a cs_nvec3_t structure
void cs_set_eps_machine ( void  )

Compute epsilon which is the machine precision.

Variable Documentation

double cs_base_eps_machine
static
double cs_base_zthreshold = FLT_MIN
static
const char lsepline[]
Initial value:
=
" ========================================================================\n"
const char msepline[]
Initial value:
=
" ==========================================\n"
const char ssepline[]
Initial value:
=
" ==================\n"