Gems3k  3.1
GEMS3K standalone solver for geochemical equilibria
 All Classes Files Functions Variables Enumerations Enumerator
Defines | Typedefs | Functions | Variables
/Users/kulik/DevGEMS/trunk/standalone/GEMS3K/v_user.h File Reference

Declaration of platform-specific utility functions and classes. More...

#include <algorithm>
#include <iostream>
#include "string.h"
#include "verror.h"

Go to the source code of this file.

Defines

#define fileNameLength   64

Typedefs

typedef unsigned int uint

Functions

void Gcvt (double number, size_t ndigit, char *buf)
double NormDoubleRound (double aVal, int digits)
void NormDoubleRound (double *aArr, int size, int digits)
void NormFloatRound (float *aArr, int size, int digits)
int ROUND (double x)
template<class T >
void fillValue (T *arr, T value, int size)
template<class T >
void copyValues (T *arr, T *data, int size)
void copyValues (double *arr, float *data, int size)
void copyValues (float *arr, double *data, int size)
void copyValues (long int *arr, short *data, int size)
gstring u_makepath (const gstring &dir, const gstring &name, const gstring &ext)
 Combines path, directory, name and extension to full pathname.
void u_splitpath (const gstring &Path, gstring &dir, gstring &name, gstring &ext)
 Splits full pathname to path, directory, name and extension.
char(* f_getfiles (const char *f_name, char *Path, long int &nElem, char delim))[fileNameLength]
 Get Path of file and Reading list of file names from it, return number of files.

Variables

const int MAXKEYWD = 6+1

Detailed Description

Declaration of platform-specific utility functions and classes.