Flow123d
JS_before_hm-2198-g122e1f2e2
|
Go to the documentation of this file.
18 #ifndef READER_CACHE_HH_
19 #define READER_CACHE_HH_
43 std::shared_ptr<BaseMeshReader>
reader_;
72 Mesh *computational_mesh);
static ReaderCache * instance()
Returns singleton instance.
static void get_element_ids(const FilePath &file_path, const Mesh &mesh)
ReaderCache()
Constructor.
Dedicated class for storing path to input and output files.
std::shared_ptr< 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 std::shared_ptr< EquivalentMeshMap > get_target_mesh_element_map(const FilePath &file_path, Mesh *computational_mesh)
std::shared_ptr< EquivalentMeshMap > target_mesh_element_map_
static std::shared_ptr< Mesh > get_mesh(const FilePath &file_path)
static std::shared_ptr< BaseMeshReader > get_reader(const FilePath &file_path)
ReaderTable reader_table_
Table of readers.
std::shared_ptr< BaseMeshReader > reader_
std::map< string, ReaderData > ReaderTable