view YLCStuff.c @ 76:5e0c314528bf

Refactor data writing to disk. Implement dayly chunking to separate files
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 30 Nov 2012 17:42:02 +0100
parents d9aae7d7f2c6
children
line wrap: on
line source

//==============================================================================
//
// Title:       YLCStuff.c
// Purpose:     Various stuff used by femtosoftYLC, like math parser callbacks
//				and personnal types
//
// Created on:  19/08/2008 at 10:06:43 by Yann Le Coq.
// Copyright:   syrte. All Rights Reserved.
//
//==============================================================================

//==============================================================================
// Include files

//#include "YLCStuff.h"

//==============================================================================
// Constants

//==============================================================================
// Types

//==============================================================================
// Static global variables

//==============================================================================
// Static functions

//==============================================================================
// Global variables

//==============================================================================
// Global functions

/// HIFN  What does your function do?
/// HIPAR x/What inputs does your function expect?
/// HIRET What does your function return?
double Peta (double x) {
	return 1.0e15*x ;
};

double Tera (double x) {
	return 1.0e12*x ;	
};

double Giga (double x) {
	return 1.0e9*x ;	
};

double Mega (double x) {
	return 1.0e6*x ;	
};

double kilo (double x) {
	return 1.0e3*x ;
};

double milli(double x) {
	return 1.0e-3*x ;
};
	
double micro(double x){
	return 1.0e-6*x ;
};

double nano (double x){
	return 1.0e-9*x ;
};

double pico (double x){
	return 1.e-12*x ;
};

double femto(double x){
	return 1.0e-15*x ;
};