Zachary,
Ideally I would like to create an AlignedVector with a begin and end and then
push_back only to those indices within those bounds. Is there a way to
accomplish this?
for (auto x=begin; x!=end; ++x)
my_vec.push_back (*x);
I assume the push_back function works similar to std::vector and starts the
index count at zero, I would like to assign an aligned vector to a particular
index like the std::vector insert function. I see there is apply_to_subrang()
in AlignedVectorSet() but I don’t see any tests or examples using them.
I'm not sure I understand what you are trying to do. But out of curiosity, why
do you intend to use this class? Why isn't std::vector providing what you are
looking for?
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/5b971138-9eda-ec71-4b43-442f690975e4%40colostate.edu.