34 MeshItemType item_type, std::size_t number_of_components,
35 std::vector<T>
const& values)
42 "Error number of nodes ({:d}) does not match the number of "
52 "Error number of elements ({:d}) does not match the number of "
55 values.size() / number_of_components);
60 name, item_type, number_of_components);
63 OGS_FATAL(
"Error while creating PropertyVector '{:s}'.", name);
65 property->reserve(values.size());
66 std::copy(values.cbegin(), values.cend(), std::back_inserter(*property));