|
flippy
a c++20 package for dynamically triangulated membrane simulations.
|
This file contains helper functions that are used throughout flippy, but are not specific to any given class. More...
#include <iostream>#include <fstream>#include <utility>#include <filesystem>#include <type_traits>

Go to the source code of this file.
Namespaces | |
| namespace | fp |
Functions | |
| static void | fp::json_dump (std::string const &file_name, const Json &data) |
| Simple wrapper function around Json objects built in dump() method. | |
| static Json | fp::json_read (std::string file_name) |
| Simple wrapper function that reads the content of a text file into a json object. | |
| template<typename T > | |
| static bool | fp::is_member (std::vector< T > const &v, T const &el) |
| Convenient wrapper around std::find, which only works for std::vectors. | |
This file contains helper functions that are used throughout flippy, but are not specific to any given class.