25 auto get_all = [&](
auto&& m) {
26 const std::string name =
27 fmt::format(
"{}_{}", options.
name, fmt::join(m.absolute_multi_mesh_id(),
""));
28 logger().info(
"Exporting {}", name);
void write_mesh(const Mesh &m, const std::string &name, const std::map< std::string, std::vector< int64_t >> &multimesh_names={})
Write a mesh to cache.
std::shared_ptr< Mesh > read_mesh(const std::string &name) const
Load a mesh from cache.
void execute_from_root(Mesh &mesh)
void get_all_meshes(const utils::Paths &paths, const nlohmann::json &j, io::Cache &cache)
spdlog::logger & logger()
Retrieves the current logger.