|
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Miscellaneous functions needed for a sparse grids simulation. More...
#include <cfloat>#include <limits>#include <math.h>#include <sparse_grids_simulation.h>#include <arrayfunctions.h>#include <mathfunctions.h>#include <io_cpp.h>#include <std_vec_ops.h>#include <Python.h>Go to the source code of this file.
Functions | |
| void | IncrementFilenameIndex (char *, int) |
Miscellaneous functions needed for a sparse grids simulation.
Definition in file SparseGridsMiscFuncs.cpp.
| void IncrementFilenameIndex | ( | char * | f, |
| int | len | ||
| ) |
Increment the output filename of the form op_nnnnn.dat by 1,
i.e., the number represented by the string nnnnn is incremented by 1.
Increment a character string representing an integer by 1. For example: "00002" -> "00003"; "3421934" -> "3421935"; "999" -> "000". The string can be of arbitrary length.
| f | Character string representing the integer |
| len | Length of the string |
Definition at line 46 of file IncrementFilename.c.