28 std::string_view key,
bool is_boundary_point,
29 std::map<std::string_view, std::vector<int>> all_boundary_points, std::vector<int> nodal_values,
32 if (key ==
"OneDimLinearElement")
34 return std::make_unique<OneDimLinearElement<T>>(is_boundary_point, all_boundary_points,
35 nodal_values, sim, num_cell, props);
std::unique_ptr< GenericElement< T > > createCell(std::string_view key, bool is_boundary_point, std::map< std::string_view, std::vector< int > > all_boundary_points, std::vector< int > nodal_values, SimulationClassBase< T > *sim, int num_cell, ElementProperties< T > props)
Registry function for the cell types.
Definition CellRegistry.h:27