PRISMS-PF Manual
Loading...
Searching...
No Matches
read_field_factory.h File Reference
Include dependency graph for read_field_factory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  Type { ReadUnstructuredVTK , ReadBinary }
 Factory function to create appropriate reader based on input file type not a member of ReadFieldBase to avoid redundant template instantiations. More...
 

Functions

template<unsigned int dim, typename number >
std::shared_ptr< ReadFieldBase< dim, number > > create_reader (const InitialConditionFile &ic_file, const SpatialDiscretization< dim > &spatial_discretization)
 

Enumeration Type Documentation

◆ Type

enum class Type
strong

Factory function to create appropriate reader based on input file type not a member of ReadFieldBase to avoid redundant template instantiations.

Enumerator
ReadUnstructuredVTK 
ReadBinary 

Function Documentation

◆ create_reader()

template<unsigned int dim, typename number >
std::shared_ptr< ReadFieldBase< dim, number > > create_reader ( const InitialConditionFile ic_file,
const SpatialDiscretization< dim > &  spatial_discretization 
)