PanPhaseField SDK
|
Utilities writting/loading VTK format files. More...
Classes | |
class | VTK_Stream |
A class writes/loads VTK files. More... | |
class | VtkArgs |
Argument class for VTK stream. More... | |
Functions | |
string | convert_time (double time_second) |
void | SwapEnd (float &var) |
string | my_int_to_string (int val) |
bool | hasEnding (std::string const &fullString, std::string const &ending) |
string | get_string_in_scientific_notation (double val, int prec=3) |
Utilities writting/loading VTK format files.
|
inline |
Convert time from seconds to user-friendly format
time_second | the time in seconds |
|
inline |
Serialize float number for binary writer
var | the float number |
|
inline |
Convert int to string. Compatible with Linux OS
[in] | val | the int number |
|
inline |
Determine if a string end with a pattern
[in] | fullString | the string to be checked |
[in] | ending | the pattern |
|
inline |
Convert numeric value to a string in scientific notation
[in] | val | the numeric value |
[in] | prec | the precision of scientific notation (default is 3) |