35 MeshItemType item_type, std::size_t number_of_components,
36 std::vector<T>
const& values)
43 "Error number of nodes ({:d}) does not match the number of "
53 "Error number of elements ({:d}) does not match the number of "
56 values.size() / number_of_components);
61 name, item_type, number_of_components);
64 OGS_FATAL(
"Error while creating PropertyVector '{:s}'.", name);
66 property->reserve(values.size());
67 std::copy(values.cbegin(), values.cend(), std::back_inserter(*property));