HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Some common functions used here and there. More...
Go to the source code of this file.
Functions | |
void | GetStringFromInteger (int, char *, int) |
Some common functions used here and there.
Definition in file common.h.
void GetStringFromInteger | ( | int | a, |
char * | A, | ||
int | width | ||
) |
Get a string corresponding to an integer, i.e. 41 gives "00041" if width is 5, or "41" if width is 2, or "1" if width is 1.
a | the integer to convert to a string |
A | the string |
width | desired width of the string |
Definition at line 15 of file CommonFunctions.c.