GridFormat 0.2.1
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
GridFormat::Concepts::GridFactory Concept Reference

Concept for grid factories, to allow for convenient creation of grids from grid files.

#include <reader.hpp>

Concept definition

template<typename T, std::size_t space_dim 3>
concept GridFormat::Concepts::GridFactory = requires(T& t) {
typename T::ctype;
{ t.insert_point(std::declval<const std::array<typename T::ctype, space_dim>&>()) };
{ t.insert_cell(GridFormat::CellType{}, std::declval<const std::vector<std::size_t>&>()) };
}
Concept for grid factories, to allow for convenient creation of grids from grid files.
Definition: reader.hpp:35