18 #ifndef READER_CACHE_HH_
19 #define READER_CACHE_HH_
72 Mesh *computational_mesh);
75 Mesh *computational_mesh);
Dedicated class for storing path to input and output files.
static std::shared_ptr< EquivalentMeshMap > identic_mesh_map(const FilePath &file_path, Mesh *computational_mesh)
ReaderCache()
Constructor.
std::map< string, ReaderData > ReaderTable
ReaderTable reader_table_
Table of readers.
static std::shared_ptr< EquivalentMeshMap > eqivalent_mesh_map(const FilePath &file_path, Mesh *computational_mesh)
static void get_element_ids(const FilePath &file_path, const Mesh &mesh)
static ReaderTable::iterator get_reader_data(const FilePath &file_path)
Returns instance of given FilePath. If reader doesn't exist, creates new ReaderData object.
static ReaderCache * instance()
Returns singleton instance.
static std::shared_ptr< Mesh > get_mesh(const FilePath &file_path)
static std::shared_ptr< BaseMeshReader > get_reader(const FilePath &file_path)
std::shared_ptr< EquivalentMeshMap > target_mesh_element_map_
std::shared_ptr< BaseMeshReader > reader_
std::shared_ptr< Mesh > mesh_