Hi, I am trying to implement a 3-D Surface Registration code using PetSc. I want to create a vector of structures i.e. struct Point { double x, y, z; }; Then create a PetSc vector that stores array of "Points types". Can someone point me to the right direction. regards --dinesh