4#ifndef DUNE_PDELAB_COMMON_INSTATIONARYFILENAMEHELPER_HH
5#define DUNE_PDELAB_COMMON_INSTATIONARYFILENAMEHELPER_HH
19 FilenameHelper(
const char *basename_,
int i_=0)
22 snprintf(basename,255,
"%s",basename_);
25 FilenameHelper(
const std::string & basename_,
int i_=0)
28 snprintf(basename,255,
"%s",basename_.c_str());
31 const char *getName (
int i_)
33 snprintf(fname,255,
"%s-%05d",basename,i_);
37 const char *getName ()
39 snprintf(fname,255,
"%s-%05d",basename,i);
Dune namespace.
Definition: alignedallocator.hh:13