![]() |
OpenPFC
0.1.4
Phase Field Crystal simulation framework
|
General utility functions. More...
#include <memory>#include <mpi.h>#include <sstream>#include <stdexcept>#include <string>#include <vector>

Go to the source code of this file.
Functions | |
| std::string | pfc::utils::string_format (const std::string &str) |
| template<typename... Args> | |
| std::string | pfc::utils::string_format (const std::string &format, Args... args) |
| std::string | pfc::utils::format_with_number (const std::string &filename, int increment) |
| template<typename T > | |
| size_t | pfc::utils::sizeof_vec (std::vector< T > &V) |
| int | pfc::mpi::get_comm_rank (MPI_Comm comm) |
| int | pfc::mpi::get_comm_size (MPI_Comm comm) |
General utility functions.
This header provides general utility functions used throughout OpenPFC, including string formatting, file operations, and helper functions.
Key utilities: